﻿:root {
    --ch-bg: #f5f1ea;
    --ch-card: #ffffff;
    --ch-card-soft: #fcfbf9;
    --ch-text: #2f3d47;
    --ch-muted: #748391;
    --ch-line: rgba(77, 102, 120, 0.12);
    --ch-primary: #5f7f95;
    --ch-primary-dark: #49697f;
    --ch-blue-soft: #edf4fb;
    --ch-green-soft: #edf9f0;
    --ch-gold-soft: #fff8e8;
    --ch-red-soft: #fff1f1;
    --ch-shadow: 0 18px 40px rgba(0,0,0,.08);
    --ch-radius: 24px;
}

body {
    background: radial-gradient(circle at top left, rgba(95,127,149,.08), transparent 24%), radial-gradient(circle at top right, rgba(199,146,45,.05), transparent 24%), var(--ch-bg);
}



.gl-hero {
    padding: 68px 0 28px;
    background: transparent !important;
}

.gl-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(95, 127, 149, 0.10);
    color: var(--ch-primary-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gl-hero-title {
    margin-bottom: 10px;
    font-family: Georgia, "Times New Roman", serif;
    color: #1f2d38;
    font-size: 44px;
    line-height: 1.08;
}

.gl-hero-subtitle {
    color: #667787;
    line-height: 1.8;
    font-size: 16px;
}

.gl-section {
    padding: 0 0 70px;
    background: transparent !important;
}

.gl-shell {
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf9 100%);
    border: 1px solid var(--ch-line);
    border-radius: 28px;
    box-shadow: var(--ch-shadow);
    overflow: hidden;
}

.gl-inner {
    padding: 30px;
}

.wizard-progress-wrap {
    background: #fcfbf9;
    border: 1px solid var(--ch-line);
    border-radius: 20px;
    padding: 18px;
}

.wizard-progress {
    height: 12px;
    background: #ece8e1;
    border-radius: 999px;
    overflow: hidden;
}

.wizard-progress-bar {
    background: linear-gradient(90deg, var(--ch-primary) 0%, #7998ac 100%);
    border-radius: 999px;
}

#progressLabel,
#progressPercent {
    color: #667787;
    font-weight: 700;
}

.mobile-step-title-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 14px;
    background: var(--ch-blue-soft);
    color: var(--ch-primary-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.wizard-steps {
    gap: 10px !important;
}

.wizard-step-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(95, 127, 149, 0.16);
    background: #fff;
    color: #7b8790;
    transition: all .2s ease;
}

    .wizard-step-indicator.active {
        background: var(--ch-primary);
        border-color: var(--ch-primary);
        color: #fff;
        box-shadow: 0 12px 24px rgba(95,127,149,.18);
    }

.wizard-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(95,127,149,.10);
    color: var(--ch-primary-dark);
    font-size: 13px;
    font-weight: 800;
}

.wizard-step-indicator.active .wizard-step-number {
    background: rgba(255,255,255,.18);
    color: #fff;
}

.wizard-step-text {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
}

.wizard-step-panel {
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf9 100%);
    border: 1px solid var(--ch-line);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 10px 20px rgba(0,0,0,.03);
}

.step-intro h3,
.step-intro h4 {
    margin-bottom: 8px;
    font-family: Georgia, "Times New Roman", serif;
    color: #22313c;
    font-size: 30px;
}

.step-intro p {
    color: #6f7f8b !important;
    line-height: 1.75;
}

.section-card,
.toggle-card,
.review-box,
.info-box {
    background: #fcfbf9;
    border: 1px solid rgba(77,102,120,.08);
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(0,0,0,.025);
}

.section-card,
.toggle-card,
.info-box {
    padding: 18px;
}

.review-panel {
    background: transparent;
}

.review-box {
    padding: 18px;
    height: 100%;
}

.review-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7d8993;
}

.review-value {
    color: #2f3d47;
    line-height: 1.7;
    word-break: break-word;
    white-space: pre-wrap;
}

.form-label,
.single-input label,
.fw-semibold {
    color: #52616d;
    font-weight: 800 !important;
    letter-spacing: .02em;
}

.modern-input,
.modern-textarea,
.form-select.modern-input,
.form-control.modern-input {
    border: 1px solid rgba(77, 102, 120, 0.16) !important;
    background: #fcfbf9 !important;
    border-radius: 14px !important;
    padding: 13px 15px !important;
    min-height: 50px;
    color: var(--ch-text) !important;
    box-shadow: none !important;
    transition: all .2s ease;
}

.modern-textarea {
    min-height: 120px;
}

    .modern-input:focus,
    .modern-textarea:focus,
    .form-select.modern-input:focus,
    .form-control.modern-input:focus {
        outline: none !important;
        border-color: rgba(95, 127, 149, 0.45) !important;
        background: #fff !important;
        box-shadow: 0 0 0 4px rgba(95, 127, 149, 0.08) !important;
    }

.money-prefix-wrap {
    position: relative;
}

.money-prefix {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #75818a;
    font-weight: 700;
    z-index: 2;
}

.money-prefix-wrap .modern-input,
.money-prefix-wrap .money-display-input {
    padding-left: 34px !important;
}

.inline-note {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f8f5f0;
    border: 1px solid rgba(77,102,120,.08);
    color: #6f7f8b;
    font-size: 14px;
    line-height: 1.6;
}

