/* ============================================
   VERSION FOOTER - NEWSLETTER INLINE
   Designed by RH Medias
   ============================================ */

.feta-newsletter-inline {
    max-width: 500px;
    padding: 20px 24px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.feta-newsletter-inline .newsletter-header {
    margin-bottom: 14px;
}

.feta-newsletter-inline .newsletter-header h3 {
    font-size: 19px;
    margin-bottom: 5px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.feta-newsletter-inline .newsletter-header p {
    font-size: 13px;
    opacity: 0.9;
}

/* Formulaire en ligne */
.feta-newsletter-inline .inline-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: start;
}

.feta-newsletter-inline .inline-form p {
    margin: 0 !important;
}

.feta-newsletter-inline .inline-form input[type="email"] {
    padding: 11px 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feta-newsletter-inline .inline-form input[type="email"]:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.feta-newsletter-inline .inline-form input[type="submit"] {
    padding: 11px 28px !important;
    white-space: nowrap;
    min-width: auto !important;
    width: auto !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.feta-newsletter-inline .inline-form input[type="submit"]:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

/* Responsive - Mobile */
@media (max-width: 640px) {
    .feta-newsletter-inline {
        padding: 16px 18px;
    }
    
    .feta-newsletter-inline .inline-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .feta-newsletter-inline .inline-form input[type="submit"] {
        width: 100% !important;
    }
    
    .feta-newsletter-inline .newsletter-header h3 {
        font-size: 17px;
    }
    
    .feta-newsletter-inline .newsletter-header p {
        font-size: 12px;
    }
}

/* ============================================
   VERSION POPUP - NEWSLETTER MODALE
   Designed by RH Medias
   ============================================ */

.feta-newsletter-popup {
    max-width: 100%;
    padding: 0;
    background: transparent;
}

/* Header du formulaire */
.feta-newsletter-popup .newsletter-header {
    text-align: center;
    margin-bottom: 24px;
}

.feta-newsletter-popup .newsletter-header h3 {
    margin: 0 0 10px 0;
    font-size: 26px;
    color: var(--e-global-color-primary);;
    font-weight: 700;
    line-height: 1.3;
}

.feta-newsletter-popup .newsletter-header p {
    margin: 0;
    font-size: 15px;
    color: #27322e;
    line-height: 1.6;
}

/* Réinitialisation des styles Brevo */
.feta-newsletter-popup p {
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.feta-newsletter-popup p.submit-wrapper,
.feta-newsletter-popup p.privacy-note {
    margin-bottom: 0 !important;
}

/* Cache les icônes Dashlane */
.feta-newsletter-popup p span[data-dashlanecreated] {
    display: none !important;
}

/* Row avec deux colonnes */
.feta-newsletter-popup .form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
}

.feta-newsletter-popup .form-row p {
    margin: 0 !important;
}

/* Styles des inputs */
.feta-newsletter-popup input[type="email"],
.feta-newsletter-popup input[type="text"] {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 18px !important;
    margin: 0 !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    height: auto !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    background: white !important;
    color: #2c5f4f !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

.feta-newsletter-popup input[type="email"]:focus,
.feta-newsletter-popup input[type="text"]:focus {
    outline: none !important;
    border-color: #7a9b8e !important;
    box-shadow: 0 0 0 4px rgba(122, 155, 142, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-1px) !important;
}

.feta-newsletter-popup input::placeholder {
    color: #999 !important;
}

/* Bouton submit - Plus gros et attractif */
.feta-newsletter-popup input[type="submit"],
.feta-newsletter-popup .submit-btn {
    display: block !important;
    width: 100% !important;
    padding: 16px 32px !important;
    margin: 0 0 16px 0 !important;
    background: var(--e-global-color-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    height: auto !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(122, 155, 142, 0.35) !important;
    box-sizing: border-box !important;
    text-transform: none !important;
}

.feta-newsletter-popup input[type="submit"]:hover,
.feta-newsletter-popup .submit-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(122, 155, 142, 0.45) !important;
    background: linear-gradient(135deg, #8aab9e 0%, #6d8c7f 100%) !important;
}

.feta-newsletter-popup input[type="submit"]:active,
.feta-newsletter-popup .submit-btn:active {
    transform: translateY(-1px) !important;
}

/* Note de confidentialité */
.feta-newsletter-popup .privacy-note {
    text-align: center;
    font-size: 12px;
    color: #888;
    line-height: 1.5;
    margin-top: 12px !important;
}

/* Responsive - Mobile */
@media (max-width: 640px) {
    .feta-newsletter-popup .newsletter-header h3 {
        font-size: 22px;
    }
    
    .feta-newsletter-popup .newsletter-header p {
        font-size: 14px;
    }
    
    .feta-newsletter-popup .form-row {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    
    .feta-newsletter-popup input[type="email"],
    .feta-newsletter-popup input[type="text"] {
        padding: 12px 16px !important;
        font-size: 14px !important;
    }
    
    .feta-newsletter-popup input[type="submit"],
    .feta-newsletter-popup .submit-btn {
        padding: 14px 28px !important;
        font-size: 16px !important;
    }
}