/**
 * FREE FIRE ESPORTS - Admin Panel Styling
 * Matches Dark Cyberpunk / Esports Theme
 */

.admin-body {
    background-color: #030611;
    color: #e2e8f0;
    min-height: 100vh;
}

/* Admin Navbar */
.admin-navbar {
    background: rgba(8, 13, 27, 0.95);
    border-bottom: 1px solid rgba(255, 85, 0, 0.3);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.admin-nav-link {
    font-family: var(--font-chakra);
    font-weight: 600;
    font-size: 14.5px;
    color: #94a3b8 !important;
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.admin-nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

.admin-nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 85, 0, 0.18);
    border: 1px solid rgba(255, 85, 0, 0.4);
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.25);
}

/* Year Badge / Selector */
.year-badge-selector {
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #60a5fa;
    border-radius: 30px;
    padding: 4px 14px;
    font-family: var(--font-chakra);
    font-size: 13px;
    font-weight: 700;
}

/* Metric / KPI Cards */
.metric-card {
    background: rgba(14, 20, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 24px;
    backdrop-filter: blur(16px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card:hover {
    border-color: rgba(255, 85, 0, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 85, 0, 0.2);
}

.metric-icon-box {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: rgba(255, 85, 0, 0.12);
    border: 1px solid rgba(255, 85, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ff5500;
    margin-bottom: 16px;
}

.metric-value {
    font-family: var(--font-orbitron);
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.metric-label {
    font-family: var(--font-kanit);
    color: #94a3b8;
    font-size: 14px;
    margin-top: 6px;
}

/* Admin Data Tables */
.admin-table-wrapper {
    background: rgba(14, 20, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 24px;
    backdrop-filter: blur(16px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.table-esports {
    color: #cbd5e1;
    margin-bottom: 0;
    vertical-align: middle;
}

.table-esports th {
    background: rgba(6, 11, 24, 0.9) !important;
    color: #ffffff !important;
    font-family: var(--font-chakra);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255, 85, 0, 0.4) !important;
    padding: 14px 16px;
}

.table-esports td {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 14px 16px;
    font-size: 14.5px;
}

.table-esports tbody tr:hover td {
    background: rgba(255, 85, 0, 0.05) !important;
}

/* Summernote Dark Customizations */
.note-editor.note-frame {
    border: 1px solid rgba(255, 85, 0, 0.35) !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: #090e24 !important;
}

.note-editor .note-toolbar {
    background: #060b18 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.note-editor .note-editable {
    background: #080d1e !important;
    color: #ffffff !important;
    min-height: 250px;
}

.note-btn {
    background: #131b30 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

.note-btn:hover {
    background: #ff5500 !important;
    color: #ffffff !important;
}

.note-dropdown-menu {
    background: #090e24 !important;
    border: 1px solid rgba(255, 85, 0, 0.3) !important;
    color: #ffffff !important;
}

.note-dropdown-item {
    color: #cbd5e1 !important;
}

.note-dropdown-item:hover {
    background: #ff5500 !important;
    color: #ffffff !important;
}

.note-modal .modal-content {
    background: #0b1020 !important;
    color: #ffffff !important;
    border: 1px solid #ff5500 !important;
}

/* Player Detail Badge in Table */
.player-tag-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 12.5px;
    display: inline-block;
    margin: 2px;
}
