/* Request Appointment Plugin - Frontend Styles */

.ra-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    

}

.ra-appointment-form {
    font-family: 'ProximaNova Regular', Helvetica, Arial, Lucida, sans-serif;
}

.ra-form-group {
    margin-bottom: 20px;
}

.ra-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #000;
    font-weight: 500;
    font-size: 14px;
}

.ra-required {
    color: #8aa7c8;
}

.ra-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #8aa7c8 !important;
    border-radius: 4px;
    font-family: 'ProximaNova Regular', Helvetica, Arial, Lucida, sans-serif;
    font-size: 16px;
    color: #000;
    background-color: #fff;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    height: 48px;
    line-height: normal;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.ra-form-control:focus {
    outline: none;
    border-color: #8aa7c8 !important;
    box-shadow: 0 0 0 2px rgba(138, 167, 200, 0.2);
}

.ra-form-control::placeholder {
    color: #999;
}

/* Specific styling for date and time inputs */
input[type="date"].ra-form-control,
input[type="time"].ra-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #8aa7c8 !important;
    height: 48px;
    font-size: 16px;
    color: #000;
    cursor: pointer;
}

input[type="date"].ra-form-control::-webkit-calendar-picker-indicator,
input[type="time"].ra-form-control::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: opacity(0.6);
}

input[type="date"].ra-form-control:hover::-webkit-calendar-picker-indicator,
input[type="time"].ra-form-control:hover::-webkit-calendar-picker-indicator {
    filter: opacity(1);
}

textarea.ra-form-control {
    resize: vertical;
    min-height: 120px;
    height: auto;
    line-height: 1.5;
}

.ra-recaptcha-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.ra-submit-btn {
    width: 100%;
    padding: 14px 30px;
    background-color: #8aa7c8;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-family: 'ProximaNova Regular', Helvetica, Arial, Lucida, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ra-submit-btn:hover {
    background-color: #7696b8;
}

.ra-submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.ra-form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
    font-family: 'ProximaNova Regular', Helvetica, Arial, Lucida, sans-serif;
}

.ra-form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ra-form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ra-form-container {
        padding: 20px;
    }
    
    .ra-form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}
