/**
 * TT Site Verify Btn
 *
 * The Agree and Decline buttons of a Site Verify popup. Layout, spacing and
 * colors come from the Elementor controls; the values here are only fallbacks
 * that match the control defaults.
 *
 * @package TT_Flux_Addon
 * @since   1.6.0
 */

/* Wrapper */
.tt-flux-tt-site-verify-btn.tt-site-verify-btn {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

/* Buttons: reset what themes usually style on <button>, so the controls fully decide the look. */
.tt-flux-tt-site-verify-btn .tt-site-verify-btn__button {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 14px 28px;
    border: 0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: normal;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
    transition-property: background-color, color, border-color, box-shadow, transform;
    transition-duration: 0.25s;
    transition-timing-function: ease;
}

.tt-flux-tt-site-verify-btn .tt-site-verify-btn__button--agree {
    color: #ffffff;
    background-color: #0051d5;
}

.tt-flux-tt-site-verify-btn .tt-site-verify-btn__button--decline {
    color: #111827;
    background-color: #e5e7eb;
}

.tt-flux-tt-site-verify-btn .tt-site-verify-btn__button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Full-width buttons: share the row, or fill the column */
.tt-flux-tt-site-verify-btn.tt-site-verify-btn--stretch .tt-site-verify-btn__button {
    flex: 1 1 0;
}

/* Icon */
.tt-flux-tt-site-verify-btn .tt-site-verify-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.tt-flux-tt-site-verify-btn .tt-site-verify-btn__icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* Editor-only hint */
.tt-site-verify-btn__notice {
    margin: 8px 0 0;
    padding: 8px 12px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px dashed #f87171;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .tt-flux-tt-site-verify-btn .tt-site-verify-btn__button {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tt-flux-tt-site-verify-btn .tt-site-verify-btn__button {
        transition: none;
    }
}
