/**
 * Product Selector Styles
 *
 * Styles for the product selector shortcode tool
 *
 * @package Hedredesign
 * @since 1.0.0
 */

/* Product Selector Wrapper */
.product-selector-wrapper {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 30px;
    background: var(--hebTeal);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.product-selector-title {
    font-size: 27px;
    font-weight: 600;
    margin: 0 0 24px;
    line-height: 130%;
}



/* Question Container */
.product-selector-questions-container {
    position: relative;
    min-height: 400px;
}


.product-selector-question-text {
    font-size: 27px;
    font-weight: 600;
    margin: 0 0 24px;
    line-height: 130%;
    color: #fff;
}

/* Options */
.product-selector-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-selector-option {
    position: relative;
}
.product-selector-option:last-child{
    margin-bottom: 15px;
}
.product-selector-option-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.product-selector-option-label {
    display: block;
    padding: 12px 16px;
    border: 1px solid #65CF8C33;
    border-radius: 6px;
    cursor: pointer;
    color: #fff;
    position: relative;
}

.product-selector-option-label:hover {
    background: #65cf8c66;
}

.product-selector-option-label.has-error::before {
    border-color: #E22E1C;
}

.product-selector-option-input:checked + .product-selector-option-label,
.product-selector-option.selected .product-selector-option-label {
    background: #65cf8c66;
}

.product-selector-option-label::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s ease;
    box-sizing: border-box;
}



.product-selector-option.selected .product-selector-option-label::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: transparent;
    transition: all 0.3s ease;
    background-color: #fff;
}

.product-selector-option-label .option-text {
    display: block;
    font-size: 16px;
    font-weight: 400;
    padding-left: 32px;
}

.option-result-content {
    display: none;
}

.product-selector-validation-message {
    padding: 10px 15px;
    background-color: #E22E1C;
    color: #fff;
    border-radius: 4px;
    margin: 5px 0 0;
    display: inline-block !important;
    position: relative;
}

.product-selector-validation-message::after {
    bottom: 100%;
    left: 12%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(226, 46, 28, 0);
    border-bottom-color: #E22E1C;
    border-width: 7px;
    margin-left: -7px;
}
.product-selector-btn-submit {
    display: block;
    width: 100%;
    background-color: #FFD700;
    box-shadow: none;
    border: 0;
    padding: 16px 32px;
    border-radius: 100px;
    font-size: 22px;
    font-weight: 700;
    color: #00414C;
    margin-top: 24px;
    text-transform: uppercase;
    line-height: 120%;
}

.product-selector-btn-submit:hover {
    background: #65CF8C;
}


.product-selector-btn-reset {
    background: #28a745;
    margin: 20px auto 0;
    display: block;
}

.product-selector-btn-reset:hover {
    background: #218838;
}
/*result Section*/
.mvp-result-content {
    color: #fff;
}

.mvp-result-content h3 {
    font-size: 27px;
    font-weight: 600;
    margin: 0 0 15px;
}

.mvp-result-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #fff;
}

.mvp-result-content p span, .mvp-result-content p strong{
    font-size: 20px;
    font-weight: 600;
}

.mvp-result-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.mvp-result-content ul li {
    padding-left: 28px;
    position: relative;
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
    margin: 8px 0;
}

.mvp-result-content ul li:before {
    content: "";
    position: absolute;
    left: 0;
    background: url(../../assets/images/tick.svg) no-repeat 0 9px;
    width: 22px;
    height: 22px;
}

.mvp-cta-section {
    padding-top: 25px;
    border-top: 1px solid #65CF8C33;
}

.mvp-cta-section p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
    font-weight: 600;
}

.mvp-cta-button {
    display: block;
    background-color: #FFD700;
    color: #00414C;
    padding: 12px 30px;
    border-radius: 100px;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.mvp-cta-button[href^="tel:"]:before {
    background: url(../../assets/images/phone_teal.svg) no-repeat center/26px auto;
    content: "";
    width: 26px;
    height: 26px;
    display: inline-block;
    margin-right: 10px;
    position: relative;
    top: 4px;
}

.mvp-cta-button:hover {
    background-color: var(--hebMint);
    color: #00414C;
    text-decoration: none;
}


.mvp-cta-links {
    display: flex;
    margin: 20px 0 0;
    justify-content: space-evenly;
}

.mvp-cta-links a {
    font-weight: 600;
    text-decoration: underline;
}

.mvp-cta-links .learn-more-link {
    color: #FFD700;
}



.mvp-cta-links .restart-tool-link {
    color: rgba(255, 255, 255, .6);cursor: pointer;
}

.mvp-cta-links .learn-more-link:hover,
.mvp-cta-links .restart-tool-link:hover {
    color: var(--hebMint);
}

.mvp-cta-links a:hover {
    text-decoration: none;
}



/* Error Message */
.product-selector-error {
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    color: #856404;
    text-align: center;
}

.product-selector-error p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-selector-wrapper {
        padding: 20px 15px;
        margin: 0 auto 30px;
    }

    .product-selector-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .product-selector-question-text {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .product-selector-option-label {
        padding: 15px 18px;
    }

    .product-selector-option-label .option-text {
        font-size: 15px;
        padding-left: 40px;
    }

    .product-selector-navigation {
        flex-direction: column;
    }

    .product-selector-btn {
        width: 100%;
        padding: 14px 30px;
    }

    .product-selector-btn-next {
        margin-left: 0;
    }

    .product-selector-results {
        padding: 20px 15px;
    }

    .product-selector-results-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .product-selector-wrapper {
        padding: 15px 10px;
    }

    .product-selector-title {
        font-size: 20px;
    }

    .product-selector-question-text {
        font-size: 18px;
    }

    .product-selector-option-label {
        padding: 12px 15px;
    }

    .product-selector-option-label .option-text {
        font-size: 14px;
        padding-left: 35px;
    }
}

.lead-form-trust-badges {
    background: #fff;
    border-top: 1px solid #e5e5e5;
}