

#valentte-quiz-container {
    background-color: #FCFBF8;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

/* Main Quiz Container */
.valentte-quiz {
    width: 100%;
    max-width: 670px;
}

/* Header Section */
.valentte-quiz__header {
    text-align: center;
    margin-bottom: 2rem;
}
.valentte-quiz__main-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.valentte-quiz__title-highlight {
    color: #C0A172;
}
.valentte-quiz__subtitle {
    color: var(--text);
}

/* Progress Bar */
.valentte-quiz__progress {
    margin-bottom: 2rem;
}
.valentte-quiz__progress-text-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text);
}
.valentte-quiz__progress-bar-background {
    background-color: #F0EBE5;
    border-radius: 9999px;
    height: 6px;
}
.valentte-quiz__progress-bar-foreground {
    background-color: #C0A172;
    border-radius: 9999px;
    height: 6px;
}

/* Main Card (used for questions, form, and results) */
.valentte-quiz__card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    text-align: center;
}
.valentte-quiz__card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.valentte-quiz__card-subtitle {
    color: var(--text);
    margin-bottom: 2rem;
}

/* Question Options */
.valentte-quiz__option {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #F0EBE5;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.valentte-quiz__option:hover {
    border-color: #D8C7B0;
}
.valentte-quiz__option--selected {
    border-color: #C0A172;
    background-color: #FCF9F4;
}
.valentte-quiz__option-emoji {
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Form Layout and Elements */
.valentte-quiz__form-layout {
    text-align: center;
}
.valentte-quiz__form-icon {
    font-size: 3.5rem; 
    margin-bottom: 1rem;
    line-height: 1;
}
.valentte-quiz__form-title {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 38px;
}
.valentte-quiz__form-title-highlight {
    color: #C0A172; 
}
.valentte-quiz__form-description {
    color: var(--text);
    font-size: 16px !important;
    margin-bottom: 15px;
}

div#voucher-form-content {
    max-width: 420px;
}

.glow-effect {
    position: relative;
}

.glow-effect::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    bottom: -0.5rem;
    left: -0.5rem;
    background-image: linear-gradient(
        to right,
        rgba(0, 0, 255, 0.133),
        rgba(0, 0, 255, 0.067),
        rgba(0, 0, 255, 0.133)
    );
    border-radius: 1rem;
    filter: blur(24px);
    opacity: 0;
    transition: opacity 500ms;
    pointer-events: none;
    z-index: -1;
}

.glow-effect:hover::before {
    opacity: 1;
}

/* Form Inputs */
.valentte-quiz__input {
    width: 100%;
    padding: 8px 12px !important;
    border: 1px solid #EAEAEA !important;
    border-radius: 8px !important;
    margin-bottom: 15px;
    font-size: 16px !important;
    background-color: #FAF9F5 !important;
    color: var(--text) !important;
    line-height: 16px;
}
.valentte-quiz__input::placeholder {
    color: var(--text);
}
.valentte-quiz__input:focus {
    border: 2px solid #C0A172 !important;
}

/* Privacy Text */
.valentte-quiz__privacy-text {
    font-size: 13px !important;
    color: var(--text);
    margin-top: 15px;
    line-height: 17px !important;
    margin-bottom: 0;
}

/* Buttons */
.valentte-quiz__navigation {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}
.valentte-quiz__button {
    cursor: pointer;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    transition: background-color 0.2s, color 0.2s;
    width: 100%;
}
.valentte-quiz__button--previous {
    background-color: transparent;
    color: var(--text);
    padding: 0;
    width: auto;
}
.valentte-quiz__button--previous:hover {
    background-color: transparent;
    color: var(--text);
}
.valentte-quiz__button--submit {
    padding: 1rem;
    background-color: #C0A172;
    color: white;
}
.valentte-quiz__button--submit:hover {
    background-color: #ad8f65;
}
.valentte-quiz__button--voucher {
    padding: 8px 16px;
    background-color: #C3A469;
    color: #ffffff;
}

.valentte-quiz__button--voucher:hover {
    background-color: #C3A469;
}

.valentte-quiz__button--voucher:disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Voucher Sent Message */
.valentte-quiz__voucher-sent-message {
    padding: 2rem;
}

/* Result Text */
.valentte-quiz__result-description {
    font-size: 1.125rem;
    color: #374151;
}

/* Utility */
.valentte-quiz__card--hidden {
    display: none;
}

/* Results Page Specific Layout */
.valentte-quiz__results-page {
    background-color: transparent; 
    box-shadow: none;
    padding: 0;
    max-width: 56rem; 
}

.valentte-quiz__results-header {
    text-align: center;
    margin-bottom: 2rem;
}
.valentte-quiz__results-sparks {
    font-size: 2.5rem;
    color: #FFD700;
}
#result-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}
#result-main-title strong {
    font-family: 'Cormorant' !important;
}
#result-subtitle {
    color: var(--text);
}

