.mlm-newsletter-box {
    --mlm-newsletter-bg: #fbe7c4;
    --mlm-newsletter-button: #f0ad32;
    background: linear-gradient(135deg, var(--mlm-newsletter-bg, #fbe7c4) 0%, rgba(255,255,255,0.92) 100%);
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}

.mlm-newsletter-box::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: rgba(255,255,255,0.35);
    pointer-events: none;
    mix-blend-mode: soft-light;
}

.mlm-newsletter-header {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.mlm-newsletter-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.mlm-newsletter-icon {
    font-size: 20px;
    color: #d38a1c;
}

.mlm-newsletter-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2f2a1f;
}

.mlm-newsletter-form {
    position: relative;
    z-index: 1;
}

.mlm-newsletter-field {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 0 6px;
    box-shadow: 0 12px 22px rgba(209, 161, 74, 0.2);
    position: relative;
    direction: rtl;
}

.mlm-newsletter-field-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1a64a;
}

.mlm-newsletter-input {
    border: 0;
    flex: 1;
    font-size: 0.95rem;
    padding: 14px 0;
    color: #1f2937;
    background: transparent;
    text-align: right;
}

.mlm-newsletter-input::placeholder {
    color: #9ca3af;
}

.mlm-newsletter-input:focus {
    outline: none;
    box-shadow: none;
}

.mlm-newsletter-input:focus-visible {
    outline: none;
    box-shadow: none;
}

.mlm-newsletter-submit {
    border: 0;
    border-radius: 10px;
    width: 54px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mlm-newsletter-button, #f0ad32);
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mlm-newsletter-submit:hover,
.mlm-newsletter-submit:focus {
    transform: translateX(-2px);
    box-shadow: 0 12px 22px rgba(240, 173, 50, 0.45);
    outline: none;
}

.mlm-newsletter-form.is-loading .mlm-newsletter-submit {
    cursor: wait;
    opacity: 0.7;
}

.mlm-newsletter-form.is-success .mlm-newsletter-field {
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.35);
}

.mlm-newsletter-form.is-error .mlm-newsletter-field {
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.35);
}

.mlm-newsletter-feedback {
    font-size: 0.9rem;
    line-height: 1.6;
    display: none;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

.mlm-newsletter-feedback.is-visible {
    display: block;
}

.mlm-newsletter-feedback.is-success {
    color: #0f766e;
}

.mlm-newsletter-feedback.is-error {
    color: #b91c1c;
}

@media (max-width: 576px) {
    .mlm-newsletter-box {
        padding: 20px 18px;
    }

    .mlm-newsletter-submit {
        width: 48px;
        height: 46px;
    }
}


