/* newsletter.css - Banner newsletter condiviso */

.nl-banner {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
}

.nl-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--blue-500);
}

.nl-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nl-text {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nl-icon {
    font-size: 2rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    width: 28px;
    height: 28px;
}

.nl-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.nl-desc {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.nl-form {
    display: flex;
    gap: 12px;
}

.nl-input {
    padding: 12px 16px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem; /* ≥16px: sotto, iOS zooma al tap sull'input */
    color: var(--gray-900);
    width: 220px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s, background-color 0.15s;
}

.nl-input::placeholder {
    color: var(--gray-400);
}

.nl-input:focus {
    border-color: var(--blue-500);
    background: var(--white);
}

.nl-btn {
    padding: 12px 20px;
    background: var(--blue-500);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.nl-btn:hover {
    background: var(--blue-600);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .nl-banner {
        padding: 20px;
    }

    .nl-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .nl-text {
        flex-direction: column;
        gap: 10px;
    }

    .nl-title {
        font-size: 1rem;
    }

    .nl-desc {
        font-size: 0.8125rem;
    }

    .nl-form {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .nl-input {
        width: 100%;
        padding: 10px 14px;
    }

    .nl-btn {
        padding: 10px 16px;
    }

    .nl-icon {
        flex-shrink: 0;
        min-width: 36px;
    }

    .nl-icon svg {
        width: 36px !important;
        height: 36px !important;
    }
}
