/* ======================================================
   Med Jobs — Questo Hub Career System
   Luxury Dark Clinical Design System
   Canvas: #0F1115 | Surface: #1C1F26 | Input: #14171E
   Border: #252830 | Accent: #D4AF37 (Gold)
   ====================================================== */

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

* {
    padding: 0;
    margin: 0;
    -webkit-tap-highlight-color: transparent !important;
}

:root {
    /* Base Colors */
    --primary-dark: #0F1115;
    --primary: #1C1F26;
    --secondary: #252830;
    --accent: #D4AF37;
    --accent-hover: #F5D77F;
    --accent-glow: rgba(212, 175, 55, 0.18);
    --gold: #D4AF37;
    --gold-bright: #F5D77F;
    --gold-dim: rgba(212, 175, 55, 0.12);
    --gold-border: rgba(212, 175, 55, 0.28);
    
    /* Surfaces & Borders */
    --bg: #0F1115;
    --bg-alt: #14171E;
    --surface: #1C1F26;
    --surface-solid: #1C1F26;
    --surface-hover: #222630;
    --border: #252830;
    --border-hover: rgba(212, 175, 55, 0.45);
    --hover-bg: #222630;
    --card-bg: #1C1F26;
    
    /* Typography */
    --text-primary: #FFFFFF;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    
    /* Statuses */
    --success: #10B981;
    --success-dim: rgba(16, 185, 129, 0.12);
    --success-border: rgba(16, 185, 129, 0.28);
    
    --warning: #F59E0B;
    --warning-dim: rgba(245, 158, 11, 0.12);
    --warning-border: rgba(245, 158, 11, 0.28);
    
    --danger: #FF4D6A;
    --danger-dim: rgba(255, 77, 106, 0.12);
    --danger-border: rgba(255, 77, 106, 0.28);
    
    --purple: #A78BFA;
    --purple-dim: rgba(167, 139, 250, 0.12);
    --purple-border: rgba(167, 139, 250, 0.28);

    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    background-color: #0F1115 !important;
    background: #0F1115 !important;
    background-image: none !important;
    color: var(--text-secondary);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.careers-page {
    min-height: calc(100vh - 64px);
    padding-top: 64px !important;
    margin-top: 0 !important;
    background: #0F1115;
}

/* ======================================================
   1. HERO BANNER — Luxury Clinical Style with Gold Accent
   ====================================================== */
.careers-hero {
    position: relative;
    background: #1C1F26;
    border-bottom: 1px solid var(--border);
    padding: 60px 0 52px;
    text-align: center;
    overflow: hidden;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.careers-hero::before {
    content: "";
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 380px;
    background: radial-gradient(
        ellipse at center,
        rgba(212, 175, 55, 0.12) 0%,
        rgba(212, 175, 55, 0.03) 45%,
        transparent 70%
    );
    pointer-events: none;
    border-radius: 50%;
}

.careers-hero-inner {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.careers-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--gold-dim);
    color: var(--gold);
    margin-bottom: 20px;
    border: 1px solid var(--gold-border);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.careers-badge i {
    color: var(--gold);
    font-size: 0.85rem;
}

.careers-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.careers-hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 26px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ======================================================
   2. BUTTON SYSTEM — Exact Questo Luxury Tokens
   ====================================================== */
.btn {
    padding: 10px 20px;
    background: #14171E;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    font-family: inherit;
}

a.btn {
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    background: #222630;
    border-color: var(--border-hover);
    color: #FFFFFF;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.btn:active {
    transform: translateY(0);
}

.btn.btn-success,
.btn-success {
    background: linear-gradient(135deg, #D4AF37 0%, #F5D77F 100%) !important;
    border: 1px solid #F5D77F !important;
    color: #0F1115 !important;
    font-weight: 750 !important;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.28) !important;
}

.btn.btn-success:hover,
.btn-success:hover {
    background: linear-gradient(135deg, #F5D77F 0%, #E8D05F 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(212, 175, 55, 0.4) !important;
    color: #0F1115 !important;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid var(--border);
    background: #14171E;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    cursor: pointer;
    font-family: inherit;
}

.btn-sm:hover {
    transform: translateY(-1px);
    background: #222630;
    border-color: var(--border-hover);
    color: #FFFFFF;
}

.btn-sm.btn-view,
.btn-view {
    background: var(--gold-dim) !important;
    border: 1px solid var(--gold-border) !important;
    color: var(--gold) !important;
    font-weight: 700;
}

.btn-sm.btn-view:hover,
.btn-view:hover {
    background: var(--gold) !important;
    color: #0F1115 !important;
    border-color: var(--gold) !important;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.28);
}

.btn-sm.btn-danger,
.btn-danger {
    background: var(--danger-dim) !important;
    border: 1px solid var(--danger-border) !important;
    color: var(--danger) !important;
    font-weight: 600;
}

.btn-sm.btn-danger:hover,
.btn-danger:hover {
    background: rgba(255, 77, 106, 0.22) !important;
    border-color: rgba(255, 77, 106, 0.45) !important;
    color: #FFFFFF !important;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    border: 1px solid #F5D77F;
    background: linear-gradient(135deg, #D4AF37, #F5D77F);
    color: #0F1115;
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.28);
}

.btn-hero-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
    color: #0F1115;
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #14171E;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-hero-outline:hover {
    background: var(--hover-bg);
    border-color: var(--border-hover);
    color: #FFFFFF;
}

/* ======================================================
   3. CONTAINER & DISCLAIMER
   ====================================================== */
.careers-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 24px 80px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.2s;
}

