/* ==========================================================================
   NSU E-Recruitment Ultra-Premium Glossy & Sophisticated Design System
   ========================================================================== */

/* --- 1. Keyframe Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatGlow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
    }
}

@keyframes glossyReflection {
    0% {
        transform: translateX(-150%) rotate(25deg);
    }
    100% {
        transform: translateX(150%) rotate(25deg);
    }
}

@keyframes dropdownPop {
    from {
        opacity: 0;
        transform: translateY(-12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* --- 2. Base Styles & Larger Typography --- */
html, body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    background: radial-gradient(circle at 50% 0%, #f1f5f9 0%, #f8fafc 100%) fixed !important;
    color: #334155 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: #0f1644 !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em;
}

p {
    font-size: 16px !important;
    line-height: 1.65 !important;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover, a:focus {
    color: #1d4ed8;
    text-decoration: none;
}

/* --- 3. Glossy Header & Glassmorphic Navigation --- */
.header {
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(18px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(190%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 4px 30px rgba(15, 22, 68, 0.05), inset 0 -1px 0 rgba(15, 22, 68, 0.04) !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header .logo img {
    max-height: 54px !important;
    width: auto;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 8px rgba(15, 22, 68, 0.08));
}

.header .logo img:hover {
    transform: scale(1.05) translateY(-1px);
}

.navbar-default {
    background-color: transparent !important;
    border: none !important;
    margin-bottom: 0 !important;
}

.navbar-default .navbar-nav > li > a {
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 11px 22px !important;
    border-radius: 10px;
    margin: 3px 3px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #2563eb !important;
    background-color: rgba(37, 99, 235, 0.06) !important;
    transform: translateY(-1px);
}

.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > li.li-active > a {
    color: #ffffff !important;
    background: linear-gradient(135deg, #0f1644 0%, #1e293b 100%) !important;
    box-shadow: 0 4px 15px rgba(15, 22, 68, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Glassmorphic Dropdown Menu */
.navbar-nav > li > .dropdown-menu {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(20px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px -10px rgba(15, 22, 68, 0.12), 0 0 0 1px rgba(15, 22, 68, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    padding: 10px !important;
    margin-top: 10px !important;
    animation: dropdownPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.dropdown-menu > li > a {
    border-radius: 8px;
    padding: 11px 20px !important;
    font-weight: 600;
    font-size: 15px !important;
    color: #475569 !important;
    transition: all 0.2s ease !important;
}

.dropdown-menu > li > a:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.03) 100%) !important;
    color: #2563eb !important;
    transform: translateX(4px);
}

/* --- 4. Hero Banner & Page Titles --- */
.pageTitle {
    background: linear-gradient(135deg, #0f1644 0%, #1e293b 60%, #0f172a 100%) !important;
    padding: 42px 0 !important;
    border-bottom: 4px solid #eab308;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.pageTitle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.15), transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(234, 179, 8, 0.1), transparent 50%);
    pointer-events: none;
}

.pageTitle h1.page-heading {
    color: #ffffff !important;
    font-size: 34px !important;
    font-weight: 800 !important;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.pageTitle .breadCrumb {
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
}

.pageTitle .breadCrumb a {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
}

.pageTitle .breadCrumb a:hover {
    color: #f59e0b !important;
}

/* --- 5. Glossy Card Containers --- */
.listpgWraper {
    background: transparent !important;
    padding: 40px 0 !important;
}

.contentbox, .userccount, .job-header {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px -15px rgba(15, 22, 68, 0.06), 0 0 0 1px rgba(15, 22, 68, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    padding: 38px !important;
    margin-bottom: 28px !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.top-radius, .bottm-radius {
    border-radius: 20px !important;
}

/* --- 6. Glossy Tab Navigation --- */
.nav-tabs.nav-background {
    background: rgba(241, 245, 249, 0.9) !important;
    backdrop-filter: blur(12px) !important;
    padding: 6px !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: inset 0 2px 4px rgba(15, 22, 68, 0.04) !important;
    margin-bottom: 28px !important;
}

.nav-tabs > li > a {
    border: none !important;
    background: transparent !important;
    color: #475569 !important;
    font-weight: 700 !important;
    font-size: 15.5px !important;
    padding: 13px 30px !important;
    border-radius: 10px !important;
    margin-right: 4px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-tabs > li > a:hover {
    color: #0f1644 !important;
    background: rgba(255, 255, 255, 0.6) !important;
}

.nav-tabs > li.active > a, 
.nav-tabs > li.active > a:hover, 
.nav-tabs > li.active > a:focus {
    background: #ffffff !important;
    color: #0f1644 !important;
    box-shadow: 0 6px 20px -3px rgba(15, 22, 68, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
    transform: translateY(-1px);
}

/* --- 7. Glossy Interactive Job Cards --- */
.job-card-item {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    margin-bottom: 28px;
    box-shadow: 0 12px 30px -8px rgba(15, 22, 68, 0.04), 0 0 0 1px rgba(15, 22, 68, 0.04), inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.job-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #0f1644 0%, #2563eb 50%, #eab308 100%);
    opacity: 0.85;
    transition: width 0.3s ease;
}

.job-card-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.6) 50%, transparent 70%);
    transform: translateX(-150%) rotate(25deg);
    pointer-events: none;
}

.job-card-item:hover {
    transform: translateY(-6px) scale(1.008);
    box-shadow: 0 25px 50px -12px rgba(15, 22, 68, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.15), inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(37, 99, 235, 0.2);
}

.job-card-item:hover::before {
    width: 8px;
}

.job-card-item:hover::after {
    animation: glossyReflection 1s ease-in-out;
}

.job-card-body {
    padding: 30px 34px;
}

/* Glass Translucent Badges */
.job-badge {
    font-size: 12px !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 7px 16px !important;
    border-radius: 9999px;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
}

.job-badge.fulltime {
    background: linear-gradient(135deg, rgba(219, 234, 254, 0.9) 0%, rgba(239, 246, 255, 0.9) 100%);
    color: #1e40af;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.job-badge.parttime {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.9) 0%, rgba(255, 251, 235, 0.9) 100%);
    color: #92400e;
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.job-recruitment-badge {
    font-size: 12px !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 7px 16px !important;
    border-radius: 9999px;
    display: inline-block;
    background: rgba(241, 245, 249, 0.9);
    color: #475569;
    border: 1px solid rgba(203, 213, 225, 0.6);
    margin-bottom: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Enhanced Job Card Titles */
.job-card-title {
    margin-top: 4px;
    margin-bottom: 16px;
    font-size: 24px !important;
    line-height: 1.35 !important;
}

.job-card-title a {
    color: #0f1644 !important;
    font-weight: 800 !important;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding-bottom: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.job-card-title a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2.5px;
    background: linear-gradient(90deg, #2563eb 0%, #eab308 100%);
    border-radius: 9999px;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.job-card-title a .title-icon {
    color: #2563eb;
    font-size: 18px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0.04) 100%);
    padding: 9px;
    border-radius: 10px;
    border: 1px solid rgba(37, 99, 235, 0.15);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.job-card-item:hover .job-card-title a {
    color: #2563eb !important;
}

.job-card-item:hover .job-card-title a::after {
    width: 100%;
}

.job-card-item:hover .job-card-title a .title-icon {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: scale(1.12) rotate(-4deg);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.job-card-dept {
    font-size: 15.5px !important;
    color: #64748b;
    margin-bottom: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-card-dept i {
    color: #2563eb;
    font-size: 17px;
}

.job-card-schools {
    margin-bottom: 22px;
}

.school-tag {
    font-size: 11px !important;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(219, 234, 254, 0.9) 100%);
    color: #2563eb;
    padding: 5px 12px !important;
    border-radius: 6px;
    margin-right: 6px;
    display: inline-block;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.school-text-muted {
    font-size: 13.5px !important;
    color: #94a3b8;
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 1.45;
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(241, 245, 249, 0.9);
    padding-top: 18px;
    margin-top: 18px;
}

.job-deadline {
    font-size: 14.5px !important;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-deadline i {
    color: #ef4444;
    font-size: 16px;
}

.job-deadline strong {
    color: #0f1644;
    font-weight: 700;
}

.btn-job-details {
    font-size: 14.5px !important;
    font-weight: 700;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.06);
    padding: 9px 20px !important;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-job-details i {
    transition: transform 0.25s ease;
}

.btn-job-details:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.btn-job-details:hover i {
    transform: translateX(4px);
}

/* --- 8. Glossy Inputs & Focus Highlights --- */
.form-control {
    height: 52px !important;
    padding: 14px 20px !important;
    font-size: 15.5px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    color: #1e293b !important;
    box-shadow: inset 0 2px 4px rgba(15, 22, 68, 0.02) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.form-control:focus {
    border-color: #2563eb !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14), 0 4px 12px rgba(37, 99, 235, 0.08) !important;
}

.formrow {
    margin-bottom: 24px !important;
}

label.control-label {
    font-weight: 700 !important;
    color: #334155 !important;
    font-size: 15px !important;
    margin-bottom: 8px !important;
}

/* Radio & Checkbox buttons styling */
.radio-inline, .checkbox-inline {
    font-weight: 600 !important;
    font-size: 15px !important;
    color: #334155 !important;
    padding-left: 30px !important;
    margin-right: 22px !important;
    position: relative;
    cursor: pointer;
}

.radio-inline input[type="radio"], 
.checkbox-inline input[type="checkbox"] {
    position: absolute;
    margin-left: -30px !important;
    top: 3px;
    width: 20px;
    height: 20px;
}

/* JQuery Validation Error Labels */
label.error, div.error {
    color: #ef4444 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    margin-top: 6px !important;
    display: block !important;
}

/* --- 9. High-End Glossy Metallic Buttons --- */
.btn, .listbtn a, input[type="submit"].btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 14px 30px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    background: linear-gradient(135deg, #0f1644 0%, #1e293b 50%, #0f172a 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px -4px rgba(15, 22, 68, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.btn::after, .listbtn a::after, input[type="submit"].btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    transform: translateX(-150%) rotate(25deg);
    pointer-events: none;
}

.btn:hover, .listbtn a:hover, input[type="submit"].btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px) scale(1.01);
}

.btn:hover::after, .listbtn a:hover::after, input[type="submit"].btn:hover::after {
    animation: glossyReflection 0.8s ease-in-out;
}

.btn:active, .listbtn a:active, input[type="submit"].btn:active {
    transform: translateY(1px) scale(0.99);
}

.listbtn {
    text-align: right;
    margin-top: 15px;
}

/* Secondary Buttons */
.btn-default, .button-previous {
    background: rgba(241, 245, 249, 0.9) !important;
    color: #475569 !important;
    border: 1px solid rgba(203, 213, 225, 0.8) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.btn-default:hover, .button-previous:hover {
    background: rgba(226, 232, 240, 0.95) !important;
    color: #0f1644 !important;
    box-shadow: 0 4px 12px rgba(15, 22, 68, 0.05) !important;
}

/* --- 10. Profile Wizard & Steps --- */
.portlet.light {
    padding: 34px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px -15px rgba(15, 22, 68, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

.form-wizard .steps {
    padding: 0 !important;
    margin-bottom: 35px !important;
    border: none !important;
}

.form-wizard .steps > li > a {
    background: rgba(248, 250, 252, 0.8) !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 18px 24px !important;
    text-align: left !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-wizard .steps > li.active > a {
    background: #ffffff !important;
    border-color: #0f1644 !important;
    color: #0f1644 !important;
    box-shadow: 0 8px 25px -5px rgba(15, 22, 68, 0.1), inset 0 1px 0 rgba(255, 255, 255, 1) !important;
    transform: translateY(-2px);
}

.form-wizard .steps > li.done > a {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(219, 234, 254, 0.9) 100%) !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
    color: #2563eb !important;
}

.form-wizard .steps .number {
    width: 36px;
    height: 36px;
    background-color: #e2e8f0;
    color: #64748b;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-right: 14px;
    flex-shrink: 0;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-wizard .steps > li.active .number {
    background: linear-gradient(135deg, #0f1644 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.form-wizard .steps > li.done .number {
    background-color: #2563eb;
    color: #ffffff;
}

.form-wizard .steps .desc {
    font-weight: 700;
    font-size: 15px !important;
}

.form-wizard .steps .desc i {
    display: none;
}

/* Glossy Progress bar */
.progress-striped {
    background-image: none !important;
    background-color: #e2e8f0 !important;
    border-radius: 9999px !important;
    height: 10px !important;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 35px !important;
    overflow: hidden;
}

.progress-bar-success {
    background: linear-gradient(90deg, #0f1644 0%, #2563eb 50%, #38bdf8 100%) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4) !important;
}

/* Select2 overrides to match glossy inputs */
.select2-container--default .select2-selection--single {
    height: 52px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 13px 20px !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.25s ease-in-out !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px !important;
    padding-left: 0 !important;
    color: #1e293b !important;
    font-weight: 500;
    font-size: 15px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px !important;
    right: 14px !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14) !important;
}

/* --- 11. Job Details Page & Styled Lists --- */
.jobdetail h3 {
    margin-top: 0;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-size: 21px !important;
    color: #0f1644;
}

/* Sidebar summary list styling */
ul.jbdetail {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.jbdetail li {
    padding: 14px 18px !important;
    margin-bottom: 10px !important;
    background: rgba(248, 250, 252, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px !important;
    font-size: 15px !important;
    line-height: 1.55;
    transition: all 0.25s ease-in-out;
}

ul.jbdetail li:hover {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 6px 18px -4px rgba(15, 22, 68, 0.06);
    transform: translateX(3px);
}

ul.jbdetail li .col-md-4, ul.jbdetail li .col-xs-4, ul.jbdetail li .col-xs-8 {
    font-weight: 600;
    color: #64748b;
    padding-left: 0;
}

ul.jbdetail li .col-md-8 span {
    font-weight: 700;
    color: #0f1644;
}

/* Main Job Content UL/LI Styling */
.job-description-content ul, .job-benefits-content ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 16px;
    margin-bottom: 24px;
}

.job-description-content ul li, .job-benefits-content ul li {
    position: relative;
    padding: 14px 18px 14px 44px !important;
    margin-bottom: 12px !important;
    background: rgba(248, 250, 252, 0.9);
    border: 1.5px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    font-size: 16px !important;
    line-height: 1.65 !important;
    color: #334155;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(15, 22, 68, 0.02);
}

.job-description-content ul li::before, .job-benefits-content ul li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 14px;
    top: 14px;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0.05) 100%);
    color: #2563eb;
    font-size: 11px;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(37, 99, 235, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.job-description-content ul li:hover, .job-benefits-content ul li:hover {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.12);
    transform: translateX(6px);
}

/* Ensure all text inside list items remains inline inside the <li> container */
.job-description-content li p, 
.job-benefits-content li p,
.jobdetail li p,
.contentbox li p {
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
}

.job-description-content li, 
.job-benefits-content li {
    display: block !important;
}

.announcement-banner {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.95) 0%, rgba(219, 234, 254, 0.95) 100%);
    border-left: 6px solid #2563eb;
    border-radius: 16px;
    padding: 22px 30px;
    margin-bottom: 28px;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.announcement-banner.note-banner {
    background: linear-gradient(135deg, rgba(254, 243, 199, 0.95) 0%, rgba(255, 251, 235, 0.95) 100%);
    border-left-color: #f59e0b;
}

.announcement-icon {
    font-size: 26px !important;
    margin-right: 20px;
    flex-shrink: 0;
}

.announcement-banner:not(.note-banner) .announcement-icon {
    color: #2563eb;
}

.announcement-banner.note-banner .announcement-icon {
    color: #d97706;
}

.announcement-text {
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.6;
    color: #1e293b;
}

.job-header-details {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 34px;
    margin-bottom: 32px;
    box-shadow: 0 15px 35px -10px rgba(15, 22, 68, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.job-title-section h2 {
    font-size: 30px !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

.job-title-section .post-date {
    font-size: 15px !important;
    color: #64748b;
    font-weight: 600;
}

.job-title-section .post-date strong {
    color: #0f1644;
}

.already-applied-badge {
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
    color: #15803d;
    border: 1px solid rgba(21, 128, 61, 0.2);
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 15px !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.detail-section-title {
    font-size: 23px !important;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 14px;
    margin-top: 0;
    margin-bottom: 22px;
}

.job-description-content, .job-benefits-content {
    font-size: 16.5px !important;
    line-height: 1.8 !important;
    color: #334155;
}

/* Faculty search specifics */
.faculty-school-header {
    background: linear-gradient(135deg, #0f1644 0%, #1e293b 100%);
    color: #ffffff;
    font-size: 18px !important;
    font-weight: 800;
    padding: 15px 26px;
    border-radius: 12px 12px 0 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.faculty-subjects-list {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 20px 26px;
}

.faculty-subjects-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.faculty-subjects-list li {
    font-size: 15.5px !important;
    font-weight: 600;
    color: #334155;
    padding: 9px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    display: flex;
    align-items: center;
    gap: 10px;
}

.faculty-subjects-list li:last-child {
    border-bottom: none;
}

.faculty-subjects-list li i {
    color: #2563eb;
    font-size: 16px;
}

/* --- 12. Glossy Segmented Radio Selector --- */
.applicant-type-selector {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
}

.applicant-type-option {
    flex: 1;
    cursor: pointer;
    margin: 0 !important;
    padding: 0 !important;
}

.hidden-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.selector-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 26px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(15, 22, 68, 0.02), inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.selector-card i {
    font-size: 30px !important;
    color: #64748b;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.selector-label {
    font-size: 15.5px !important;
    font-weight: 800;
    color: #475569;
    transition: color 0.3s ease;
}

/* Checked States */
.hidden-radio:checked + .selector-card {
    border-color: #2563eb;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.95) 0%, rgba(219, 234, 254, 0.95) 100%);
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateY(-3px);
}

.hidden-radio:checked + .selector-card i {
    color: #2563eb;
    transform: scale(1.15);
}

.hidden-radio:checked + .selector-card .selector-label {
    color: #0f1644;
}

.selector-card:hover {
    border-color: #94a3b8;
    transform: translateY(-2px);
}

/* --- 13. Footer --- */
.copyright {
    background: linear-gradient(135deg, #0f1644 0%, #1e293b 100%) !important;
    padding: 30px 0 !important;
    border-top: 4px solid #eab308;
    margin-top: 50px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.copyright .bttxt {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 15px !important;
    font-weight: 600;
    text-align: center;
}

/* --- 14. Modals --- */
.modal-content {
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 30px 60px -15px rgba(15, 22, 68, 0.3) !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

.modal-header {
    background: linear-gradient(135deg, #0f1644 0%, #1e293b 100%) !important;
    color: #ffffff !important;
    padding: 24px 30px !important;
    border-bottom: none !important;
}

.modal-header .close {
    color: #ffffff !important;
    opacity: 0.8;
    text-shadow: none;
    font-size: 28px;
    margin-top: -2px !important;
    transition: opacity 0.2s ease;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-title {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 20px !important;
}

.modal-body {
    padding: 30px 36px !important;
}

.modal-body .form-group {
    margin-bottom: 24px !important;
}
