/**
 * Estilos para el formulario de Newsletter Diamed
 */

.newsletter-diamed-form-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    /* Sin fondo - transparente */
}

.newsletter-diamed-form-container h3 {
    margin: 0 0 15px 0;
    color: #fff;
    font-size: 24px;
    text-align: center;
}

.newsletter-diamed-form-container p {
    margin: 0 0 20px 0;
    color: #fff;
    text-align: center;
    line-height: 1.5;
}

.newsletter-diamed-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

/* Layout de dos columnas para la primera fila - ESTILOS FORZADOS */
.newsletter-diamed-form .form-row-ld {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
    margin-bottom: 15px !important;
    width: 100% !important;
    align-items: flex-start !important;
}

.newsletter-diamed-form .form-row-ld .form-field {
    flex: 1 1 50% !important;
    min-width: 0 !important;
    width: 50% !important;
    display: flex !important;
    flex-direction: column !important;
}

.form-field {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-field label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.form-field input {
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    background: #f5f5f5;
    color: #333;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.form-field input:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 5px rgba(255,255,255,0.3);
}

.form-field input.error {
    border: 2px solid #dc3545;
    background: #fff;
}

.form-field input::placeholder {
    color: #999;
}

/* Campo honeypot - completamente oculto */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.honeypot-field label,
.honeypot-field input {
    display: none !important;
}

.newsletter-submit-btn {
    background: #fff;
    color: #333;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    text-transform: none;
}

.newsletter-submit-btn:hover {
    background: #f0f0f0;
}

.newsletter-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.newsletter-message {
    padding: 10px;
    border-radius: 4px;
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
    transition: opacity 0.5s ease;
}

.newsletter-message.success {
    background: rgba(212, 237, 218, 0.9);
    color: #155724;
    border: 1px solid rgba(195, 230, 203, 0.9);
}

.newsletter-message.error {
    background: rgba(248, 215, 218, 0.9);
    color: #721c24;
    border: 1px solid rgba(245, 198, 203, 0.9);
}

/* Responsive */
@media (max-width: 600px) {
    .newsletter-diamed-form-container {
        margin: 10px;
        padding: 15px;
    }
    
    .newsletter-diamed-form-container h3 {
        font-size: 20px;
    }
    
    .newsletter-diamed-form .form-row-ld {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .newsletter-diamed-form .form-row-ld .form-field {
        width: 100% !important;
        flex: 1 1 100% !important;
    }
    
    .form-field input {
        font-size: 14px;
        padding: 10px;
    }
    
    .newsletter-submit-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
} 