/* ==========================================================================
   ZEO FOCUS - Master Control Admin Styles
   ========================================================================== */

.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #080c14;
}

.admin-sidebar {
    width: 250px;
    background: #0d121f;
    border-right: 1px solid #1a2234;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 50;
}

.admin-brand {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #f8fafc;
    border-bottom: 1px solid #1a2234;
}
.admin-badge-pill {
    background: #312e81;
    color: #a5b4fc;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.admin-nav {
    flex: 1;
    padding: 1rem 0.75rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    overflow-y: auto;
}
.admin-nav-item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}
.admin-nav-item a:hover {
    background: #162036;
    color: #f8fafc;
}
.admin-nav-item.active a {
    background: #1e1b4b;
    color: #818cf8;
    font-weight: 600;
}

.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-topbar {
    height: 64px;
    background: #0d121f;
    border-bottom: 1px solid #1a2234;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 40;
}

.admin-content {
    flex: 1;
    padding: 2rem;
    max-width: 1350px;
    width: 100%;
    margin: 0 auto;
}

/* Stat Cards */
.stat-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 0.4rem;
}
.stat-value {
    font-size: 1.85rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.02em;
}
.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Search bar */
.admin-search-box {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Timeline Feed */
.timeline-feed {
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
}
.timeline-feed::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #1e293b;
}
.timeline-entry {
    position: relative;
    margin-bottom: 1.5rem;
}
.timeline-dot {
    position: absolute;
    left: -1.5rem;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #6366f1;
    border: 2px solid #0f172a;
}
.timeline-time {
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.2rem;
}
.timeline-body {
    background: #162036;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
}

/* Diagnostic Checklist */
.diagnostic-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

@media (max-width: 900px) {
    .admin-sidebar { width: 70px; }
    .admin-brand span, .admin-nav-item span { display: none; }
    .admin-content { padding: 1.25rem 1rem; }
}
