﻿: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);
}

.wc-hero {
    padding: 68px 0 28px;
    background: transparent !important;
}

.wc-hero-title {
    margin-bottom: 10px;
    font-family: Georgia, "Times New Roman", serif;
    color: #1f2d38;
    font-size: 44px;
    line-height: 1.08;
}

.wc-hero-subtitle {
    color: #667787;
    line-height: 1.8;
    font-size: 16px;
}

.wc-section {
    padding: 0 0 70px;
    background: transparent !important;
}

.wc-wizard-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;
}

    .wc-wizard-shell .inner {
        padding: 30px;
    }

.title-style-five .pre {
    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;
}

.title-style-five .title {
    font-family: Georgia, "Times New Roman", serif;
    color: #1f2d38;
    font-size: 34px;
}

.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 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;
}

.single-input label,
.fw-semibold {
    color: #52616d;
    font-weight: 800 !important;
    letter-spacing: .02em;
}

.modern-input,
.form-control.modern-input,
.form-select.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-input:focus,
    .form-control.modern-input:focus,
    .form-select.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;
}

.wc-class-card {
    background: #fcfbf9;
    border: 1px solid rgba(77,102,120,.08);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 8px 18px rgba(0,0,0,.025);
}

.class-picker-trigger {
    width: 100%;
    border: 1px solid rgba(77, 102, 120, 0.16);
    background: #fff;
    border-radius: 14px;
    padding: 13px 15px;
    min-height: 50px;
    color: var(--ch-text);
    transition: all .2s ease;
}

    .class-picker-trigger:hover {
        border-color: rgba(95, 127, 149, 0.35);
        background: #fff;
    }

.class-picker-trigger-text.has-value {
    color: #2f3d47 !important;
    font-weight: 700;
}

.soft-remove-btn,
.clear-class-selection {
    border-radius: 999px !important;
    font-weight: 700;
}

.soft-remove-btn {
    border: 1px solid rgba(155, 77, 77, 0.15);
    background: #fff7f7;
    color: #9b4d4d;
    padding: 10px 14px;
}

    .soft-remove-btn:hover {
        background: #fff1f1;
    }

.review-panel,
.review-box {
    background: transparent;
}

.review-box {
    padding: 18px;
    background: #fcfbf9;
    border: 1px solid rgba(77,102,120,.08);
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(0,0,0,.025);
}

.review-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #7d8993;
}

.review-value,
.review-class-row {
    color: #2f3d47;
    line-height: 1.7;
    word-break: break-word;
}

    .review-class-row + .review-class-row {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(77,102,120,.08);
    }

.wizard-nav {
    display: flex;
    align-items: center;
    gap: 14px;
}

#addRowBtn,
#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;
}

    #addRowBtn: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,
.clear-class-selection {
    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,
    .clear-class-selection:hover {
        background: #faf8f5 !important;
        color: var(--ch-primary-dark) !important;
    }

.class-code-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.class-code-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(24,31,38,.42);
    backdrop-filter: blur(2px);
}

.class-code-modal-dialog {
    position: relative;
    width: min(760px, calc(100vw - 24px));
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    background: #fff;
    border: 1px solid rgba(77,102,120,.10);
    border-radius: 26px;
    box-shadow: 0 24px 60px rgba(0,0,0,.16);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.class-code-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 22px 18px;
    border-bottom: 1px solid rgba(77,102,120,.08);
    background: linear-gradient(180deg, #ffffff 0%, #fcfbf9 100%);
}

.class-code-modal-title {
    margin: 0 0 6px;
    font-family: Georgia, "Times New Roman", serif;
    color: #1f2d38;
    font-size: 30px;
}

.class-code-modal-subtitle {
    margin: 0;
    color: #6f7f8b;
    line-height: 1.7;
}

.class-code-modal-close {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #f4f6f7;
    color: #60707b;
    font-size: 24px;
    cursor: pointer;
    flex: 0 0 auto;
}

.class-code-modal-body {
    padding: 20px 22px 22px;
    overflow: auto;
}

.class-code-search-wrap {
    position: relative;
    margin-bottom: 16px;
}

.class-code-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #7d8993;
}

