﻿.field-error {
    display: none;
    color: #dc3545; font-weight:500;
    font-size: 10px;
}


/* ================================
   THANK YOU POPUP
================================ */

.thanks-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(18, 25, 22, 0.55);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


/* Popup */

.thanks-popup {
    position: relative;

    width: 100%;
    max-width: 440px;

    padding: 38px 36px 32px;

    background: #ffffff;

    border: 1px solid rgba(13, 150, 111, 0.08);

    border-radius: 20px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.16),
        0 4px 15px rgba(0, 0, 0, 0.05);

    text-align: center;

    animation: thanksPopupIn 0.3s ease;
}


/* Close */

.thanks-close {
    position: absolute;

    top: 14px;
    right: 16px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #f7f8f8;

    color: #777;

    font-size: 32px;
    font-weight: 300;

    cursor: pointer;

    transition: all 0.2s ease;
}

.thanks-close:hover {
    background: #eeeeee;
    color: #222;
}


/* Success Icon */

.success-icon {
    width: 66px;
    height: 66px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e9f8f3;

    box-shadow:
        0 0 0 8px #f5fcf9;
}

.success-icon span {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #0d966f;

    color: #ffffff;

    font-size: 22px;
    font-weight: 600;
}


/* Content */

.thanks-label {
    margin-bottom: 8px;

    color: #0d966f;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.4px;
}


.thanks-popup h2 {
    margin:0 0 14px;

    color: #202523;

    font-size: 28px;
    font-weight: 600;

    letter-spacing: -0.5px;
}


.thanks-main {
    margin: 0 auto 10px;

    max-width: 340px;

    color: #343a38!important ;

    font-size: 15px;
    line-height: 1.6;
}


.thanks-main strong {
    font-weight: 600;
    color: #222;
}


.thanks-description {
    margin: 0 auto;

    max-width: 350px;

    color: #6c6c6c;

    font-size: 13px;
    line-height: 1.7;
}

.thanks-description strong{font-weight:600 !important;}
/* Call Card */

.call-card {
    margin-top: 24px;

    padding: 14px 16px;

    display: flex;
    align-items: center;

    text-align: left;

    background: #e6fff2;

    border: 1px solid #56bd95;

    border-radius: 12px;
}


.call-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #fff;

    color: #0d966f;

    font-size: 18px;
}


.call-content {
    margin-left: 12px;

    display: flex;
    flex-direction: column;
}


.call-content span {
    margin-bottom: 2px;

    color: #777;

    font-size: 13px;
}


.call-content a {
    color: #0d966f;

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;
}


.call-content a:hover {
    text-decoration: underline;
}


.call-content small {
    margin-top: 1px;

    color: #999;

    font-size: 10px;
}


/* Footer */

.thanks-footer {
    margin: 20px 0 0px;

    color: #787878;

    font-size: 12px;
}


/* Button */

.thanks-done {
    width: 100%;

    padding: 12px 20px;

    border: 0;
    border-radius: 9px;

    background: #0d966f;

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;
}


.thanks-done:hover {
    background: #087d5c;

    transform: translateY(-1px);

    box-shadow: 0 5px 15px rgba(13, 150, 111, 0.2);
}


/* Animation */

@keyframes thanksPopupIn {

    from {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }

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


/* Mobile */

@media (max-width: 480px) {

    .thanks-popup {
        padding: 34px 22px 25px;

        border-radius: 17px;
    }

    .thanks-popup h2 {
        font-size: 25px;
    }

    .success-icon {
        margin-bottom: 18px;
    }

}