    :root {
    --color-surface: #fffee8;
    --primary-1: #211e1d;
    --primary-2: #3e3832;
    }

    /* Hide scrollbar on the modal body while keeping it scrollable */
    #glsEnrollModal .modal-body,
    #glsEnrollModal .modal-dialog-scrollable .modal-content {
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/Edge legacy */
    }
    #glsEnrollModal .modal-body::-webkit-scrollbar,
    #glsEnrollModal .modal-dialog-scrollable .modal-content::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;                  /* Chrome/Safari */
    }

    /* Two-column grid for paired inputs — kept on mobile too */
    .form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
    }

    @media (max-width: 575px) {
    .form-grid-2 {
    gap: 0 10px;
    }
    }

    .form-card {
    background: var(--color-surface);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.15);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(33, 30, 29, 0.08);
    }

    .form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    pointer-events: none;
    }

    .decorative-element {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;

    /* updated with GLS tones */
    background: linear-gradient(135deg, var(--light--off-black), var(--dark--off-black));

    opacity: 0.05;
    top: -70px;
    right: -70px;
    z-index: 0;
    }

    .form-content {
    position: relative;
    z-index: 1;
    }

    .form-header {
    text-align: center;
    margin-bottom: 24px;
    }

    .form-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 6px;

    background: linear-gradient(135deg, var(--off-black), var(--light--off-black));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    }

    .form-subtitle {
    font-size: 14px;
    color: var(--light--off-black);
    margin-bottom: 0;
    }

    .progress-container {
    margin-bottom: 28px;
    }

    .progress-bar {
    height: 5px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 18px;
    position: relative;
    }

    .progress-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%);
    animation: shimmer 2s infinite;
    }

    @keyframes shimmer {
    0% {
    transform: translateX(-100%);
    }

    100% {
    transform: translateX(100%);
    }
    }

    .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-1), var(--primary-2));
    border-radius: 10px;
    transition: width 0.5s;
    }

    .progress-steps {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    }

    .progress-step {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--light--off-black);
    position: relative;
    padding-top: 26px;
    }

    .progress-step::before {
    content: attr(data-number);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--light--off-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    }

    .progress-step.active {
    color: var(--primary-1);
    }

    .progress-step.active::before {
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

    .progress-step.completed {
    color: #0caa6a;
    }

    .progress-step.completed::before {
    content: '✓';
    background: #0caa6a;
    color: white;
    }

    .form-step {
    display: none;
    animation: fadeSlideIn 0.5s ease;
    }

    .form-step.active {
    display: block;
    }

    @keyframes fadeSlideIn {
    from {
    opacity: 0;
    transform: translateY(20px);
    }

    to {
    opacity: 1;
    transform: translateY(0);
    }
    }

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

    label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark--off-black);
    margin-bottom: 6px;
    }

    .required {
    color: #ef4444;
    }

    input,
    select,
    textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    color: var(--off-black);
    }

    input:hover,
    select:hover,
    textarea:hover {
    border-color: var(--light--off-black);
    }

    input:focus,
    select:focus,
    textarea:focus {
    outline: none;
    border-color: var(--primary-1);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    }

    input::placeholder,
    textarea::placeholder {
    color: #94a3b8;
    }

    textarea {
    resize: vertical;
    min-height: 130px;
    }

    .button-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    }

    .success-message h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 32px;
    background: linear-gradient(135deg, var(--primary-1), var(--primary-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    }

    .button {
    background-color: var(--off-black);
    color: var(--color-surface);
    border-radius: 8rem;
    padding: .75rem 2rem;
    font-weight: 700;
    transition: .25s ease;
    display: inline-block !important;
    width: auto !important;
    max-width: fit-content !important;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.01em;
    }

    .button:hover {
    background-color: var(--light--off-black);
    transform: translateY(-2px);
    }

    .button:active {
    background-color: var(--dark--off-black);
    transform: translateY(0);
    }

    .button:disabled,
    .button.disabled {
    opacity: .4;
    cursor: not-allowed;
    transform: none;
    }

    /* 📌 MOBILE FIX — max-width 575px */
    @media (max-width: 575px) {

    #glsEnrollModal .modal-dialog {
    max-width: calc(100% - 20px) !important;
    margin: 10px auto !important;
    }

    .form-card {
    padding: 20px 16px !important;
    border-radius: 16px;
    }

    .decorative-element {
    width: 100px !important;
    height: 100px !important;
    top: -50px !important;
    right: -50px !important;
    }

    .form-title {
    font-size: 20px !important;
    line-height: 1.2;
    }

    .form-subtitle {
    font-size: 13px !important;
    padding: 0;
    }

    .progress-container {
    margin-bottom: 22px !important;
    }

    .progress-steps {
    gap: 4px !important;
    }

    .progress-step {
    font-size: 10px !important;
    padding-top: 24px !important;
    }

    .progress-step::before {
    width: 22px !important;
    height: 22px !important;
    font-size: 10px !important;
    }

    .form-group {
    margin-bottom: 12px !important;
    }

    input,
    select,
    textarea {
    padding: 10px 12px !important;
    font-size: 13.5px !important;
    border-radius: 9px !important;
    }

    label {
    font-size: 12px !important;
    margin-bottom: 5px !important;
    }

    .button-group {
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
    gap: 10px !important;
    margin-top: 22px !important;
    }

    .button-group .button {
    width: 50% !important;
    text-align: center;

    font-size: 14px !important;
    padding: .65rem 1rem !important;
    }
    }

    /* Close button */
    .close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: var(--off-black);
    color: var(--color-surface);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: .25s ease;
    }

    .close-btn:hover {
    background: var(--light--off-black);
    transform: scale(1.05);
    }

    .close-btn:active {
    transform: scale(0.95);
    }

    /* Mobile size */
    @media (max-width: 575px) {
    .close-btn {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 16px;
    }
    }

    .success-message {
    display: none;
    text-align: center;
    margin-top: 20px;
    }

    .success-message.active {
    display: block;
    }

    #errorMessage {
    color: #e11d48;
    font-size: 14px;
    margin-bottom: 12px;
    display: none;
    }

    #errorMessage.active {
    display: block;
    }



    /* Force highlight for available dates */
    .flatpickr-day.available-date {
    background: #1e88e5 !important;
    color: #fff !important;
    border-radius: 6px !important;
    border: none !important;
    }

    /* Keep selected date visible */
    .flatpickr-day.available-date.selected,
    .flatpickr-day.available-date:hover {
    background: #0d47a1 !important;
    color: #fff !important;
    }

    .error-message.active {
    display: block;
    color: #d93025;
    }
    .error-message {
    display: none;
    margin-bottom: 16px;
    font-size: 14px;
    }
    .form-group input[readonly] {
    background-color: #f3f4f6; 
    color: #6b7280; 
    border-color: #e5e7eb;
    cursor: not-allowed;
    }

    .form-group input[readonly]:focus {
    outline: none;
    box-shadow: none;
    border-color: #e5e7eb;
    }

    .form-group input[readonly]::placeholder {
    color: #9ca3af;
    }
