﻿.newsletter-subscription {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 680px;
    padding: 1.25rem;
    color: #ffffff;
    background: rgba(8, 17, 31, 0.88);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 16px;
    backdrop-filter: blur(6px);
}

.newsletter-subscription__icon {
    display: flex;
    flex: 0 0 64px;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    color: #d4af37;
    font-size: 1.75rem;
    border: 2px solid #d4af37;
    border-radius: 50%;
}

.newsletter-subscription__content {
    flex: 1;
    min-width: 0;
}

.newsletter-subscription__title {
    margin: 0 0 0.25rem;
    color: #d4af37;
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
}

.newsletter-subscription__description {
    margin-bottom: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.45;
}

.newsletter-subscription__input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-subscription__input {
    min-width: 0;
    min-height: 46px;
    border: 1px solid rgba(212, 175, 55, 0.65);
    border-radius: 999px;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
}

    .newsletter-subscription__input:focus {
        border-color: #d4af37;
        box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.2);
    }

.newsletter-subscription__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 130px;
    min-height: 46px;
    padding: 0.65rem 1.25rem;
    color: #08111f;
    font-weight: 700;
    white-space: nowrap;
    background: linear-gradient( 135deg, #f2d477, #d4af37 );
    border: 0;
    border-radius: 999px;
}

    .newsletter-subscription__button:hover {
        color: #08111f;
        background: linear-gradient( 135deg, #ffe59a, #dfbd4d );
    }

    .newsletter-subscription__button:disabled {
        cursor: not-allowed;
        opacity: 0.75;
    }

.newsletter-subscription__message {
    margin-top: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.newsletter-subscription__message--success {
    color: #b9f6ca;
    background: rgba(25, 135, 84, 0.22);
    border: 1px solid rgba(25, 135, 84, 0.55);
}

.newsletter-subscription__message--error {
    color: #ffccd1;
    background: rgba(220, 53, 69, 0.22);
    border: 1px solid rgba(220, 53, 69, 0.55);
}

@media (max-width: 576px) {
    .newsletter-subscription {
        align-items: flex-start;
        padding: 1rem;
    }

    .newsletter-subscription__icon {
        display: none;
    }

    .newsletter-subscription__input-group {
        flex-direction: column;
    }

    .newsletter-subscription__button {
        width: 100%;
    }
}
