/* ==================================================
   EAA Thank You
================================================== */

.eaa-thankyou-page {
    padding: 64px 20px 80px;
}

.eaa-thankyou-inner {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.eaa-thankyou {
    padding: 48px 40px;
    border: 1px solid #dfe5eb;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.eaa-thankyou-label {
    margin: 0 0 10px;
    font-size: 15px;
    color: #222;
}

.eaa-thankyou-title {
    margin: 0 0 16px;
    font-size: 30px;
    line-height: 1.5;
    font-weight: 700;
    color: #0b2d55;
}

.eaa-thankyou-lead {
    margin: 0 0 24px;
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.eaa-thankyou-message {
    margin: 0 auto 32px;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.95;
    color: #111;
}

.eaa-thankyou-message p {
    margin: 0 0 12px;
}

.eaa-thankyou-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.eaa-thankyou-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 6px;
    background: #0b2d55;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.eaa-thankyou-button:hover {
    color: #fff;
    opacity: 0.88;
}

.eaa-thankyou-button--sub {
    border: 1px solid #0b2d55;
    background: #fff;
    color: #0b2d55;
}

.eaa-thankyou-button--sub:hover {
    color: #0b2d55;
}

@media (max-width: 767px) {

    .eaa-thankyou-page {
        padding: 40px 16px 56px;
    }

    .eaa-thankyou {
        padding: 32px 20px;
    }

    .eaa-thankyou-title {
        font-size: 22px;
        line-height: 1.5;
        white-space: nowrap;
    }

    .eaa-thankyou-lead {
        font-size: 15px;
    }

    .eaa-thankyou-message {
        margin-bottom: 28px;
        text-align: left;
        font-size: 14px;
        line-height: 1.9;
    }

    .eaa-thankyou-message br {
        display: none;
    }

    .eaa-thankyou-actions {
        flex-direction: column;
        gap: 12px;
    }

    .eaa-thankyou-button {
        width: 100%;
        min-width: 0;
    }

}

@media (max-width: 767px) {
    .eaa-thankyou-title {
        white-space: normal;
        text-wrap: balance;
    }

    .eaa-thankyou-lead {
        text-wrap: balance;
    }
}
