:root {
    /* Colors */
    --navy: #0A2540;
    --navy-light: #1A3A57;
    --global-yellow: #F15A24;
    --global-yellow-light: #ff7a44;
    --global-yellow-lt: #fef3e2;
    --gray-bg: #F9FAFE;
    --border-light: #EFF2F9;
    --card-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.02);
    --transition: all 0.25s ease-in-out;
    --shadow: 0 4px 24px rgba(13, 33, 118, .10);
    --radius: 16px;
    --white: #ffffff;
    --text-muted: #6C7A91;
    --border-color: #E9EDF2;
    --hover-transition: all 0.25s ease-in-out;

    /* Modal variables */
    --color-background-primary: #ffffff;
    --color-background-secondary: #F8FAFE;
    --color-border-secondary: #E9EDF2;
    --color-border-tertiary: #E2E8F0;
    --color-text-secondary: #2D3A4B;
    --color-text-tertiary: #6C7A91;
    --border-radius-lg: 24px;
    --border-radius-md: 14px;
    --font-sans: 'Inter', sans-serif;

    /* Header colors */
    --site-max-width: 1400px;
    --brand-yellow: #F5B041;
    --header-bg: rgb(15, 39, 73);
}

/* ─── BASE & GLOBAL ────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ─── HERO SECTION ────────────────────────────────── */
.hero__content {
    position: relative;
    z-index: 2;
}

.hero__eyebrow {
    display: inline-block;
    background: var(--global-yellow);
    color: var(--navy);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 40px;
    padding: 5px 16px;
    margin-bottom: 18px;
}

.hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 0;
}

.hero__title span {
    color: var(--global-yellow);
}

.hero__line {
    display: block;
    width: 52px;
    height: 4px;
    border-radius: 2px;
    background: var(--global-yellow);
    margin-top: 22px;
}

.hero-illustration {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.briefcase-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 20%, rgba(244, 123, 32, 0.08), rgba(26, 45, 107, 0.02));
    border-radius: 48px;
}

.briefcase-icon {
    font-size: 4.2rem;
    color: var(--navy);
    filter: drop-shadow(0 6px 12px rgba(26, 45, 107, 0.15));
    transition: transform 0.2s ease;
}

.search-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: var(--global-yellow);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 6px 14px rgba(244, 123, 32, 0.4);
    transition: transform 0.2s;
}

.briefcase-wrap:hover .search-badge {
    transform: scale(1.05);
}

/* ─── INTRO SECTION ───────────────────────────────── */
.intro {
    background: #fff;
}

.intro__text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #023276;
    text-align: justify;
}

/* ─── SECTION TITLE ────────────────────────── */
.section-title-1 {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 700;
    color: var(--navy);
}

h2 {
    margin-bottom: auto;
}

.section-title-1 span {
    color: var(--global-yellow);
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px auto 0;
}

.divider__line {
    height: 2px;
    width: 60px;
    background: var(--navy);
    border-radius: 2px;
}

.divider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--global-yellow);
}

/* ─── OPPORTUNITY CARDS ───────────────────── */
.opportunities {
    background: radial-gradient(circle at 0% 20%, #ffffff, #f5faff);
}

.opp-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
    border: 1px solid rgba(13, 33, 118, .06);
}

.opp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(13, 33, 118, .14);
}

.opp-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
}

.opp-icon--navy {
    background: var(--navy);
    color: var(--white);
}

.opp-icon--orange {
    background: var(--global-yellow);
    color: var(--white);
}

.opp-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    margin: 0;
}

/* ─── CTA BANNER ──────────────────────────── */
.cta-banner {
    padding: 50px 0;
}

.cta-box {
    border: 2px solid #e5e9f5;
    border-radius: var(--radius);
    padding: 36px 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, #f9faff 0%, #fff 100%);
    transition: border-color .25s;
}

.cta-box:hover {
    border-color: var(--global-yellow);
}

.cta-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--global-yellow-lt);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.6rem;
    color: var(--global-yellow);
}

.cta-text {
    flex: 1;
    min-width: 200px;
}

.cta-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin: 0;
}

.cta-text strong {
    color: var(--global-yellow);
    font-weight: 600;
}

/* ─── PAGE HEADER (OPPORTUNITIES HEADER) ────────────────────────── */
.page-header {
    background: linear-gradient(95deg, #ffbd00 0%, #ffffff 100%);
    border-radius: 32px;
    margin: 0 auto 15px auto;
    max-width: 1280px;
    padding: 0 20px;
    padding-right: 0px !important;
}

.header-inner {
    background: white;
    border-radius: 28px;
    padding: 32px 28px !important;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-light);
    position: relative;
    z-index: 2;
}

