﻿/* Force midnight-blue presentation background on administrative route structures */
html:has(.admin-container),
body:has(.admin-container) {
    background-color: #0f172a !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f2537 100%) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-y: auto !important;
    color: #f8fafc !important;
}

/* Enforce dark-mode text input rendering fields inside controls rows */
.admin-container .auth-input {
    background: rgba(15, 23, 42, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

    .admin-container .auth-input::placeholder {
        color: #64748b;
    }

/* Core Layout Container for Admin Views */
.admin-container {
    max-width: 1350px;
    margin: 90px auto 40px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #f8fafc;
}

/* Operational KPI Summary Metrics Ribbon */
.metrics-ribbon {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-tile {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.metric-tile-label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.metric-tile-value {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 5px;
}

/* Functional Dashboard Table Card */
.admin-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

/* Action Control Row (Filters, Search) */
.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

/* Dashboard Action Buttons Layout Patterns */
.btn-action-pill {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.btn-action-view {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.3);
}

    .btn-action-view:hover {
        background: rgba(56, 189, 248, 0.25);
        color: #7dd3fc;
    }

.btn-action-music {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

    .btn-action-music:hover {
        background: rgba(16, 185, 129, 0.25);
        color: #34d399;
    }

/* Tab Navigation Ribbon Layout Elements */
.dashboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 2px;
}

.tab-btn {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

    .tab-btn:hover {
        color: #ffffff;
    }

    .tab-btn.active {
        color: #38bdf8;
        border-bottom-color: #38bdf8;
    }

/* Inline Expanded Roster Drawer Panels */
.roster-drawer-row {
    background: rgba(15, 23, 42, 0.4) !important;
}

.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    padding: 15px 20px;
    text-align: left;
}

.roster-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 10px;
    font-size: 13px;
}