.back-link i {
    color: var(--gold);
    transition: transform 0.2s ease;
}

.back-link:hover {
    color: #FFFFFF;
}

.back-link:hover i {
    transform: translateX(-3px);
}

.careers-disclaimer {
    background: #14171E;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.disclaimer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.disclaimer-inner i {
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ======================================================
   4. FILTERS BAR — Clean Dark Architecture
   ====================================================== */
.filters-bar {
    background: #1C1F26;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 26px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.35);
}

.filters-form {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 150px;
}

.filter-group label {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.filter-group select {
    background: #14171E;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.88rem;
    color: var(--text-primary);
    font-family: inherit;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23D4AF37' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 34px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.18);
}

.filter-group select option {
    background: #1C1F26;
    color: #FFFFFF;
}

.btn-filter,
.filters-form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    border: 1px solid var(--gold-border);
    background: var(--gold-dim);
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    height: 42px;
    box-sizing: border-box;
}

.btn-filter:hover,
.filters-form .btn:hover {
    background: var(--gold);
    color: #0F1115;
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.results-info {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 22px;
}

/* ======================================================
   5. JOB CARDS GRID
   ====================================================== */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 22px;
}

.job-card {
    background: #1C1F26;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 14px 34px -6px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.08);
}

.job-card.featured {
    border-left: 3.5px solid var(--gold) !important;
    border-color: rgba(212, 175, 55, 0.35) !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.04) 0%, #1C1F26 100%) !important;
}

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.pharmacy-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pharmacy-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.verified-badge {
    color: var(--success);
    font-size: 0.84rem;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 4px;
}

