/*
 * GymAdmin Professional - Modern Sporty LIGHT Theme
 * Designed by Antigravity | Mejorado UX/UI v2.1
 */

/* ===================================================
   VARIABLES & RESET
=================================================== */
:root {
    --primary:       #F26522;
    --primary-dark:  #C94F10;
    --primary-light: rgba(242, 101, 34, 0.08);
    --accent:        #F26522;
    --bg-main:   #f8fafc;
    --bg-card:   #ffffff;
    --bg-sidebar: #060E1C;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #0ea5e9;
    --sidebar-width: 280px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    font-size: 0.925rem;
}

h1, h2, h3, .brand-font {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
}

/* ===================================================
   SCROLLBAR
=================================================== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ===================================================
   APP LAYOUT
=================================================== */
.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ===================================================
   SIDEBAR
=================================================== */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    position: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 1050;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-header {
    padding: 1.75rem 1.5rem 1.5rem;
    border-bottom: 3px solid var(--primary);
}

.sidebar .nav {
    flex: 1;
    padding: 0.75rem 0.875rem;
    overflow-y: auto;
}

/* Section dividers in sidebar */
.sidebar-section-label {
    padding: 1rem 0.875rem 0.35rem;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    opacity: 0.55;
    margin-top: 0.25rem;
}

.sidebar-divider {
    border-top: 1px solid var(--border-color);
    margin: 0.5rem 0.875rem;
    opacity: 0.6;
}

.sidebar .nav-link {
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 0.2rem;
    font-weight: 500;
    transition: all 0.18s ease;
    text-decoration: none;
    font-size: 0.875rem;
}

.sidebar .nav-link i {
    font-size: 1.1rem;
    color: var(--text-muted);
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    transition: color 0.18s ease;
}

.sidebar .nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.sidebar .nav-link:hover i {
    color: var(--primary);
}

