/* 
 * Stile Minimale Form Adesioni - Compatibile con Hello Elementor 
 */

.simple-rsvp-container {
    max-width: 650px;
    margin: 0 auto;
    font-family: inherit;
    color: #4a4a4a;
}

#simple-rsvp-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
    font-weight: 500;
}

#simple-rsvp-message.success {
    display: block;
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

#simple-rsvp-message.error {
    display: block;
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

#simple-rsvp-form{text-align:center;}

.simple-rsvp-group {
    background-color: #fcfcfc;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    text-align:left;
}

.simple-rsvp-group:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.simple-rsvp-group h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.25rem;
    color: #111827;
    font-weight: 600;
}

.simple-rsvp-field {
    margin-bottom: 18px;
}

.simple-rsvp-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 0.95rem;
}

.simple-rsvp-field input[type="text"],
.simple-rsvp-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
    color: #1f2937;
}

.simple-rsvp-field input[type="text"]::placeholder,
.simple-rsvp-field textarea::placeholder {
    color: #9ca3af;
}

.simple-rsvp-field input[type="text"]:focus,
.simple-rsvp-field textarea:focus {
    outline: none;
    border-color: #6b7280;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1);
}

.simple-rsvp-field textarea {
    min-height: 100px;
    resize: vertical;
}

.simple-rsvp-group hr {
    display: none;
}

/* Bottone Primario (Invia) */
.simple-rsvp-btn-primary {
    background-color: #111827;
    color: #ffffff;
    border: 1px solid transparent;
    padding: 10px 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    display: inline-block;
    width: 80%;
}

.simple-rsvp-btn-primary:hover,
.simple-rsvp-btn-primary:focus {
    background-color: #374151;
    color: #ffffff;
}

.simple-rsvp-btn-primary:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

/* Bottone Secondario (Aggiungi) */
.simple-rsvp-btn-secondary {
    background-color: transparent;
    color: #4b5563;
    border: 1px dashed #9ca3af;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 80%;
    display: inline-block;
}

.simple-rsvp-btn-secondary:hover {
    background-color: #f3f4f6;
    color: #111827;
    border-color: #6b7280;
}

/* Bottone Rimozione */
.simple-rsvp-remove {
    background-color: #fee2e2;
    color: #b91c1c;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
    margin-top: 5px;
}

.simple-rsvp-remove:hover {
    background-color: #fca5a5;
    color: #7f1d1d;
}