.form-check-input {
    width: 3rem;
    height: 1.5rem;
    cursor: pointer;
}

    .form-check-input:checked {
        background-color: var(--ch-primary);
        border-color: var(--ch-primary);
    }

.form-check-label {
    color: #52616d;
    font-weight: 700;
}

#lookupLicenseBtn,
#nextBtn,
#submitBtn,
.rts-btn.btn-primary {
    border-radius: 999px !important;
    background: var(--ch-primary) !important;
    border-color: var(--ch-primary) !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(95,127,149,.18);
    transition: all .15s ease;
}

    #lookupLicenseBtn:hover,
    #nextBtn:hover,
    #submitBtn:hover,
    .rts-btn.btn-primary:hover {
        transform: translateY(-1px);
        background: var(--ch-primary-dark) !important;
        border-color: var(--ch-primary-dark) !important;
    }

#prevBtn,
.rts-btn.btn-border {
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--ch-primary) !important;
    border: 1px solid rgba(95,127,149,.18) !important;
    font-weight: 700;
}

    #prevBtn:hover,
    .rts-btn.btn-border:hover {
        background: #faf8f5 !important;
        color: var(--ch-primary-dark) !important;
    }

.wizard-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
}

.turnstile-wrap {
    padding: 10px 0 0;
}

.alert-success,
.alert-danger {
    border-radius: 18px !important;
    border: 1px solid rgba(77,102,120,.08) !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.03);
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 991px) {
    .gl-hero-title {
        font-size: 36px;
    }

    .wizard-step-panel {
        padding: 20px;
    }

    .gl-inner {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .gl-hero {
        padding-top: 46px;
    }

    .gl-hero-title {
        font-size: 30px;
    }

    .gl-inner {
        padding: 16px;
    }

    .wizard-progress-wrap,
    .wizard-step-panel {
        border-radius: 18px;
    }

    .wizard-nav {
        flex-wrap: wrap;
    }

        .wizard-nav .rts-btn,
        #lookupLicenseBtn,
        #nextBtn,
        #submitBtn,
        #prevBtn {
            width: 100%;
        }
}
/* ===== KEEP SITE HEADER / NAV WHITE ===== */
header,
.navbar,
.header-area,
.header-one,
.header-two,
.header-three,
.main-header,
.rts-header-area {
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
    z-index: 50;
}

 

/* ===== NEXT LEVEL HERO ===== */
.gl-hero {
    position: relative;
    padding: 72px 0 140px;
    overflow: hidden;
}

    .gl-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 15% 20%, rgba(95,127,149,.10), transparent 22%), radial-gradient(circle at 85% 18%, rgba(199,146,45,.08), transparent 18%), linear-gradient(180deg, #f8f5f0 0%, #f3eee6 100%);
        z-index: 0;
    }

    .gl-hero::after {
        content: "";
        position: absolute;
        left: -110px;
        top: 30px;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: rgba(95,127,149,.06);
        z-index: 0;
    }

    .gl-hero .container {
        position: relative;
        z-index: 2;
    }

.gl-hero-title {
    font-size: 52px;
    margin-bottom: 14px;
}

.gl-hero-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
}

.gl-section {
    margin-top: -92px;
    position: relative;
    z-index: 3;
}

.gl-shell {
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(28, 37, 44, 0.10);
}

.gl-inner {
    padding: 34px;
}

.wizard-step-panel {
    border-radius: 26px;
}

@media (max-width: 991px) {
    .gl-hero {
        padding: 54px 0 110px;
    }

    .gl-hero-title {
        font-size: 40px;
    }

    .gl-section {
        margin-top: -72px;
    }
}

@media (max-width: 767px) {
    .gl-hero {
        padding: 42px 0 90px;
    }

    .gl-hero-title {
        font-size: 31px;
    }

    .gl-hero-subtitle {
        font-size: 16px;
    }

    .gl-section {
        margin-top: -56px;
    }

    .gl-shell {
        border-radius: 22px;
    }
}

/* ===== FIX BUTTON HOVER ISSUE ===== */
.rts-btn.btn-primary,
button.btn-primary,
.btn-primary {
    background: #5f7f95 !important;
    border-color: #5f7f95 !important;
    color: #ffffff !important;
}

    .rts-btn.btn-primary:hover,
    button.btn-primary:hover,
    .btn-primary:hover {
        background: #49697f !important; /* darker */
        border-color: #49697f !important;
        color: #ffffff !important;
    }

/* Secondary / outline buttons */
.rts-btn.btn-border,
.btn-outline-primary,
.btn-outline-secondary {
    background: #ffffff !important;
    color: #5f7f95 !important;
    border: 1px solid rgba(95,127,149,.25) !important;
}

    .rts-btn.btn-border:hover,
    .btn-outline-primary:hover,
    .btn-outline-secondary:hover {
        background: #f8f5f0 !important;
        color: #49697f !important;
        border-color: rgba(95,127,149,.4) !important;
    }
.gl-hero::after {
    display: none !important;
}

.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

    .btn-loading::after {
        content: "";
        position: absolute;
        right: 16px;
        top: 50%;
        width: 16px;
        height: 16px;
        border: 2px solid #fff;
        border-top-color: transparent;
        border-radius: 50%;
        transform: translateY(-50%);
        animation: spin 0.8s linear infinite;
    }

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

.input-validation-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 4px rgba(220,53,69,.08) !important;
}

.field-inline-error {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #dc3545;
    font-weight: 500;
}