.job-city {
    font-size: 0.8rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-city i {
    color: var(--gold);
}

.job-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.featured-badge {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    background: var(--gold-dim);
    color: var(--gold-bright);
    border: 1px solid var(--gold-border);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.featured-badge i {
    color: var(--gold);
}

.role-badge {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.role-pharmacist {
    background: var(--gold-dim);
    color: var(--gold);
    border: 1px solid var(--gold-border);
}

.role-assistant {
    background: rgba(56, 189, 248, 0.12);
    color: #38BDF8;
    border: 1px solid rgba(56, 189, 248, 0.28);
}

.job-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.35;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.meta-item {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: var(--gold);
    font-size: 0.85rem;
}

.type-badge {
    padding: 3px 10px;
    border-radius: 6px;
    background: #14171E;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 500;
}

.days-off {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.days-off i {
    color: var(--gold);
}

.job-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.experience-req {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.experience-req i {
    color: var(--gold);
}

.btn-view-job {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid var(--gold-border);
    background: var(--gold-dim);
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.btn-view-job:hover {
    background: var(--gold);
    color: #0F1115;
    border-color: var(--gold);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.28);
}

/* ======================================================
   6. JOB DETAIL PAGE (show.blade.php)
   ====================================================== */
.job-detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: start;
}

.detail-card {
    background: #1C1F26;
    border: 1px solid var(--border);
    border-top: 2.5px solid var(--gold) !important;
    border-radius: 18px;
    padding: 32px;
    position: relative;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4);
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.detail-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.detail-pharmacy {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.detail-pharmacy .pharmacy-name {
    color: var(--text-primary);
    font-weight: 700;
}

.detail-pharmacy .verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--success-dim);
    color: var(--success);
    border: 1px solid var(--success-border);
}

.detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #14171E;
    border: 1px solid var(--border);
    transition: border-color 0.2s ease;
}

.detail-meta-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.detail-meta-item i {
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.meta-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.meta-value {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-top: 2px;
}

.detail-section {
    margin-bottom: 26px;
}

.detail-section h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-section h3 i {
    color: var(--gold);
}

.description-content {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.detail-posted {
    font-size: 0.8rem;
    color: var(--text-dim);
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 20px;
}

.days-off-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.day-tag {
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    color: var(--gold);
}

/* Apply Sidebar Card */
.apply-card {
    background: #1C1F26;
    border: 1px solid var(--border);
    border-top: 2.5px solid var(--gold) !important;
    border-radius: 18px;
    padding: 26px;
    position: sticky;
    top: 90px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.4);
}

.apply-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.apply-card .form-group {
    margin-bottom: 16px;
}

.apply-card .form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: block;
}

.apply-card .form-group input,
.apply-card .form-group textarea {
    width: 100%;
    background: #14171E;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.apply-card .form-group input:focus,
.apply-card .form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.18);
}

.apply-card #applyBtn,
.btn-apply {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #D4AF37 0%, #F5D77F 100%) !important;
    color: #0F1115 !important;
    font-size: 0.92rem;
    font-weight: 750;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    transition: var(--transition);
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.28);
}

.apply-card #applyBtn:hover,
.btn-apply:hover {
    background: linear-gradient(135deg, #F5D77F 0%, #E8D05F 100%) !important;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
    color: #0F1115 !important;
}

.apply-card #applyBtn:disabled,
.btn-apply:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.already-applied,
.profile-required,
.login-required {
    text-align: center;
    padding: 24px 16px;
    border-radius: 12px;
}

.already-applied {
    background: var(--success-dim);
    border: 1px solid var(--success-border);
}

.already-applied i {
    color: var(--success);
    font-size: 2.2rem;
    margin-bottom: 10px;
    display: block;
}

.already-applied span {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.profile-required {
    background: var(--warning-dim);
    border: 1px solid var(--warning-border);
}

.profile-required i,
.login-required i {
    color: var(--gold);
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: block;
}

.profile-required p,
.login-required p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.btn-complete-profile,
.btn-signin-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    background: linear-gradient(135deg, #D4AF37 0%, #F5D77F 100%);
    color: #0F1115;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 750;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.28);
}

.btn-complete-profile:hover,
.btn-signin-apply:hover {
    background: linear-gradient(135deg, #F5D77F 0%, #E8D05F 100%);
    transform: translateY(-2px);
    color: #0F1115;
}

/* ======================================================
   7. STATUS BADGES SYSTEM
   ====================================================== */
.status-badge {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    display: inline-block;
}

.status-open,
.status-accepted {
    background: var(--success-dim) !important;
    color: var(--success) !important;
    border: 1px solid var(--success-border) !important;
}

.status-pending,
.status-paused {
    background: var(--warning-dim) !important;
    color: var(--warning) !important;
    border: 1px solid var(--warning-border) !important;
}

.status-shortlisted {
    background: var(--purple-dim) !important;
    color: var(--purple) !important;
    border: 1px solid var(--purple-border) !important;
}

.status-closed,
.status-rejected {
    background: var(--danger-dim) !important;
    color: var(--danger) !important;
    border: 1px solid var(--danger-border) !important;
}

/* ======================================================
   8. PHARMACIST PROFILE (profile.blade.php)
   ====================================================== */
.profile-page-layout {
    max-width: 850px;
}

.section-header-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.section-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.section-header-row h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 4px;
}

.section-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.completion-bar-wrapper {
    margin-bottom: 26px;
    background: #14171E;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
}

.completion-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

#completionPercent {
    color: var(--gold);
    font-weight: 700;
}

.completion-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.completion-fill {
    height: 100%;
    background: linear-gradient(90deg, #D4AF37 0%, #F5D77F 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

/* Skills Input & Tags */
.skills-input-wrapper input {
    width: 100%;
    background: #14171E;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 10px;
}

.skills-input-wrapper input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.18);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--gold-dim);
    color: var(--gold);
    border: 1px solid var(--gold-border);
}

