/* Green modern quiz-style UI matching first screenshot */

/* Modal background */
.hc-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
}
.hc-backbtn {
    background: #ffffff !important;
    color: #2b2a29 !important;
    border: 1px solid #2b2a29 !important;
}
.hc-backbtn:hover {
    background: #ffffff !important;
    color: #2b2a29 !important;
    border: 1px solid #2b2a29 !important;
}
.hc-active-plan {
    background: #f0fff4;
    border: 1px solid #38a169;
    padding: 10px;
    margin-top: 8px;
    border-radius: 6px;
    font-size: 14px;
    color: #000;
}
.hc-modal-dialog {
    text-align: left !important;
}

.hc-modal[aria-hidden="false"] {
    display: flex;
}

.hc-modal button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 39px;
    font-size: 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'SF Pro Display';
}

.hc-modal .hc-check-email {
    background-color: #2B2A29 !important;
    color: #fff;
    border: 1px solid #2B2A29;
    position: relative;
}

.hc-modal .hc-prev {
    border: 1px solid #2F2B2B;
    background-color: #fff;
    color: #2F2B2B;
    position: relative;
}

.hc-modal .hc-nav .hc-prev::before {
    content: "";
    display: inline-block;
    width: 11px;
    height: 11px;
    background: url(/wp-content/uploads/2025/11/previous-quiz.svg) no-repeat center;
    background-size: 8px;
}

.hc-modal .hc-nav .hc-next {
    background-color: #2B2A29;
    color: #fff;
    border: 1px solid #2B2A29;
    position: relative;
}

.hc-modal .hc-nav .hc-next::after {
    content: "";
    display: inline-block;
    width: 11px;
    height: 11px;
    background: url(/wp-content/uploads/2025/11/quix-next.svg) no-repeat center;
    background-size: 8px;
}

.hc-modal .hc-prev:hover {
    background: unset;
    color: #2b2a29;
}

.hc-actions {
    margin-top: 25px;
}

.hc-modal .hc-submit.hc-primary-btn {
    background-color: #2B2A29;
    color: #fff;
    border: 1px solid #2B2A29;
}

button.hc-next.hc-btn.disabled {
    background: #2b2a29b8;
    cursor: no-drop;
    border: 1px solid #666565;
}

.hc-error {
    color: red;
    font-size: 14px;
    font-family: 'SF Pro Display';
    padding-top: 10px;
}

.payment-method-sec {
    display: flex;
    margin-bottom: 20px;
}

.communications-review-sec {
    display: flex;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.payment-method-sec input {
    width: 15px !important;
    height: 15px;
    margin-right: 10px;
}

.automatic-yearly-sec {
    display: flex;
    margin-bottom: 20px;
}

.automatic-yearly-sec input {
    width: 15px !important;
    height: 15px;
    margin-right: 10px;
}

.hc-required {
    color: red;
}

.communications-review-sec .single-communications-box {
    width: calc(33.33% - 13.33px);
    display: flex;
    align-items: center;
}

.hc-wine-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.hc-wine-options .hc-option-card.half {
    width: calc(25% - 15px);
    display: flex;
    align-items: center;
}

.hc-wine-options .hc-option-card.full {
    width: calc(25% - 15px);
    display: flex;
    align-items: center;
}

/* Modal container */
.hc-modal-dialog {
    background: #ffffff;
    padding: 48px 60px;
    border-radius: 14px;
    max-width: 1100px;
    width: calc(100% - 40px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: popupFade 0.25s ease-out;
}

@keyframes popupFade {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Close button */
.hc-close {
    position: absolute;
    right: 18px;
    top: 14px;
    font-size: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Header */
.hc-header h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #2b2b2b;
}

.hc-header p {
    margin-top: 8px;
    font-size: 15px;
    color: #777;
}

/* Green Step Indicator Bar */
.hc-step-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 35px 0 40px;
}

.hc-step-indicator .dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e8f4e8;
    border: 2px solid #b7dcb7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    color: #6d896d;
    transition: all 0.25s ease;
}

.hc-step-indicator .dot.active {
    background: #44b044;
    border-color: #44b044;
    color: #fff;
    transform: scale(1.12);
}

.hc-step-indicator .dot.done {
    background: #44b044;
    border-color: #44b044;
    color: #fff;
    opacity: 0.85;
}

.verify-email-address {
    display: none;
}

/* Dotted connectors */
.hc-step-indicator .line {
    flex: 1;
    height: 2px;
    border-bottom: 2px dashed #c9e6c9;
    margin: 0 10px;
}

.hc-modal-dialog button.hc-next.hc-btn.disabled {
    display: unset !important;
}

/* Form Layout */
.hc-step .hc-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.hc-step label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    width: 100%;
}