.header-title {
    font-weight: 700;
    font-size: 1.9rem;
    color: var(--navy);
}

.header-title span {
    color: #ffa200;
    font-weight: 800;
}

.header-accent {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--global-yellow), #ffbe76);
    border-radius: 4px;
    margin: 0.6rem 0 0.75rem;
}

.header-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
    max-width: 90%;
}

/* ─── FILTER CARD ────────────────────────── */
.filter-card {
    background: #fff;
    border: none;
    border-radius: var(--border-radius-lg);
    padding: 1.5rem 1.8rem;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.2s;
}

.filter-label {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--navy);
    margin-bottom: 0.6rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.filter-label i {
    font-size: 1rem;
    color: var(--global-yellow);
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.filter-select {
    border: 1.5px solid #edf2f7;
    border-radius: 16px;
    padding: 0.7rem 0.9rem 0.7rem 2.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: #ffffff;
    transition: all 0.2s;
    cursor: pointer;
    width: 100%;
    color: #1e2a4a;
    appearance: none;
}

.filter-select:focus {
    border-color: var(--global-yellow);
    outline: none;
    box-shadow: 0 0 0 4px rgba(244, 123, 32, 0.15);
}

.select-icon-left {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--navy);
    font-size: 1rem;
    pointer-events: none;
    opacity: 0.7;
}

.select-chevron {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.btn-reset {
    background: rgba(26, 45, 107, 0.06);
    color: var(--navy);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: var(--hover-transition);
    width: 100%;
}

.btn-reset:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(26, 45, 107, 0.12);
}

/* ─── TABLE CARD & STYLES ────────────────────────── */
.table-card {
    background: #fff;
    border: none;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s;
}

.table thead th {
    background: var(--navy);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 1.2rem 1.25rem;
    letter-spacing: 0.02em;
    border-bottom: none;
    text-transform: uppercase;
}

.table tbody tr {
    border-bottom: 1px solid rgba(227, 232, 240, 0.7);
    transition: background 0.2s;
}

.table tbody tr:hover {
    background-color: #fafcff;
    box-shadow: inset 0 0 0 1px rgba(244, 123, 32, 0.2);
}

.table tbody td {
    padding: 1.1rem 1.25rem;
    vertical-align: middle;
    font-weight: 500;
    color: #1e2f50;
}

/* Table Icons & Chips */
.cell-icon-chip {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.chip-blue {
    background: #EFF3FC;
    color: var(--navy);
}

.chip-orange {
    background: #FEF0E9;
    color: var(--global-yellow);
}

.cell-with-icon {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.opp-id {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--navy);
    letter-spacing: -0.2px;
}

.course-name {
    font-weight: 600;
    line-height: 1.35;
    font-size: 0.9rem;
}

/* Apply Button */
.btn-apply {
    background: linear-gradient(105deg, var(--global-yellow), #ffb033);
    color: var(--navy);
    border: none;
    border-radius: 40px;
    padding: 0.55rem 1.3rem;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.25s;
    box-shadow: 0 3px 10px rgba(244, 123, 32, 0.3);
    letter-spacing: 0.01em;
}

.btn-apply i {
    font-size: 0.9rem;
}

.btn-apply:hover {
    background: linear-gradient(105deg, #e05a1f, #ffb033);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(244, 123, 32, 0.4);
    color: #333;
}

.btn-apply:active {
    transform: translateY(1px);
}

/* ─── CHAT WIDGET ─────────────────────────── */
.chat-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 14px;
}

.chat-bubble {
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .15);
    padding: 12px 20px;
    font-size: .9rem;
    color: var(--text-muted);
    white-space: nowrap;
    display: none;
}

.chat-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    border: none;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(13, 33, 118, .35);
    cursor: pointer;
    transition: background .2s;
}

.chat-btn:hover {
    background: var(--global-yellow);
}

@media (min-width: 768px) {
    .chat-bubble {
        display: block;
    }
}

/* ─── TOAST NOTIFICATION ─────────────────────────── */
.toast-notif {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1A2C3E;
    backdrop-filter: blur(8px);
    color: white;
    padding: 12px 28px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    z-index: 1100;
    transition: transform 0.3s ease;
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.toast-notif.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

/* ─── EMPTY STATE ─────────────────────────── */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fefaf7;
}