.class-code-search-input {
    width: 100%;
    border: 1px solid rgba(77, 102, 120, 0.16);
    background: #fcfbf9;
    border-radius: 14px;
    padding: 13px 15px 13px 40px;
    font-size: 14px;
    color: var(--ch-text);
}

    .class-code-search-input:focus {
        outline: none;
        border-color: rgba(95, 127, 149, 0.45);
        box-shadow: 0 0 0 4px rgba(95, 127, 149, 0.08);
        background: #fff;
    }

.class-code-modal-results {
    display: grid;
    gap: 10px;
}

.class-code-result-item {
    width: 100%;
    text-align: left;
    border: 1px solid rgba(77,102,120,.08);
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    transition: all .15s ease;
}

    .class-code-result-item:hover,
    .class-code-result-item.is-active {
        border-color: rgba(95,127,149,.28);
        background: #fcfbf9;
        transform: translateY(-1px);
    }

.class-code-result-wording {
    font-weight: 700;
    color: #2f3d47;
    margin-bottom: 4px;
}

.class-code-result-code {
    font-size: 13px;
    color: #7d8993;
}

.class-code-empty {
    padding: 18px;
    text-align: center;
    color: #7d8993;
    background: #fcfbf9;
    border: 1px dashed rgba(77,102,120,.14);
    border-radius: 16px;
}

.turnstile-wrap {
    padding-top: 8px;
}

.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) {
    .wc-hero-title {
        font-size: 36px;
    }

    .wizard-step-panel {
        padding: 20px;
    }

    .wc-wizard-shell .inner {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .wc-hero {
        padding-top: 46px;
    }

    .wc-hero-title {
        font-size: 30px;
    }

    .wc-wizard-shell .inner {
        padding: 16px;
    }

    .wizard-progress-wrap,
    .wizard-step-panel,
    .wc-class-card {
        border-radius: 18px;
    }

    .wizard-nav {
        flex-wrap: wrap;
    }

        .wizard-nav .rts-btn,
        #addRowBtn,
        #nextBtn,
        #submitBtn,
        #prevBtn {
            width: 100%;
        }

    .class-code-modal-dialog {
        width: calc(100vw - 16px);
        margin: 8px auto;
        max-height: calc(100vh - 16px);
        border-radius: 18px;
    }

    .class-code-modal-title {
        font-size: 24px;
    }
}

/* ===== FORCE HEADER / NAV TO STAY 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);
}

/* remove any gradient bleed into header */
body > header {
    position: relative;
    z-index: 10;
}


/* optional: subtle bottom border for separation */
header {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ===== NEXT LEVEL HERO ===== */
.wc-hero {
    position: relative;
    padding: 72px 0 140px;
    overflow: hidden;
}

    .wc-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;
    }

    .wc-hero::after {
        content: "";
        position: absolute;
        right: -120px;
        top: 10px;
        width: 340px;
        height: 340px;
        border-radius: 50%;
        background: rgba(95,127,149,.06);
        filter: blur(2px);
        z-index: 0;
    }

    .wc-hero .container {
        position: relative;
        z-index: 2;
    }

.wc-hero-title {
    font-size: 52px;
    margin-bottom: 14px;
}

.wc-hero-subtitle {
    max-width: 760px;
    margin: 0 auto;
    font-size: 18px;
}

.wc-section {
    margin-top: -92px;
    position: relative;
    z-index: 3;
}

.wc-wizard-shell {
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(28, 37, 44, 0.10);
}

    .wc-wizard-shell .inner {
        padding: 34px;
    }

.title-style-five {
    margin-bottom: 26px !important;
}

.wizard-step-panel {
    border-radius: 26px;
}

@media (max-width: 991px) {
    .wc-hero {
        padding: 54px 0 110px;
    }

    .wc-hero-title {
        font-size: 40px;
    }

    .wc-section {
        margin-top: -72px;
    }
}

@media (max-width: 767px) {
    .wc-hero {
        padding: 42px 0 90px;
    }

    .wc-hero-title {
        font-size: 31px;
    }

    .wc-hero-subtitle {
        font-size: 16px;
    }

    .wc-section {
        margin-top: -56px;
    }

    .wc-wizard-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;
}
