/* ==========================================================================
   Admin Panel - Brand color override (Mahalaxmi navy + gold)
   ========================================================================== */

:root {
    --primary: #0c2758;
    --primary-2: #1a3a8a;
    --accent: #f5b834;
    --accent-2: #f59e0b;
}

body {
    background-color: #f4f6fb !important;
}

/* Sidebar */
.sidebar.bg--dark,
.dashboard-sidebar {
    background: linear-gradient(180deg, #0c2758 0%, #1a3a8a 100%) !important;
    border-right: 1px solid rgba(255,255,255,.06);
}

.sidebar__menu .sidebar-menu-item a,
.dashboard-sidebar .sidebar-menu a {
    color: rgba(255,255,255,.78) !important;
}
.sidebar__menu .sidebar-menu-item a:hover,
.dashboard-sidebar .sidebar-menu a:hover,
.sidebar__menu .sidebar-menu-item.active > a,
.dashboard-sidebar .sidebar-menu li.active a {
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
}
.sidebar__menu .sidebar-menu-item .menu-icon,
.dashboard-sidebar .sidebar-menu i {
    color: rgba(255,255,255,.65) !important;
}
.sidebar__menu .sidebar-menu-item.active .menu-icon,
.dashboard-sidebar .sidebar-menu li.active i {
    color: #f5b834 !important;
}

/* Topnav */
.header,
.dashboard-topnav {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: 0 1px 3px rgba(15,23,42,.04) !important;
}

/* Buttons - primary navy */
.btn--primary,
.btn-primary,
.button-default,
.bg--primary,
.badge--primary {
    background-color: #0c2758 !important;
    border-color: #0c2758 !important;
    color: #fff !important;
}
.btn--primary:hover,
.btn-primary:hover,
.bg--primary:hover {
    background-color: #1a3a8a !important;
    border-color: #1a3a8a !important;
}
.btn--base,
.bg--base,
.button-loader {
    background-color: #f5b834 !important;
    border-color: #f5b834 !important;
    color: #4a2c00 !important;
}
.btn--base:hover,
.bg--base:hover {
    background-color: #f59e0b !important;
    border-color: #f59e0b !important;
    color: #4a2c00 !important;
}

/* Cards */
.card,
.statistic-card,
.widget-two,
.custom-widget {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 6px rgba(15,23,42,.04) !important;
    border-radius: 12px !important;
}
.card-header,
.widget-two__header {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 18px 20px !important;
}
.card-body,
.widget-two__body {
    padding: 20px !important;
}

/* Stat card icons (instead of purple gradient) */
.statistic-card .icon-container,
.widget-icon {
    background: linear-gradient(135deg, #0c2758, #1a3a8a) !important;
    color: #f5b834 !important;
}

/* Page title / breadcrumb */
.page-header,
.title-head,
.breadcrumb {
    background: transparent !important;
    color: #1a2638 !important;
}
.page-header .title,
.breadcrumb__title {
    color: #1a2638 !important;
    font-weight: 700 !important;
}

/* Tables */
.table,
.table-bordered {
    border-color: #e2e8f0 !important;
}
.table thead th {
    background: #f1f5f9 !important;
    color: #1a2638 !important;
    font-weight: 600 !important;
    border-bottom: 2px solid #cbd5e1 !important;
}
.table tbody tr:hover {
    background-color: #f8fafc !important;
}

/* Forms */
.form-control:focus,
.form--control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: #1a3a8a !important;
    box-shadow: 0 0 0 .2rem rgba(26,58,138,.15) !important;
}

/* Login page */
.admin-login-bg,
.md-login-stage,
.auth-form-area {
    background: linear-gradient(135deg, #0c2758 0%, #1a3a8a 50%, #2d4ba0 100%) !important;
}
.md-login-card {
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .25) !important;
    padding: 44px 38px !important;
}

/* Primary links */
a, .text--primary, .text-primary {
    color: #1a3a8a;
}
a:hover, .text--primary:hover {
    color: #0c2758;
}

/* Badges */
.badge--success, .bg-success { background-color: #10b981 !important; color: #fff !important; }
.badge--warning, .bg-warning { background-color: #f59e0b !important; color: #4a2c00 !important; }
.badge--danger, .bg-danger { background-color: #ef4444 !important; color: #fff !important; }
.badge--info, .bg-info { background-color: #0ea5e9 !important; color: #fff !important; }

/* Status pills */
.badge--pending { background-color: #f5b834; color: #4a2c00; }
.badge--approved, .badge--active { background-color: #10b981; color: #fff; }
.badge--rejected, .badge--banned { background-color: #ef4444; color: #fff; }

/* Pagination */
.pagination .page-item.active .page-link {
    background: #0c2758 !important;
    border-color: #0c2758 !important;
    color: #fff !important;
}

/* Action icons in table */
.btn--icon {
    color: #1a3a8a !important;
}
.btn--icon.btn--danger { color: #ef4444 !important; }
.btn--icon.btn--success { color: #10b981 !important; }

/* Dropdowns / tooltips */
.dropdown-menu {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 8px 20px rgba(15,23,42,.08) !important;
}
