/**
 * Providence Forms Styles
 */

.providence-form-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.providence-booking-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: #0066cc;
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #0066cc;
}

.form-field {
    margin-bottom: 25px;
}

.form-field label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-field .required-mark {
    color: #d32f2f;
    font-weight: bold;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="tel"]:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

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

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.radio-group label:hover,
.checkbox-group label:hover {
    background-color: #f5f5f5;
}

.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.field-error {
    display: none;
    color: #d32f2f;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

.field-error.show {
    display: block;
}

.form-field.has-error input,
.form-field.has-error textarea {
    border-color: #d32f2f;
    background-color: #fff5f5;
}

.form-field.has-error label {
    color: #d32f2f;
}

.form-messages {
    margin-bottom: 25px;
}

.form-messages .error-message,
.form-messages .success-message {
    padding: 15px 20px;
    border-radius: 5px;
    font-weight: 500;
    margin-bottom: 20px;
}

.form-messages .error-message {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #d32f2f;
}

.form-messages .success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.form-actions {
    margin-top: 30px;
    text-align: center;
}

.submit-btn {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

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

.submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .providence-form-container {
        padding: 10px;
    }
    
    .providence-booking-form {
        padding: 20px;
    }
    
    .form-section h3 {
        font-size: 20px;
    }
    
    .submit-btn {
        width: 100%;
    }
}