.hc-option-row input:focus {
    outline: none !important;
    box-shadow: unset !important;
}

.hc-option-row input {
    width: auto !important;
    margin-right: 10px;
}

.hc-step input,
.hc-step select,
.hc-step textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d6d6d6;
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
    transition: border 0.25s;
}

.hc-step input:focus,
.hc-step select:focus,
.hc-step textarea:focus {
    border-color: #44b044;
    box-shadow: 0 0 0 2px rgba(68, 176, 68, 0.15);
}

/* Navigation Buttons */
.hc-nav {
    /* grid-column: span 2;
    display: flex;
    justify-content: space-between; */
    margin-top: 25px;
}

.hc-btn,
.hc-primary-btn {
    padding: 12px 22px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.hc-btn {
    background: #eaeaea;
}

.hc-btn:hover {
    background: #dcdcdc;
}

.hc-primary-btn {
    background: #44b044;
    color: #fff;
}

.hc-primary-btn:hover {
    background: #3f9d3f;
}

.required-star {
    color: red;
}

/* Progress bar (optional small one) */
.hc-progress {
    height: 6px;
    background: #e6f3e6;
    border-radius: 6px;
    margin-bottom: 25px;
    overflow: hidden;
}

.hc-progress-bar {
    height: 100%;
    background: #44b044;
    width: 0%;
    transition: width 300ms ease;
}

/* Success Message */
#hc-success {
    text-align: center;
    padding: 40px 0;
}

#hc-success h3 {
    color: #44b044;
    font-size: 28px;
    font-weight: 700;
}

#hc-success p {
    font-size: 16px;
    color: #555;
}

.hc-modal-dialog .hc-close {
    background: unset;
    color: #422209;
}

.hc-occupation-option span {
    margin-bottom: 10px !important;
    display: block;
}

.step-form-3 h3 {
    width: 100%;
}

.hc-msg .pending,
.rejected {
    color: red;
    text-transform: capitalize;
}

.hc-msg .approved {
    color: #0e7c22;
    text-transform: capitalize;
}

.hc-msg .waitlist {
    color: #eb6500;
    text-transform: capitalize;
}

.hc-step-panel label {
    margin-bottom: 10px;
}

.hc-delivery-pickup {
    display: flex;
}

.step-form-3 textarea {
    margin-bottom: 0px;
}

.hc-step h6 {
    font-size: 20px;
    color: #422209;
    width: 100%;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.hc-step .stories-connections-sec h6 {
    margin: 0px;
}

.hc-msg {
    margin-top: 15px;
}

.hc-msg.hc-email-msg {
    color: red;
}

/* Responsive */
@media(max-width: 1440px) {
    .hc-full-form {
        overflow-y: scroll;
        height: 300px;
    }
}

@media(max-width: 767px) {
    .hc-step {
        grid-template-columns: 1fr;
    }
    .hc-step label {
       font-size: 14px; 
    }
    .hc-modal-dialog {
        padding: 22px;
    }

    .hc-nav {
        flex-direction: column;
        gap: 12px;
    }

    .hc-wine-options .hc-option-card.half {
        width: calc(50% - 15px);
    }

    .hc-modal button {
        padding: 10px 25px;
        font-size: 15px;
    }

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

    .member-form {
        width: 100% !important;
        margin-bottom: 10px;
    }

    .communications-review-sec .single-communications-box {
        width: calc(50% - 15px); 
    }
}