/* MONITOR SHELL */
.monitor-layout {
    position: absolute;
    inset: 0;
    display: flex;
    background: var(--bg-app);
}

/* LEFT: LOCATION LIST */
.store-list-panel {
    width: 320px;
    min-width: 320px;
    height: 100%;
    border-right: 1px solid var(--border);
    background: var(--white);
    display: flex;
    flex-direction: column;
    z-index: 18;
}

.store-list-scroll {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 12px;
}

.store-item {
    padding: 14px 16px;
    border-left: 3px solid transparent;
    border-bottom: 1px solid var(--slate-100);
    cursor: pointer;
    transition: all 0.12s ease;
}

.store-item:hover {
    background: var(--slate-50);
}

.store-item.selected {
    border-left-color: var(--primary);
    background: var(--primary-light);
}

/* CENTER + RIGHT */
.detail-panel {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.location-overview {
    flex: 1;
    min-width: 420px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: var(--slate-50);
}

.overview-content {
    padding: 22px;
}

.channel-inspector {
    width: 470px;
    min-width: 470px;
    height: 100%;
    background: var(--white);
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 22px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    z-index: 22;
}

.inspector-header {
    height: 72px;
    border-bottom: 1px solid var(--border);
    padding: 0 18px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.inspector-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    background: var(--slate-50);
}

/* SHARED CARDS */
.panel-card {
    margin-bottom: 12px;
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.panel-card h3 {
    margin: 0 0 12px;
    color: var(--slate-500);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.channel-card {
    margin-bottom: 10px;
    padding: 14px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.12s ease;
}

.channel-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 10px -6px rgba(12, 167, 243, 0.45);
    transform: translateY(-1px);
}

.channel-card.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.status-badge {
    height: 22px;
    border-radius: 999px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.status-badge.online {
    background: #ecfdf5;
    color: #047857;
}

.status-badge.offline {
    background: #fff5f5;
    color: #b91c1c;
}

/* SNOOZE EMBED SECTIONS */
.snooze-compact-header {
    height: 56px;
    padding: 0 16px;
}

.snooze-menu-toolbar .snooze-filter-input {
    margin-top: 8px;
}

.snooze-section-card {
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-sm) !important;
}

.snooze-section-head {
    background: var(--slate-50);
}

.snooze-row td {
    vertical-align: middle;
}

.snooze-thumb-wrap {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.snooze-thumb {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 8px;
    object-fit: cover;
    background: var(--slate-50);
}

.snooze-thumb-placeholder {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--slate-50);
    color: var(--slate-400);
    display: flex;
    align-items: center;
    justify-content: center;
}

.snooze-item-name {
    line-height: 1.35;
}

.snooze-action-btn {
    width: 96px;
    justify-content: center;
}

/* RESPONSIVE */
@media (max-width: 1280px) {
    .store-list-panel {
        width: 300px;
        min-width: 300px;
    }

    .channel-inspector {
        width: 430px;
        min-width: 430px;
    }
}

@media (max-width: 1060px) {
    .detail-panel {
        flex-direction: column;
    }

    .location-overview {
        min-width: 0;
        height: 52%;
    }

    .channel-inspector {
        width: 100%;
        min-width: 0;
        height: 48%;
        border-left: 0;
        border-top: 1px solid var(--border);
        box-shadow: 0 -6px 18px rgba(15, 23, 42, 0.08);
    }
}