/* Section Cards */
.valentte-quiz__card {
    margin-bottom: 20px;
}
.valentte-quiz__section-title {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

/* Perfect Match Card */
.valentte-quiz__card--match {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
}
@media (min-width: 768px) {
    .valentte-quiz__card--match {
        flex-direction: row;
        align-items: center;
    }
}
.valentte-quiz__match-content {
    flex: 1;
}
.valentte-quiz__match-supertitle {
    font-size: 1rem;
    font-weight: 700;
    color: #C0A172;
    margin-bottom: 0.5rem;
}
.valentte-quiz__match-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.valentte-quiz__match-description {
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.valentte-quiz__match-image {
    flex-shrink: 0;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}
.valentte-quiz__match-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Voucher Box */
.valentte-quiz__voucher-box {
    background-color: #FCF9F4;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.valentte-quiz__voucher-box h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.valentte-quiz__voucher-box p {
    font-size: 16px !important;
    color: var(--text);
    margin-bottom: 10px;
}
.valentte-quiz__voucher-box .valentte-quiz__voucher-code {
    color: #C0A172;
    font-weight: 700;
}
.valentte-quiz__voucher-box small {
    font-size: 0.75rem;
    color: var(--text);
    display: block;
    margin-top: 0;
}

/* 3-Column Grid */
.valentte-quiz__grid-3-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
@media (min-width: 768px) {
    .valentte-quiz__grid-3-col {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Breakdown Cards */
.valentte-quiz__card--breakdown {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 20px !important;
}
.valentte-quiz__card--breakdown h4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 22px;
}
.valentte-quiz__card--breakdown p {
    font-size: 15px !important;
    color: var(--text);
}

/* Feature Item (for benefits and handcrafted sections) */
.valentte-quiz__feature {
    text-align: center;
}
.valentte-quiz__feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.valentte-quiz__feature p {
    color: var(--text);
    line-height: 22px !important;
    margin: 0;
}

/* Customer Review */
.valentte-quiz__review-quote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    padding: 0;
    margin-bottom: 10px;
    border: none;
}
.valentte-quiz__review-trust {
    font-size: 14px !important;
    color: var(--text);
    font-weight: 500;
    margin: 0;
}

/* Buttons */
.valentte-quiz__button--shop {
    width: auto;
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #C0A172;
    color: #FFFFFF;
    text-decoration: none;
    text-align: center;
}
.valentte-quiz__button--shop:hover {
    background-color: #ad8f65;
    color: #FFFFFF;
}
.valentte-quiz__button--restart {
    background: none;
    color: var(--text);
    font-weight: 700;
    padding: 0;
    width: auto;
}
.valentte-quiz__results-footer {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

@media screen and (max-width: 600px) {
    .valentte-quiz__header {
        margin-bottom: 20px;
    }
    .valentte-quiz__main-title {
        font-size: 25px;
        max-width: 200px;
        margin: 0 auto 8px;
    }

    .valentte-quiz__subtitle {
       font-size: 16px !important;
    }

    .valentte-quiz__progress {
        margin-bottom: 15px;
    }

    .valentte-quiz__card-title {
        font-size: 20px;
    }

    .valentte-quiz__card-subtitle {
        margin-bottom: 15px;
        font-size: 16px !important;
    }

    .valentte-quiz__card {
        padding: 20px;  
    }

    .valentte-quiz__option {
        padding: 6px 8px;
        margin-bottom: 10px;
    }

    .valentte-quiz__form-icon {
        font-size: 35px;
    }

    .valentte-quiz__form-title {
        font-size: 25px;
        font-weight: 700;
        line-height: 30px;
        max-width: 280px;
        margin: 0 auto 8px;
    }

    .valentte-quiz__form-description {
        font-size: 15px !important;
    }

    .valentte-quiz__privacy-text {
        font-size: 11px !important;
        max-width: 280px;
        margin: 8px auto 0 !important;
    }

    .valentte-quiz__results-sparks {
        font-size: 35px;
    }

    .valentte-quiz__results-header {
        margin-bottom: 20px;
    }

    #result-main-title {
        font-size: 28px;
    }

    #result-subtitle {
        font-size: 16px !important;
    }

    .valentte-quiz__match-title {
        font-size: 25px;
        margin-bottom: 15px;
    }

    .valentte-quiz__match-description {
        margin-bottom: 15px;
        font-size: 16px !important;
    }

    .valentte-quiz__voucher-box {
        padding: 15px;
        margin-bottom: 15px;
    }

    .valentte-quiz__voucher-box h4 {
        font-size: 18px;
    }

    .valentte-quiz__voucher-box p {
        margin-bottom: 6px;
    }

    .valentte-quiz__button--shop {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }

    .valentte-quiz__match-image {
        max-width: 200px;
    }

    .valentte-quiz__grid-3-col {
        gap: 20px;
    }

    .valentte-quiz__card--breakdown {
        margin-bottom: 0px !important;
    }

    .valentte-quiz__card.valentte-quiz__card--breakdown.last {
        margin-bottom: 20px !important;
    }

    .valentte-quiz__section-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .valentte-quiz__feature-icon {
        font-size: 25px;
        margin-bottom: 10px;
    }

    .valentte-quiz__feature p {
        font-size: 15px !important;
    }

    .valentte-quiz__review-quote {
        font-size: 16px;
    }

    .valentte-quiz__button--restart {
        width: 100%;
        background: none !important;
        color: var(--text) !important;
    }

}