.remove-skill {
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.remove-skill:hover {
    color: #FFFFFF;
}

/* Toggle Switch */
.toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.toggle-label input[type="checkbox"] {
    display: none;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: #14171E;
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
    transition: background 0.3s, border-color 0.3s;
    flex-shrink: 0;
}

.toggle-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: transform 0.3s, background 0.3s;
}

.toggle-label input:checked + .toggle-switch {
    background: var(--gold);
    border-color: var(--gold);
}

.toggle-label input:checked + .toggle-switch::after {
    transform: translateX(20px);
    background: #0F1115;
}

.cv-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.cv-upload-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.cv-file-picker {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    flex: 1;
}

.cv-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cv-file-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #14171E;
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
    white-space: nowrap;
}

.cv-file-btn:hover {
    background: #222630;
    border-color: var(--border-hover);
}

.cv-file-name {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px dashed var(--border);
    background: #14171E;
    color: var(--text-muted);
    font-size: 0.86rem;
    min-height: 42px;
    flex: 1;
    min-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ======================================================
   9. MY APPLICATIONS (my-applications.blade.php)
   ====================================================== */
.applications-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.application-wrapper {
    background: #14171E;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.application-wrapper:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
}

.application-wrapper.is-accepted {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
}

.application-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
}

.app-job-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.app-pharmacy {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.app-pharmacy span:first-child {
    color: var(--text-primary);
    font-weight: 600;
}

.app-city {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-dim);
}

.app-city i {
    color: var(--gold);
}

.app-meta {
    display: flex;
    gap: 18px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.app-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.app-meta i {
    color: var(--gold);
}

/* Accepted Success Announcement Banner */
.applicant-success-box {
    background: linear-gradient(
        135deg,
        rgba(16, 185, 129, 0.1) 0%,
        rgba(212, 175, 55, 0.05) 100%
    );
    border-top: 1px dashed rgba(16, 185, 129, 0.35);
    padding: 22px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    position: relative;
    overflow: hidden;
}

.success-icon-wrap {
    background: var(--success-dim);
    color: var(--success);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
    border: 1px solid var(--success-border);
}

.success-content {
    flex: 1;
}

.success-content h4 {
    color: var(--success);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.3px;
}

.success-content p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 12px;
}

.success-content p strong {
    color: var(--text-primary);
}

.success-next-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1C1F26;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.86rem !important;
    color: var(--text-primary) !important;
    margin-bottom: 0 !important;
    border: 1px dashed rgba(255, 255, 255, 0.12);
}

.success-next-steps i {
    color: var(--gold);
}

@keyframes successPop {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ======================================================
   10. PHARMACY DASHBOARD & ANALYTICS (manage.blade.php)
   ====================================================== */
.dashboard-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.dashboard-header-row h1 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 4px;
}

.dashboard-header-row h1 i {
    color: var(--gold);
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.analytics-card {
    background: #1C1F26;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.35);
}

.analytics-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.analytics-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.analytics-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
    line-height: 1.2;
}

.analytics-label {
    font-size: 0.74rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-top: 4px;
    display: block;
}

.dashboard-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 18px;
}

.dashboard-job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-radius: 12px;
    background: #14171E;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.dashboard-job-item:hover {
    border-color: var(--border-hover);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.dj-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.dj-title-row h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.dj-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.dj-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dj-meta i {
    color: var(--gold);
}

.dj-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
}

.btn-view-applicants {
    position: relative;
    background: var(--gold-dim) !important;
    border: 1px solid var(--gold-border) !important;
    color: var(--gold) !important;
}