.empty-state i {
    font-size: 3rem;
    color: var(--global-yellow);
    opacity: 0.5;
    margin-bottom: 0.8rem;
}

/* ─── FADE-IN ANIMATION ───────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE TWEAKS ───────────────────── */
@media (max-width: 767.98px) {
    .filter-card {
        padding: 1.25rem;
        border-radius: 20px;
    }

    .filter-card .row .col-12+.col-12 {
        margin-top: 0.9rem;
    }

    .btn-reset {
        margin-top: 0.4rem;
    }

    .table thead {
        display: none;
    }

    .table-responsive .table tbody tr,
    .table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid var(--border-color);
        border-radius: 20px;
        padding: 0.8rem;
        background: white;
    }

    .table-responsive .table tbody td,
    .table tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.8rem;
        padding: 0.7rem 0.5rem;
        border: none;
        font-size: 0.9rem;
        text-align: right;
    }

    .table-responsive .table tbody td::before,
    .table tbody td::before {
        content: attr(data-label);
        font-weight: 800;
        color: var(--navy);
        font-size: 0.7rem;
        min-width: 105px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        float: left;
    }

    .btn-apply {
        width: 100%;
        justify-content: center;
        padding: 0.7rem;
    }

    .hero-illustration {
        display: none;
    }

    .header-subtitle {
        width: 100%;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
    }

    .cta-icon-wrap {
        margin: 0 auto;
    }

    .cell-with-icon {
        justify-content: flex-end;
    }
}

@media (max-width: 576px) {
    .filter-card .row .col-12+.col-12 {
        margin-top: 0.9rem;
    }
}

/* ============================================
   MODAL STYLES WITH SPECIFIC ID #trainerModal
   ============================================ */

/* Modal Overlay */
#trainerModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1060;
    overflow-y: auto;
    display: none;
    align-items: center;
    justify-content: center;
}

/* Modal Container */
#trainerModal .modal-box {
    position: relative;
    width: 90%;
    max-width: 620px;
    margin: 2rem auto;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Modal Header */
#trainerModal .modal-header {
    background: linear-gradient(135deg, #1a3bd4 0%, #142bb0 100%);
    padding: 1.75rem 2rem;
    border-radius: 28px 28px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

#trainerModal .modal-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

#trainerModal .modal-header h2 {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}

#trainerModal .modal-header h2 span {
    color: #facc15;
}

#trainerModal .header-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

#trainerModal .header-subtitle i {
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 5px;
    border-radius: 50%;
}

/* Close Button */
#closeModalBtn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
    flex-shrink: 0;
}

#closeModalBtn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0.95);
}

/* Modal Body */
#trainerModal .modal-body {
    padding: 1.75rem 2rem;
    background: #ffffff;
    border-radius: 0 0 28px 28px;
}

/* Form Grid Layout */
#trainerModal .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Form Fields */
#trainerModal .form-field {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0 16px;
    height: 52px;
    background: #ffffff;
    transition: all 0.2s ease;
}

#trainerModal .form-field:focus-within {
    border-color: #facc15;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.15);
}

#trainerModal .form-field i {
    color: #facc15;
    font-size: 1.2rem;
    flex-shrink: 0;
}

#trainerModal .form-field input,
#trainerModal .form-field select {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
    font-family: inherit;
}

#trainerModal .form-field select {
    cursor: pointer;
}

#trainerModal .form-field input::placeholder,
#trainerModal .form-field select:invalid {
    color: #94a3b8;
}

/* Upload Field */
#trainerModal .upload-field {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    height: 52px;
    background: #ffffff;
}

#trainerModal .upload-btn {
    background: #facc15;
    border: none;
    padding: 0 20px;
    height: 100%;
    font-weight: 600;
    font-size: 0.85rem;
    color: #0f293d;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#trainerModal .upload-btn:hover {
    background: #e5b800;
}

#trainerModal .upload-label {
    padding: 0 16px;
    font-size: 0.8rem;
    color: #64748b;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Textarea Field */
#trainerModal .textarea-field {
    display: flex;
    gap: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 1rem;
    background: #ffffff;
    transition: all 0.2s ease;
}

#trainerModal .textarea-field:focus-within {
    border-color: #facc15;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.15);
}

#trainerModal .textarea-field i {
    color: #facc15;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

#trainerModal .textarea-field textarea {
    border: none;
    width: 100%;
    outline: none;
    resize: vertical;
    font-family: inherit;
    font-size: 0.9rem;
    color: #1e293b;
    min-height: 80px;
}

#trainerModal .textarea-field textarea::placeholder {
    color: #94a3b8;
}

