.ef-subscribe-card {
    max-width: 560px;
    padding: 24px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(28, 37, 54, 0.10);
}

.ef-form {
    display: grid;
    gap: 14px;
}

.ef-hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ef-label {
    display: block;
    color: #172033;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.ef-input-row {
    display: flex;
    gap: 10px;
}

.ef-subscribe-card .ef-email {
    flex: 1 1 auto;
    min-width: 0;
    height: 46px;
    padding-left: 22px !important;
    padding-right: 18px !important;
    text-indent: 0;
    border: 1px solid #c8d1df;
    border-radius: 6px;
    background: #f8fafc;
    color: #172033;
    font-size: 16px;
}

.ef-subscribe-card .ef-email::placeholder {
    color: #9aa3af;
    opacity: 1;
}

.ef-email:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
    outline: none;
}

.ef-submit {
    height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: var(--ef-button-bg, #2563eb);
    color: var(--ef-button-text, #ffffff);
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.ef-submit:hover,
.ef-submit:focus {
    filter: brightness(0.92);
}

.ef-privacy {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.45;
}

.ef-privacy input {
    appearance: none;
    display: grid;
    flex: 0 0 auto;
    place-content: center;
    width: 19px;
    height: 19px;
    margin: 1px 0 0;
    border: 1.5px solid #9aa3af;
    border-radius: 5px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.ef-privacy input::before {
    width: 5px;
    height: 9px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    content: "";
    opacity: 0;
    transform: rotate(40deg) scale(0.7);
    transform-origin: center;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.ef-privacy input:checked {
    border-color: var(--ef-button-bg, #2563eb);
    background: var(--ef-button-bg, #2563eb);
}

.ef-privacy input:checked::before {
    opacity: 1;
    transform: rotate(40deg) scale(1);
}

.ef-privacy input:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
    outline: none;
}

.ef-privacy span {
    padding-top: 1px;
}

.ef-privacy a {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ef-message {
    margin-bottom: 14px;
    padding: 11px 13px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.ef-message-success {
    background: #ecfdf3;
    color: #166534;
}

.ef-message-error {
    background: #fef2f2;
    color: #991b1b;
}

.ef-message-info {
    background: #eff6ff;
    color: #1e40af;
}

@media (max-width: 560px) {
    .ef-subscribe-card {
        padding: 18px;
    }

    .ef-input-row {
        display: grid;
    }

    .ef-submit {
        width: 100%;
    }
}