.sidebar .nav-link.active {
    color: white;
    background: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.sidebar .nav-link.active i {
    color: white;
}

/* Mobile sidebar overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1049;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: overlay-in 0.2s ease;
}
.sidebar-overlay.show { display: block; }

@keyframes overlay-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
}

/* ===================================================
   USER / CLIENT AVATARS
=================================================== */
.user-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 0.75rem;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.client-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ===================================================
   MAIN CONTENT
=================================================== */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    background: var(--bg-main);
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ===================================================
   TOP NAVBAR
=================================================== */
.top-navbar {
    background: white;
    padding: 0.875rem 2rem;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Force navbar to flex properly */
.top-navbar .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 1rem;
}

.page-content {
    padding: 2rem 2.5rem;
    flex: 1;
}

/* ===================================================
   NAVBAR SEARCH
=================================================== */
.navbar-search {
    position: relative;
    flex-shrink: 0;
}

.navbar-search input {
    padding-left: 2.25rem !important;
    background: var(--bg-main);
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    width: 220px;
    font-size: 0.84rem;
    transition: width 0.25s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar-search input:focus {
    width: 270px;
    background: white !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

.navbar-search .search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.82rem;
    pointer-events: none;
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    width: 360px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    overflow: hidden;
    display: none;
}

.search-results-dropdown.show { display: block; }

.search-results-dropdown .search-header {
    padding: 0.625rem 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    background: #fafafa;
}

.search-results-dropdown .list-group-item {
    border: none;
    border-bottom: 1px solid #f8fafc;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    transition: background 0.15s;
}

.search-results-dropdown .list-group-item:hover { background: var(--bg-main); }

/* ===================================================
   NOTIFICATION BELL
=================================================== */
.notification-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.notification-wrapper .bi-bell,
.notification-wrapper .bi-bell-fill {
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.notification-wrapper:hover .bi-bell,
.notification-wrapper:hover .bi-bell-fill {
    color: var(--primary);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    min-width: 17px;
    height: 17px;
    font-size: 0.58rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    border-radius: 10px;
    padding: 0 3px;
    font-weight: 700;
    line-height: 1;
}

/* ===================================================
   STAT CARDS
=================================================== */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.375rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.125rem;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.25s ease;
    transform-origin: left;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.25);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    /* Default: blue */
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
}

/* Color variants for stat cards */
.stat-card-success .stat-icon { background: rgba(16, 185, 129, 0.08); color: var(--success); }
.stat-card-success::before { background: var(--success); }
.stat-card-success:hover { border-color: rgba(16, 185, 129, 0.25); }

.stat-card-orange .stat-icon { background: rgba(249, 115, 22, 0.08); color: var(--accent); }
.stat-card-orange::before { background: var(--accent); }
.stat-card-orange:hover { border-color: rgba(249, 115, 22, 0.25); }

.stat-card-info .stat-icon { background: rgba(14, 165, 233, 0.08); color: var(--info); }
.stat-card-info::before { background: var(--info); }
.stat-card-info:hover { border-color: rgba(14, 165, 233, 0.25); }

.stat-card-warning .stat-icon { background: rgba(245, 158, 11, 0.08); color: var(--warning); }
.stat-card-warning::before { background: var(--warning); }
.stat-card-warning:hover { border-color: rgba(245, 158, 11, 0.25); }

.stat-label {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.65rem;
    color: var(--text-main);
    line-height: 1.15;
}

/* ===================================================
   CARDS
=================================================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.card-header {
    background: #fafafa;
    border-bottom: 1px solid var(--border-color);
    padding: 1.125rem 1.5rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
}

/* Card accent top border */
.card-accent-primary { border-top: 3px solid var(--primary) !important; }
.card-accent-success { border-top: 3px solid var(--success) !important; }
.card-accent-warning { border-top: 3px solid var(--warning) !important; }
.card-accent-danger  { border-top: 3px solid var(--danger)  !important; }
.card-accent-info    { border-top: 3px solid var(--info)    !important; }

/* ===================================================
   TABLES
=================================================== */
.table { color: var(--text-main); }

.table thead th {
    background: #f8fafc;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    padding: 0.875rem 1.25rem;
    white-space: nowrap;
}

.table td {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.table tbody tr:hover td { background: #fdfeff; }

/* Action buttons in table */
.table .btn-group { gap: 3px; }
.table .btn-group .btn {
    border-radius: var(--radius-sm) !important;
    padding: 0.35rem 0.6rem;
}

/* ===================================================
   FORMS
=================================================== */
.form-control, .form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.65rem 0.9rem;
    background-color: #fff;
    color: var(--text-main);
    font-size: 0.875rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
    background: white;
}

.form-control::placeholder { color: #94a3b8; font-size: 0.85rem; }

.form-label {
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

/* Input group icons */
.input-group-text {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: var(--radius-sm);
}

/* ===================================================
   BUTTONS
=================================================== */
.btn {
    border-radius: var(--radius-sm);
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    color: white;
}

.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading span { opacity: 0; }

.btn-loading::after {
    content: '';
    position: absolute;
    width: 0.95rem;
    height: 0.95rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.65s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===================================================
   BADGES
=================================================== */
.badge {
    font-weight: 600;
    font-size: 0.68rem;
    letter-spacing: 0.25px;
    padding: 0.35em 0.72em;
    border-radius: 6px;
}

/* ===================================================
   PAGINATION
=================================================== */
.pagination .page-link {
    border-radius: var(--radius-sm) !important;
    margin: 0 2px;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.pagination .page-link:hover {
    color: var(--primary);
    background: var(--primary-light);
    border-color: transparent;
}

/* ===================================================
   EMPTY STATES
=================================================== */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 2.75rem;
    opacity: 0.2;
    display: block;
    margin-bottom: 0.875rem;
}

.empty-state p {
    font-size: 0.875rem;
    margin: 0;
}

/* ===================================================
   SKELETON LOADING
=================================================== */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e4eaf0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
    display: inline-block;
}

@keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text  { height: 0.9em; width: 100%; margin-bottom: 0.4rem; }
.skeleton-title { height: 1.75rem; width: 50%; }
.skeleton-stat  { height: 2rem; width: 55%; }

/* ===================================================
   TOAST NOTIFICATIONS
=================================================== */
.toast-container-custom {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.toast-custom {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    min-width: 300px;
    max-width: 380px;
    pointer-events: all;
    position: relative;
    animation: toast-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast-custom.closing {
    animation: toast-out 0.25s ease forwards;
}

.toast-custom.toast-success { border-left: 4px solid var(--success); }
.toast-custom.toast-danger  { border-left: 4px solid var(--danger);  }
.toast-custom.toast-warning { border-left: 4px solid var(--warning); }
.toast-custom.toast-info    { border-left: 4px solid var(--info);    }

.toast-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.05rem; }
.toast-success .toast-icon { color: var(--success); }
.toast-danger  .toast-icon { color: var(--danger);  }
.toast-warning .toast-icon { color: var(--warning); }
.toast-info    .toast-icon { color: var(--info);    }

.toast-body { flex: 1; min-width: 0; }
.toast-title { font-weight: 700; font-size: 0.875rem; color: var(--text-main); line-height: 1.3; }
.toast-message { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; line-height: 1.4; }

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 0;
    flex-shrink: 0;
    transition: color 0.15s;
    margin-top: 0.05rem;
}
.toast-close:hover { color: var(--text-main); }

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    background: rgba(0,0,0,0.15);
    animation: toast-progress linear forwards;
}

@keyframes toast-in {
    from { opacity: 0; transform: translateX(calc(100% + 1.5rem)); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes toast-out {
    from { opacity: 1; transform: translateX(0); max-height: 200px; }
    to   { opacity: 0; transform: translateX(20px); max-height: 0; padding: 0; margin: 0; overflow: hidden; }
}

@keyframes toast-progress {
    from { width: 100%; }
    to   { width: 0%; }
}

/* ===================================================
   CONFIRM MODAL
=================================================== */
#confirmModal .modal-dialog { max-width: 380px; }
#confirmModal .modal-content {
    border-radius: var(--radius-xl);
    border: none;
    box-shadow: 0 24px 64px rgba(0,0,0,0.18);
}
#confirmModal .modal-header { border-bottom: none; padding: 2rem 2rem 0.5rem; }
#confirmModal .modal-body { text-align: center; padding: 0.5rem 2rem 1.5rem; }
#confirmModal .confirm-icon { font-size: 3.5rem; margin-bottom: 1rem; line-height: 1; }
#confirmModal .modal-footer { border-top: none; padding: 0 2rem 2rem; gap: 0.75rem; }
#confirmModal .modal-title { font-size: 1.1rem; }

/* ===================================================
   AUTH PAGES
=================================================== */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    background-image: radial-gradient(at 0% 0%, hsla(217,100%,97%,1) 0, transparent 50%),
                      radial-gradient(at 50% 0%, hsla(225,100%,95%,1) 0, transparent 50%),
                      radial-gradient(at 100% 0%, hsla(220,100%,92%,1) 0, transparent 50%);
    padding: 2rem;
}

.auth-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.auth-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem;
}

/* ===================================================
   PULSE ANIMATION
=================================================== */
.pulse-indicator {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: pulse-light 2s infinite;
}

@keyframes pulse-light {
    0%  { box-shadow: 0 0 0 0   rgba(16, 185, 129, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100%{ box-shadow: 0 0 0 0   rgba(16, 185, 129, 0); }
}

/* ===================================================
   QUICK ACTIONS
=================================================== */
.quick-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-quick {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.18s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-quick:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    text-decoration: none;
}

/* ===================================================
   FLASH ALERTS (improved)
=================================================== */
.alert {
    border-radius: var(--radius-md);
    border: none;
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.alert-success { background: rgba(16,185,129,0.1); color: #065f46; }
.alert-danger  { background: rgba(239,68,68,0.1);  color: #991b1b; }
.alert-warning { background: rgba(245,158,11,0.1); color: #92400e; }
.alert-info    { background: rgba(14,165,233,0.1);  color: #0c4a6e; }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0,0,0,0.15);
    }
    .main-content { margin-left: 0; }
    .page-content { padding: 1.25rem 1rem; }
    .top-navbar { padding: 0.875rem 1.25rem; }
    .navbar-search { display: none; }
    .toast-container-custom {
        top: auto;
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
    .toast-custom { min-width: unset; max-width: 100%; }
    .stat-value { font-size: 1.4rem; }
}

@media (min-width: 1400px) {
    .page-content { padding: 2.25rem 3rem; }
}

/* ===================================================
   GYM DELTA — Brand overrides
   Sidebar oscuro navy + acentos naranja
=================================================== */

/* Sidebar — dark navy */
.sidebar {
    background: #060E1C;
    border-right: 1px solid #1E3A6E;
}
.sidebar-header {
    background: #060E1C;
    border-bottom: 3px solid #F26522;
}
.sidebar .nav-link {
    color: #6B8DB8;
}
.sidebar .nav-link i {
    color: #6B8DB8;
}
.sidebar .nav-link:hover {
    color: #E8F0FF;
    background: rgba(242, 101, 34, 0.12);
}
.sidebar .nav-link:hover i {
    color: #F26522;
}
.sidebar .nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, #F26522 0%, #C94F10 100%);
    box-shadow: 0 4px 14px rgba(242, 101, 34, 0.35);
}
.sidebar .nav-link.active i {
    color: #fff;
}
.sidebar-section-label {
    color: #6B8DB8;
    opacity: 0.65;
}
.sidebar-footer {
    background: #0D1B3E;
    border-top: 1px solid #1E3A6E;
}

/* Avatares */
.user-avatar {
    background: linear-gradient(135deg, #F26522, #C94F10);
}
.client-avatar {
    background: linear-gradient(135deg, #2E72B8, #1A3668);
}

/* Top navbar — línea naranja sutil */
.top-navbar {
    border-bottom: 2px solid rgba(242, 101, 34, 0.25);
}
.top-navbar .h5 { color: #0f172a; }

/* Scrollbar oscuro */
::-webkit-scrollbar-track { background: #f8fafc; }
::-webkit-scrollbar-thumb { background: #cbd5e1; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ── Auth / Login ── */
.auth-wrapper {
    background-color: #060E1C;
    background-image:
        radial-gradient(at 15% 25%, rgba(242,101,34,.09) 0, transparent 45%),
        radial-gradient(at 85% 75%, rgba(46,114,184,.09) 0, transparent 45%);
}
.auth-card {
    background: #112040;
    border: 1px solid #1E3A6E;
    border-top: 4px solid #F26522;
    box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.auth-card .form-label       { color: #E8F0FF; }
.auth-card .form-control,
.auth-card .form-select      { background: #0D1B3E; border-color: #1E3A6E; color: #E8F0FF; }
.auth-card .form-control:focus { background: #0D1B3E; border-color: #F26522; color: #E8F0FF;
    box-shadow: 0 0 0 3px rgba(242,101,34,.18); }
.auth-card .form-control::placeholder { color: #6B8DB8; }
.auth-card .input-group-text { background: #1A3668; border-color: #1E3A6E; color: #6B8DB8; }
.auth-card .text-muted        { color: #6B8DB8 !important; }
.auth-card .form-check-label  { color: #6B8DB8 !important; }
.auth-card .form-check-input  { background-color: #0D1B3E; border-color: #1E3A6E; }
.auth-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #F26522;
    letter-spacing: 4px;
}