/* Character Count */
#trainerModal .char-count {
    font-size: 0.7rem;
    text-align: right;
    color: #94a3b8;
    margin-top: 6px;
}

/* Checkbox Row */
#trainerModal .checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1.25rem 0 1.25rem;
    font-size: 0.8rem;
    color: #334155;
}

#trainerModal .checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #facc15;
}

#trainerModal .checkbox-row label {
    cursor: pointer;
}

#trainerModal .checkbox-row a {
    color: #1a3bd4;
    text-decoration: none;
    font-weight: 500;
}

#trainerModal .checkbox-row a:hover {
    text-decoration: underline;
}

/* Submit Button */
#trainerModal .submit-btn {
    width: 100%;
    background: #facc15;
    color: #0f293d;
    border: none;
    border-radius: 50px;
    height: 54px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
}

#trainerModal .submit-btn:hover {
    background: #e5b800;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(250, 204, 21, 0.3);
}

#trainerModal .submit-btn:active {
    transform: translateY(0);
}

/* Privacy Bar */
#trainerModal .privacy-bar {
    background: #f8fafc;
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.7rem;
    color: #475569;
}

#trainerModal .privacy-bar i {
    color: #facc15;
    font-size: 1.1rem;
}

#trainerModal .privacy-bar a {
    color: #1a3bd4;
    text-decoration: none;
}

/* Modal Responsive */
@media (max-width: 640px) {
    #trainerModal .modal-box {
        width: 95%;
        margin: 1rem auto;
    }

    #trainerModal .modal-header {
        padding: 1.25rem 1.5rem;
    }

    #trainerModal .modal-header h2 {
        font-size: 1.3rem;
    }

    #trainerModal .modal-body {
        padding: 1.25rem 1.5rem;
    }

    #trainerModal .form-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    #trainerModal .form-field,
    #trainerModal .upload-field {
        height: 48px;
    }

    #trainerModal .upload-btn {
        padding: 0 14px;
        font-size: 0.8rem;
    }

    #trainerModal .upload-label {
        font-size: 0.75rem;
    }

    #trainerModal .submit-btn {
        height: 48px;
        font-size: 0.9rem;
    }
}

/* Scrollbar Styling for modal body */
#trainerModal .modal-body::-webkit-scrollbar {
    width: 6px;
}

#trainerModal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#trainerModal .modal-body::-webkit-scrollbar-thumb {
    background: #facc15;
    border-radius: 10px;
}

/* Animation for modal open/close */
#trainerModal[style*="display: flex"] .modal-box {
    animation: modalSlideIn 0.3s ease-out;
}

.blob-yellow {
    animation: accFloat 14s ease-in-out infinite alternate;
}

/* ══════════════ TRAINER REGISTRATION SECTION (INLINE) ══════════════ */
.trainer-registration-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
}

#trainer-reg-heading {
    color: var(--white);
}

#trainer-registration-section .divider__line {
    background: var(--border-light);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--border-light);
    max-width: 600px;
    margin: 0 auto;
}

.trainer-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.trainer-form-card .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.trainer-form-card .form-field {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.trainer-form-card .form-field:focus-within {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    background: #ffffff;
}

.trainer-form-card .form-field i {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 1.2rem;
    pointer-events: none;
}

.trainer-form-card .form-field input,
.trainer-form-card .form-field select {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: none;
    background: transparent;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #1e293b;
    outline: none;
    font-family: inherit;
}

.trainer-form-card .form-field select {
    appearance: none;
    cursor: pointer;
}

.trainer-form-card .form-field input::placeholder,
.trainer-form-card .form-field select:invalid {
    color: #94a3b8;
}

.trainer-form-card .textarea-field {
    display: flex;
    gap: 14px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    align-items: flex-start;
}

.trainer-form-card .textarea-field:focus-within {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    background: #ffffff;
}

.trainer-form-card .textarea-field i {
    color: #94a3b8;
    font-size: 1.2rem;
    margin-top: 4px;
}

.trainer-form-card .textarea-field textarea {
    width: 100%;
    border: none;
    background: transparent;
    resize: vertical;
    font-size: 0.95rem;
    color: #1e293b;
    outline: none;
    font-family: inherit;
    min-height: 70px;
}

.trainer-form-card .textarea-field textarea::placeholder {
    color: #94a3b8;
}

.trainer-form-card .char-count {
    text-align: right;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 6px;
}

.trainer-form-card .upload-field {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 6px 16px 6px 6px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.trainer-form-card .upload-field:focus-within {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.trainer-form-card .upload-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1e293b;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.trainer-form-card .upload-btn:hover {
    background: #f59e0b;
}

.trainer-form-card .upload-label {
    font-size: 0.85rem;
    color: #94a3b8;
}

.trainer-form-card .checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: #475569;
}

.trainer-form-card .checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: #f59e0b;
    cursor: pointer;
}

.trainer-form-card .checkbox-row a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 500;
}

