/**
 * Frontend Styles for Wedding RSVP Form
 */

.wedding-rsvp-form-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.wedding-rsvp-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e8e8e8;
}

.wedding-rsvp-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.wedding-rsvp-header p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.wedding-rsvp-form .form-group {
    margin-bottom: 35px;
}

.wedding-rsvp-form .form-group label {
    display: block;
    margin-bottom: 12px;
    color: #34495e;
    font-size: 1.1rem;
    font-weight: 500;
}

.wedding-rsvp-form .form-group label .required {
    color: #e74c3c;
    margin-left: 3px;
}

.wedding-rsvp-form input[type="text"],
.wedding-rsvp-form input[type="email"],
.wedding-rsvp-form input[type="tel"],
.wedding-rsvp-form input[type="date"],
.wedding-rsvp-form input[type="time"],
.wedding-rsvp-form select,
.wedding-rsvp-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
}

.wedding-rsvp-form input:focus,
.wedding-rsvp-form select:focus,
.wedding-rsvp-form textarea:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.wedding-rsvp-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 45px;
}

.wedding-rsvp-form textarea {
    resize: vertical;
    min-height: 100px;
}

.wedding-rsvp-form .radio-group,
.wedding-rsvp-form .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wedding-rsvp-form .radio-option,
.wedding-rsvp-form .checkbox-option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.wedding-rsvp-form .radio-option:hover,
.wedding-rsvp-form .checkbox-option:hover {
    border-color: #3498db;
    background: #f0f8ff;
}

.wedding-rsvp-form .radio-option input[type="radio"],
.wedding-rsvp-form .checkbox-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
}

.wedding-rsvp-form .radio-option label,
.wedding-rsvp-form .checkbox-option label {
    margin: 0;
    cursor: pointer;
    flex: 1;
    font-weight: 400;
}

.wedding-rsvp-form .section-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    font-weight: 600;
}

.wedding-rsvp-form .subsection-title {
    font-size: 1.1rem;
    color: #34495e;
    margin: 25px 0 15px;
}

.wedding-rsvp-form .hint {
    font-size: 0.9rem;
    color: #95a5a6;
    margin-top: 5px;
    font-style: italic;
}

.wedding-rsvp-form .submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wedding-rsvp-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.wedding-rsvp-form .submit-btn:active {
    transform: translateY(0);
}

.wedding-rsvp-form .submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.wedding-rsvp-form .date-time-group {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.wedding-rsvp-form .info-box {
    background: #ecf7ff;
    border-left: 4px solid #3498db;
    padding: 15px 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.wedding-rsvp-form .info-box p {
    color: #2c3e50;
    margin: 0;
}

.wedding-rsvp-form .form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 500;
}

.wedding-rsvp-form .form-message.success {
    background: #d4edda;
    color: #27ae60;
    border: 2px solid #27ae60;
}

.wedding-rsvp-form .form-message.error {
    background: #f8d7da;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

/* Responsive */
@media (max-width: 768px) {
    .wedding-rsvp-form-container {
        padding: 30px 20px;
    }
    
    .wedding-rsvp-header h1 {
        font-size: 2rem;
    }
    
    .wedding-rsvp-form .date-time-group {
        grid-template-columns: 1fr;
    }
}
