/* Newsletter Input Component - Versione Semplice */
.newsletter-input {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 35px;
    overflow: hidden;
}

.newsletter-input input {
    flex: 1;
    padding: 20px 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.newsletter-input input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    line-height: 1.2;
    transform: translateY(-1px);
}

.newsletter-input input:focus {
    color: #ffffff;
}

/* Nasconde messaggi di errore di validazione */
.newsletter-input .field-error,
.newsletter-input input:invalid {
    border: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
}

.field-error {
    display: none !important;
}

/* Rimuove stili di validazione del browser */
.newsletter-input input:required:invalid {
    box-shadow: none;
    border: none;
    color: #ffffff;
}

.newsletter-input input:focus:invalid {
    box-shadow: none;
    border: none;
    color: #ffffff;
}

.newsletter-input button {
    padding: 0 20px;
    background: #4f46e5;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    min-width: 60px;
    border-radius: 8px;
    margin: 0;
    height: 100%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.newsletter-input button:hover {
    background: #4338ca;
}

.newsletter-input button:active {
    background: #3730a3;
}

.newsletter-input button i {
    font-size: 16px;
}

/* Responsive design */
@media (max-width: 768px) {
    .newsletter-input {
        min-height: 48px;
        border-radius: 6px;
    }
    
    .newsletter-input input {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .newsletter-input button {
        padding: 0 16px;
        min-width: 56px;
        border-radius: 6px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        margin: 0;
        height: 100%;
    }
    
    .newsletter-input button i {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .newsletter-input {
        min-height: 44px;
        border-radius: 6px;
    }
    
    .newsletter-input input {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .newsletter-input button {
        padding: 0 14px;
        min-width: 52px;
        border-radius: 6px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        margin: 0;
        height: 100%;
    }
}