.trainer-form-card .checkbox-row a:hover {
    text-decoration: underline;
}

.trainer-form-card .submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.trainer-form-card .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
}

.trainer-form-card .submit-btn i {
    font-size: 1.2rem;
}

.trainer-form-card .privacy-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.85rem;
    color: #94a3b8;
}

.trainer-form-card .privacy-bar i {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .trainer-form-card {
        padding: 24px 20px;
    }

    .trainer-form-card .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .trainer-form-card .upload-field {
        flex-wrap: wrap;
        padding: 10px;
    }

    .trainer-form-card .upload-btn {
        width: 100%;
        justify-content: center;
    }

    .trainer-form-card .privacy-bar {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ============================================
   SELECT2 — THEMED TO MATCH SITE DESIGN SYSTEM
   ============================================ */

/* Hide the native select arrow/border, let our wrapper handle styling */
.select2-container {
    width: 100% !important;
}

/* ---- Inline form (.trainer-form-card) selects ---- */
.trainer-form-card .form-field .select2-container--default .select2-selection--single {
    height: 52px;
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 0 16px 0 44px;
    justify-content: space-between;
}

.trainer-form-card .form-field {
    padding: 0;
}

.trainer-form-card .form-field .select2-selection__rendered {
    padding: 0 !important;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    line-height: normal;
}

.trainer-form-card .form-field .select2-selection__placeholder {
    color: #94a3b8;
}

/* ---- Modal (#trainerModal) selects ---- */
#trainerModal .form-field .select2-container--default .select2-selection--single {
    height: 52px;
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
}

#trainerModal .form-field .select2-selection__rendered {
    padding: 0 !important;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
}

#trainerModal .form-field .select2-selection__placeholder {
    color: #94a3b8;
}

/* ---- Filter card (.filter-card) selects ---- */
.select-wrapper .select2-container--default .select2-selection--single {
    height: 46px;
    display: flex;
    align-items: center;
    border: 1.5px solid #edf2f7;
    border-radius: 16px;
    padding: 0 1rem 0 2.4rem;
    background: #ffffff;
    transition: all 0.2s;
}

.select-wrapper .select2-selection__rendered {
    padding: 0 !important;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e2a4a;
}

.select-wrapper .select2-container--open .select2-selection--single,
.select-wrapper .select2-container--focus .select2-selection--single {
    border-color: var(--global-yellow);
    box-shadow: 0 0 0 4px rgba(244, 123, 32, 0.15);
}

.select-wrapper .select2-selection__arrow {
    display: none;
}

/* ---- Shared: arrow icon recolor (where select2's own arrow is shown) ---- */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 14px;
    position: relative !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--global-yellow) transparent transparent transparent;
    border-width: 6px 5px 0 5px;
    margin-left: -5px;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--global-yellow) transparent;
    border-width: 0 5px 6px 5px;
}

/* ---- Focus glow (trainer-form-card + modal use orange/yellow per their theme) ---- */
.trainer-form-card .form-field:has(.select2-container--focus),
.trainer-form-card .form-field:has(.select2-container--open) {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
    background: #ffffff;
}

#trainerModal .form-field:has(.select2-container--focus),
#trainerModal .form-field:has(.select2-container--open) {
    border-color: #facc15;
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.15);
}

/* ---- Dropdown panel styling ---- */
.select2-dropdown {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    padding: 6px;
    z-index: 99999;
}

.select2-results__option {
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: #1e293b;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--global-yellow);
    color: #ffffff;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background: rgba(244, 123, 32, 0.1);
    color: var(--navy);
    font-weight: 600;
}

.select2-search--dropdown {
    padding: 8px;
}

.select2-search--dropdown .select2-search__field {
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    padding: 8px 12px;
    outline: none;
    font-size: 0.85rem;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: var(--global-yellow);
}

.select2-results__option--disabled {
    color: #94a3b8 !important;
}

/* Loading state row */
.select2-results__option.loading-results {
    color: #94a3b8;
    font-style: italic;
}

.form-field,
.select-wrapper {
    position: relative;
}