/* =========================================================
   Conference Admin - Base Styles
   ========================================================= */

:root {
    --sidebar-width: 240px;
    --topbar-height: 56px;
    --sidebar-bg:    #1f2937;
    --sidebar-fg:    #cbd5e1;
    --sidebar-active-bg: #111827;
    --sidebar-active-fg: #fff;
}

body {
    background: #f5f7fb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* -------- Layout shell -------- */
.topbar {
    height: var(--topbar-height);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.app-shell {
    display: flex;
    min-height: calc(100vh - var(--topbar-height) - 40px);
}

.app-sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    min-height: calc(100vh - var(--topbar-height));
    position: sticky;
    top: var(--topbar-height);
    align-self: flex-start;
    padding-top: 1rem;
}

.app-sidebar .nav-link {
    color: var(--sidebar-fg);
    padding: 0.65rem 1.25rem;
    border-radius: 0;
    font-size: 0.925rem;
}
.app-sidebar .nav-link:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}
.app-sidebar .nav-link.active {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-active-fg);
    border-left: 3px solid #3b82f6;
    padding-left: calc(1.25rem - 3px);
}

.app-main {
    flex: 1;
    min-width: 0;
}

.app-footer {
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

/* -------- Stat card -------- */
.stat-card .stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* -------- Tables -------- */
.table thead th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7280;
    font-weight: 600;
}

/* -------- Login page -------- */
.login-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.login-wrapper { width: 100%; max-width: 400px; }
.login-card {
    background: #fff;
    padding: 2.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.login-brand { text-align: center; margin-bottom: 1.5rem; }
