/**
 * WPLudo - Shortcode [wpludo_gift_card_form]
 * Mise en page du formulaire (sections, champs, encart info, bouton).
 * Porte le 2026-10-03 depuis le theme enfant Divi (custom.css) pour ne plus dependre du theme actif ;
 * le reste du style (cartes de choix, confirmation) est dans le <style> du shortcode.
 */

.gift-card-section {
    background: white;
    border-radius: 16px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gift-card-section h3 {
    margin: 0 0 20px 0;
    font-size: 1.15em;
    font-weight: 700;
    color: #1f2937;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ludo-primary, #e36c1d);
}

.gift-card-field {
    margin-bottom: 20px;
}

.gift-card-field:last-child {
    margin-bottom: 0;
}

.gift-card-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 0.95em;
}

.gift-card-field label .required {
    color: var(--ludo-primary, #e36c1d);
}

.gift-card-field input[type="text"],
.gift-card-field input[type="email"],
.gift-card-field input[type="tel"],
.gift-card-field textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
}

.gift-card-field input:focus,
.gift-card-field textarea:focus {
    border-color: var(--ludo-primary, #e36c1d);
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(227, 108, 29, 0.1);
}

.gift-card-field textarea {
    resize: vertical;
    min-height: 100px;
}

.gift-card-info {
    background: linear-gradient(135deg, rgba(227, 108, 29, 0.06), rgba(245, 158, 11, 0.08));
    border: 1px solid rgba(227, 108, 29, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.gift-card-info p {
    margin: 0;
    color: #374151;
    font-size: 0.95em;
    line-height: 1.6;
}

.gift-card-info p:first-child {
    margin-bottom: 8px;
}

.gift-card-info strong {
    color: var(--ludo-primary, #e36c1d);
}

.gift-card-submit {
    text-align: center;
}

.gift-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: var(--ludo-primary, #e36c1d);
    color: white !important;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(227, 108, 29, 0.3);
}

.gift-card-btn:hover {
    background: var(--ludo-primary-light, #f59a4a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 108, 29, 0.4);
}

@media (max-width: 600px) {
    .gift-card-section {
        padding: 20px;
    }
    
    .gift-card-field input,
    .gift-card-field textarea {
        padding: 12px 15px;
    }
    
    .gift-card-btn {
        width: 100%;
        padding: 14px 30px;
    }
}

