#custom-appointment-form input{width:100%;border-radus:10px}
#custom-appointment-form textarea{width:100%;border-radus:10px}
#custom-appointment-form label{font-size: 14px;padding: 8px;}
#custom-appointment-form button{
    background-color: #5a8766;
  color: #fff;
  border-radius: 4px;
  border-style: none;
  font-family: "iranyekan",Sans-serif;
  font-size: 16px;
}
#resp{padding: 20px;border-radius: 10px;border: 1px solid #5a8766;text-align: center;font-size: 16px;}
.elementor-44 .elementor-element.elementor-element-58cb385{min-heigh:475px}

/* General Styling for Appointment Form */ 

.appointment-container-main {
    font-family: 'iransans', sans-serif;
    max-width: 600px;
    margin: 20px auto;
    padding: 25px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    direction: rtl;
}

.custom-appointment-form .form-step {
    margin-bottom: 20px;
}

.custom-appointment-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.custom-appointment-form input[type="text"],
.custom-appointment-form input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.custom-appointment-form input[type="text"]:focus,
.custom-appointment-form input[type="tel"]:focus {
    border-color: #5a9576;
    outline: none;
}

/* Button Group Styling (for days and times) */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.day-button,
.time-button {
    background-color: #fff;
    color: #4CAF50;
    /* A green shade */
    border: 2px solid #4CAF50;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'iransans', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    flex-grow: 1;
    text-align: center;
}

.day-button:hover,
.time-button:hover {
    background-color: #f1f8e9;
    /* Light green on hover */
}

.day-button.selected,
.time-button.selected {
    background-color: #4CAF50;
    color: #fff;
    border-color: #388E3C;
}

/* Submit Button */
.submit-step {
    text-align: center;
}

.submit-button {
    background-color: #5a9576;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    font-family: 'iransans', sans-serif;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #4a7c64;
}

/* Messages */
.loading-message {
    color: #777;
    width: 100%;
    text-align: center;
}

.loading-spinner {
    color: #5a9576;
    font-weight: bold;
}

/* Final Response Styling */
.appointment-response .error-message {
    color: #D8000C;
    background-color: #FFD2D2;
    padding: 15px;
    border: 1px solid #D8000C;
    border-radius: 6px;
}

.appointment-success {
    color: #270;
    background-color: #DFF2BF;
    padding: 20px;
    border: 1px solid #4F8A10;
    border-radius: 6px;
    text-align: center;
    line-height: 1.8;
}