﻿.am-foot__newsletter {
    display: block;
}

.am-foot__newsletterText {
    margin: 0 0 12px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.am-foot__newsletterForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.am-foot__newsletterRow {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.am-foot__newsletterInput {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #d9e1ea;
    border-radius: 14px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

    .am-foot__newsletterInput::placeholder {
        color: #9ca3af;
    }

    .am-foot__newsletterInput:focus {
        border-color: #94a3b8;
        box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06);
    }

.am-foot__newsletterBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid #111827;
    border-radius: 14px;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease, filter .18s ease;
}

    .am-foot__newsletterBtn:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(17, 24, 39, 0.16);
        filter: brightness(1.03);
    }

    .am-foot__newsletterBtn:active {
        transform: translateY(0);
        box-shadow: 0 6px 12px rgba(17, 24, 39, 0.12);
    }

    .am-foot__newsletterBtn:disabled {
        opacity: .7;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.am-foot__newsletterResult {
    display: block;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

    .am-foot__newsletterResult.is-success {
        color: #166534;
        background: #dcfce7;
        border-color: #bbf7d0;
    }

    .am-foot__newsletterResult.is-error {
        color: #991b1b;
        background: #fee2e2;
        border-color: #fecaca;
    }

.am-foot__socialBlock--after-newsletter {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

@media (max-width: 991.98px) {
    .am-foot__newsletterBtn {
        width: 100%;
    }
}