.btn-view-applicants:hover {
    background: var(--gold) !important;
    color: #0F1115 !important;
}

.applicant-count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--gold);
    color: #0F1115;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* ======================================================
   11. MODALS & POPUPS SYSTEM
   ====================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.78);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    padding: 20px;
}

.modal-content {
    background: #1C1F26;
    border: 1px solid var(--border);
    border-top: 2.5px solid var(--gold) !important;
    border-radius: 18px;
    padding: 32px;
    max-width: 620px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.modal-wide {
    max-width: 820px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

#applicantsModal .modal-header {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

#applicantsModal .modal-content {
    padding: 26px;
}

#applicantsModal #closeApplicantsModal {
    background: #14171E;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

#applicantsModal #closeApplicantsModal:hover {
    background: #222630;
    color: #FFFFFF;
    border-color: var(--border-hover);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #FFFFFF;
}

/* Premium Custom Popups */
.premium-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.premium-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.premium-popup {
    background: #1C1F26;
    border: 1px solid var(--border);
    border-top: 2.5px solid var(--gold) !important;
    border-radius: 18px;
    padding: 36px 32px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
    transform: scale(0.95) translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-popup-overlay.show .premium-popup {
    transform: scale(1) translateY(0);
}

.premium-popup-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.premium-popup-icon.warning {
    color: var(--warning);
}

.premium-popup-icon.danger {
    color: var(--danger);
}

.premium-popup-icon.success {
    color: var(--success);
}

.premium-popup-icon.info {
    color: var(--gold);
}

.premium-popup h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.premium-popup p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 24px;
}

.premium-popup-input {
    width: 100%;
    background: #14171E;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.92rem;
    resize: none;
    outline: none;
    margin-bottom: 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.premium-popup-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.18);
}

.premium-popup-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.premium-popup-actions button {
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    flex: 1;
}

.premium-popup-actions .btn-cancel {
    background: #14171E;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.premium-popup-actions .btn-cancel:hover {
    background: #222630;
    color: #FFFFFF;
    border-color: var(--border-hover);
}

