/*
|--------------------------------------------------------------------------
| LITF native newsletter form
|--------------------------------------------------------------------------
*/

.litf-newsletter-widget-v1 {
    width: 100%;
    max-width: 580px;
    margin-top: 10px;
}

.litf-newsletter-form {
    position: relative;
    width: 100%;
}

.litf-newsletter-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.litf-newsletter-email {
    flex: 1 1 auto;
    min-width: 0;
    height: 52px;

    padding: 0 17px;

    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 3px;

    background: transparent;

    color: #ffffff;

    font: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color .2s ease,
        background-color .2s ease;
}

.litf-newsletter-email::placeholder {
    color: rgba(255, 255, 255, .67);
}

.litf-newsletter-email:focus {
    border-color: #ffffff;
    background: rgba(255, 255, 255, .05);
}

.litf-newsletter-submit {
    flex: 0 0 auto;

    min-width: 128px;
    height: 52px;

    padding: 0 22px;

    border: 1px solid #ffffff;
    border-radius: 3px;

    background: #ffffff;
    color: #111111;

    font: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color .2s ease,
        color .2s ease,
        opacity .2s ease;
}

.litf-newsletter-submit:hover,
.litf-newsletter-submit:focus-visible {
    background: transparent;
    color: #ffffff;
}

.litf-newsletter-submit:disabled {
    cursor: wait;
    opacity: .6;
}

.litf-newsletter-status {
    min-height: 20px;

    margin: 9px 0 0;

    color: rgba(255, 255, 255, .88);

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

.litf-newsletter-form[data-state="success"]
.litf-newsletter-status {
    color: #ffffff;
    font-weight: 600;
}

.litf-newsletter-form[data-state="error"]
.litf-newsletter-status {
    color: #ffd2d2;
}

.litf-newsletter-consent {
    margin: 3px 0 0;

    color: rgba(255, 255, 255, .58);

    font-size: 11px;
    line-height: 1.45;
}

.litf-newsletter-honeypot {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    left: -10000px !important;
    top: auto !important;

    overflow: hidden !important;

    opacity: 0 !important;

    pointer-events: none !important;
}

.litf-newsletter-sr-only {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}

@media (max-width: 767px) {

    .litf-newsletter-row {
        flex-direction: column;
    }

    .litf-newsletter-email,
    .litf-newsletter-submit {
        width: 100%;
    }

    .litf-newsletter-submit {
        min-width: 0;
    }
}
