/*
|--------------------------------------------------------------------------
| V16.1 Light Navy University Theme
|--------------------------------------------------------------------------
| Lighter university palette based on navy and its soft tones.
| Main colors:
| Primary Navy: #1F4E79
| Soft Navy: #2F6FA3
| Light Blue: #EAF4FB
| Very Light Background: #F8FBFE
| Accent Gold: #D7B56D
*/

:root {
    --navy-950: #12324F;
    --navy-900: #1F4E79;
    --navy-800: #275F8F;
    --navy-700: #2F6FA3;
    --navy-600: #3D83B8;
    --navy-200: #BFD8EB;
    --navy-100: #DDEDF7;
    --navy-050: #F8FBFE;
    --gold-500: #D7B56D;
    --gold-100: #F8EFD7;

    --ink: #12324F;
    --ink-soft: #244A6B;
    --accent: #1F4E79;
    --accent-soft: #3D83B8;
    --accent-line: #DDEDF7;
    --gold: #D7B56D;
    --bg: #F8FBFE;
    --paper: #FFFFFF;
    --card: #FFFFFF;
    --line: #D8E6F1;
    --line-soft: #EEF6FB;
    --muted: #6D7F8F;
    --muted-2: #8A9AAA;
}

body {
    background:
        radial-gradient(circle at 0% 0%, rgba(61, 131, 184, 0.10), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(215, 181, 109, 0.11), transparent 30%),
        #F8FBFE !important;
    color: #12324F !important;
}

/* Admin sidebar - lighter navy */
.sidebar {
    background: linear-gradient(180deg, #163A5B 0%, #1F4E79 55%, #2F6FA3 100%) !important;
    border-inline-end: 1px solid rgba(255,255,255,.15) !important;
}

.sidebar .brand,
.sidebar .brand-name,
.sidebar .brand-info,
.sidebar .brand-system {
    color: #ffffff !important;
}

.sidebar a,
.sidebar .nav-item {
    color: rgba(255,255,255,.86) !important;
}

.sidebar a:hover,
.sidebar .nav-item:hover {
    background: rgba(255,255,255,.13) !important;
    color: #ffffff !important;
}

.sidebar a.active,
.sidebar .nav-item.active {
    background: linear-gradient(90deg, rgba(255,255,255,.20), rgba(255,255,255,.07)) !important;
    color: #ffffff !important;
}

.sidebar a.active::before,
.sidebar .nav-item.active::before {
    background: #D7B56D !important;
}

.sidebar .brand-mark,
.user-avatar-sm,
.applicant-avatar,
.modal-avatar {
    background: linear-gradient(135deg, #D7B56D, #2F6FA3) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(31, 78, 121, .20) !important;
}

.topbar {
    background: #ffffff !important;
    border-bottom: 1px solid #D8E6F1 !important;
}

/* Buttons */
.btn-primary,
.btn-accent,
.btn.btn-primary,
button.btn-primary {
    background: #1F4E79 !important;
    border-color: #1F4E79 !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-accent:hover,
.btn.btn-primary:hover,
button.btn-primary:hover {
    background: #2F6FA3 !important;
    border-color: #2F6FA3 !important;
    color: #ffffff !important;
}

.btn-soft,
.btn-outline-primary {
    background: #EAF4FB !important;
    color: #1F4E79 !important;
    border-color: #BFD8EB !important;
}

.btn-soft:hover,
.btn-outline-primary:hover {
    background: #2F6FA3 !important;
    color: #ffffff !important;
    border-color: #2F6FA3 !important;
}

.btn-danger {
    background: #D92D20 !important;
    border-color: #D92D20 !important;
}

/* Cards and sections */
.card,
.glass-card,
.form-card,
.section-card,
.summary-card {
    background: #ffffff !important;
    border-color: #D8E6F1 !important;
    box-shadow: 0 16px 42px rgba(31,78,121,.07) !important;
}

.card-header,
.section-head {
    background: linear-gradient(90deg, #FFFFFF, #F8FBFE) !important;
    border-color: #D8E6F1 !important;
}

.section-no,
.badge.bg-secondary {
    background: #1F4E79 !important;
    color: #ffffff !important;
}

.badge-soft {
    background: #F8EFD7 !important;
    color: #12324F !important;
}

/* Public job hero - lighter but still elegant */
.top-hero {
    background: radial-gradient(circle at 12% 12%, rgba(215, 181, 109, .20), transparent 30%), linear-gradient(135deg, #1F4E79 0%, #0c548f 52%, #061018 100%) !important;
}

.top-hero:after {
    background: radial-gradient(circle, rgba(255,255,255,.16), transparent 65%) !important;
}

.nav-link-pill {
    border-color: rgba(255,255,255,.32) !important;
    background: rgba(255,255,255,.14) !important;
    color: #ffffff !important;
}

.nav-link-pill:hover {
    background: rgba(255,255,255,.24) !important;
}

.hero,
.careers-hero,
.public-hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(215,181,109,.18), transparent 30%),
        linear-gradient(135deg, #1F4E79, #2F6FA3 55%, #3D83B8) !important;
}

/* Forms */
.form-control,
.form-select,
.filter-input,
.filter-select {
    border-color: #D8E6F1 !important;
}

.form-control:focus,
.form-select:focus,
.filter-input:focus,
.filter-select:focus {
    border-color: #2F6FA3 !important;
    box-shadow: 0 0 0 .2rem rgba(47,111,163,.12) !important;
}

.select2-container--default .select2-selection--single {
    border-color: #D8E6F1 !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #2F6FA3 !important;
}

/* Alerts */
.alert-info,
.bg-info-subtle {
    background: #EAF4FB !important;
    border-color: #BFD8EB !important;
    color: #12324F !important;
}

.alert-warning {
    background: #FFF7E3 !important;
    border-color: #EFD28A !important;
    color: #6B4D00 !important;
}

/* Status badges */
.status-new,
.status-submitted {
    background: #DDEDF7 !important;
    color: #1F4E79 !important;
}
.status-review,
.status-under_review {
    background: #FFF3D6 !important;
    color: #8A5A00 !important;
}
.status-interview,
.status-shortlisted {
    background: #EAF4FB !important;
    color: #2F6FA3 !important;
}
.status-accepted {
    background: #DFF5E8 !important;
    color: #166534 !important;
}
.status-rejected {
    background: #FEE2E2 !important;
    color: #991B1B !important;
}

.floating-actions .btn-accent {
    background: #1F4E79 !important;
}

.page-btn.active,
.pagination .active > .page-link {
    background: #1F4E79 !important;
    border-color: #1F4E79 !important;
}

a { color: #1F4E79; }
a:hover { color: #2F6FA3; }

::-webkit-scrollbar-thumb { background: #BFD8EB !important; }
::-webkit-scrollbar-thumb:hover { background: #2F6FA3 !important; }