.premium-popup-actions .btn-confirm {
    background: linear-gradient(135deg, #D4AF37 0%, #F5D77F 100%);
    color: #0F1115;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

.premium-popup-actions .btn-confirm:hover {
    background: linear-gradient(135deg, #F5D77F 0%, #E8D05F 100%);
    transform: translateY(-1px);
}

.premium-popup-actions .btn-confirm.danger {
    background: var(--danger) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(255, 77, 106, 0.3) !important;
}

.premium-popup-actions .btn-confirm.danger:hover {
    background: #f87171 !important;
}

/* Applicant Cards inside Modal */
.applicant-card {
    padding: 18px 20px;
    border-radius: 12px;
    background: #14171E;
    border: 1px solid var(--border);
    margin-bottom: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.applicant-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.applicant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.applicant-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.applicant-avatar,
.applicant-avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.applicant-avatar {
    border: 1.5px solid var(--border);
}

.applicant-avatar-placeholder {
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.applicant-name-wrapper {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.applicant-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.96rem;
    line-height: 1.2;
}

.applicant-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    margin-top: 4px;
    width: fit-content;
    padding: 3px 8px;
    border-radius: 6px;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    transition: var(--transition);
}

.applicant-profile-link:hover {
    background: var(--gold);
    color: #0F1115;
}

.applicant-meta {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.applicant-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.applicant-meta i {
    color: var(--gold);
}

.applicant-cover {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.applicant-cv {
    margin-top: 12px;
}

.btn-download-cv {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--gold-border);
    background: var(--gold-dim);
    color: var(--gold);
    transition: var(--transition);
}

.btn-download-cv:hover {
    background: var(--gold);
    color: #0F1115;
}

.applicant-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.applicant-actions select {
    background: #1C1F26;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 0.84rem;
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
}

.applicant-actions select:focus {
    border-color: var(--gold);
}

.btn-save-status {
    background: var(--gold) !important;
    color: #0F1115 !important;
    font-weight: 750 !important;
    border: none !important;
    padding: 7px 16px !important;
    border-radius: 8px !important;
    cursor: pointer;
}

.btn-save-status:hover {
    background: var(--gold-bright) !important;
}

/* ======================================================
   12. SHARED FORMS STYLING
   ====================================================== */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.required {
    color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: #14171E;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.18);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23D4AF37' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group select option {
    background: #1C1F26;
    color: var(--text-primary);
}

.form-group input.input-error {
    border-color: var(--danger);
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #14171E;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.btn-action:hover {
    background: #222630;
    border-color: var(--border-hover);
    color: #FFFFFF;
}

.days-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.day-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 8px;
    background: #14171E;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.day-checkbox:has(input:checked) {
    background: var(--gold-dim);
    border-color: var(--gold);
    color: var(--gold);
}

.day-checkbox input {
    margin: 0;
    accent-color: var(--gold);
}

/* ======================================================
   13. EMPTY STATES & LOADERS
   ====================================================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 2.6rem;
    color: var(--text-dim);
    margin-bottom: 16px;
    display: block;
    opacity: 0.6;
}

.empty-state h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.empty-state a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.empty-state a:hover {
    text-decoration: underline;
}

.loading-state {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 36px;
    color: var(--text-muted);
    font-size: 0.9rem;
    justify-content: center;
}

.loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(212, 175, 55, 0.15);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ======================================================
   14. TOAST NOTIFICATIONS (Clinical Flash Style)
   ====================================================== */
.careers-toast {
    position: fixed;
    top: 85px;
    left: 50%;
    transform: translateX(-50%) translateY(-15px) scale(0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.88rem;
    color: #FFFFFF;
    background: #1C1F26;
    border: 1px solid var(--border);
    border-left: 3.5px solid var(--success);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(16px);
    max-width: 90vw;
    box-sizing: border-box;
}

.careers-toast i {
    color: var(--success);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.careers-toast.error {
    border-left-color: var(--danger);
}

.careers-toast.error i {
    color: var(--danger);
}

.careers-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}

/* ======================================================
   15. PAGINATION (Luxury Dark System)
   ====================================================== */
.pagination-wrapper {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}

.pagination-wrapper nav {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pagination-wrapper .pagination {
    display: flex;
    list-style: none;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.pagination-wrapper .page-item .page-link,
.pagination-wrapper nav a,
.pagination-wrapper nav span {
    padding: 8px 14px;
    border-radius: 8px;
    background: #1C1F26;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.pagination-wrapper nav a:hover,
.pagination-wrapper .page-item:not(.active):not(.disabled) .page-link:hover {
    background: #252830;
    border-color: var(--border-hover);
    color: #FFFFFF;
}

.pagination-wrapper .page-item.active .page-link,
.pagination-wrapper nav span[aria-current="page"] {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: #0F1115 !important;
    font-weight: 800;
}

.pagination-wrapper .page-item.disabled .page-link {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ======================================================
   16. RESPONSIVENESS & MOBILE LUXURY REFINEMENT
   ====================================================== */
@media (max-width: 992px) {
    .analytics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .job-detail-layout {
        grid-template-columns: 1fr;
    }

    .apply-card {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .careers-page {
        padding-top: 56px !important;
    }

    .careers-hero {
        padding: 40px 16px 36px;
    }

    .careers-hero h1 {
        font-size: 1.85rem;
        margin-bottom: 10px;
    }

    .careers-hero-desc {
        font-size: 0.92rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .careers-container {
        padding: 24px 16px 60px;
    }

    .filters-bar {
        padding: 18px 16px;
    }

    .filters-form {
        flex-direction: column;
        gap: 12px;
    }

    .filter-group {
        width: 100%;
        min-width: 0;
    }

    .filters-form .btn {
        width: 100%;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .detail-card {
        padding: 22px 18px;
    }

    .detail-header {
        flex-direction: column;
        gap: 12px;
    }

    .detail-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-job-item {
        flex-direction: column;
        gap: 14px;
        align-items: flex-start;
    }

    .dj-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .application-item {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        padding: 16px 18px;
    }

    .app-status {
        align-self: flex-start;
    }

    .applicant-success-box {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .careers-hero h1 {
        font-size: 1.55rem;
    }

    .detail-meta-grid {
        grid-template-columns: 1fr;
    }

    .analytics-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 24px 18px;
    }
}
