/* Styling individual checkbox containers */
.checkbox-container {
    display: flex;
    align-items: center;
    padding: 8px;
    border: 1px solid #ddd;
    margin: 0;
    border-radius: 4px;
    background-color: #fff;
}

/* FontAwesome icon styling */
.checkbox-container i {
    margin-right: 10px;  /* Space between icon and label text */
}

/* Optional: Hover effect */
.checkbox-container:hover {
    background-color: #f0f0f0;
}

	 #submitBtn {
        width: 100%;
        padding: 12px;
    }
	
	/* Styling the entire checkbox group */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* Creates 2 columns */
    gap: 10px; /* Adds space between checkboxes */
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* Styling individual checkbox containers */
.checkbox-container {
    display: flex;
    align-items: center;
    padding: 8px;
    border: 1px solid #ddd;
    margin: 0;
    border-radius: 4px;
    background-color: #fff;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

/* Hover effect for checkbox container */
.checkbox-container:hover {
    background-color: #f0f0f0;
}

/* Customizing the checkbox appearance */
.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
}

/* Optional: Styling label text */
.checkbox-container label {
    font-size: 14px;
    font-weight: normal;
}

    .wizard-step { display: none; padding: 20px; border-radius: 5px; }
    .wizard-step.active { display: block; }

    .calendar, .time-slots {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }

    .day-button, .slot-button, .job-type-btn {
        margin: 5px;
        padding: 12px 15px;
        cursor: pointer;
        border-radius: 4px;
        font-weight: bold;
    }

    .day-button.selected, .slot-button.selected, .job-type-btn.selected {
        background-color: #4CAF50;
        color: white;
        border: 2px solid #4CAF50;
    }

    .slot-button.unavailable {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    cursor: not-allowed;
}
.slot-button.available {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    cursor: pointer;
}


    .calendar-nav { margin-top: 20px; text-align: center; }
    #selectedMonthYear { font-weight: bold; text-align: center; margin-bottom: 15px; }
    #selectedAppointment {
        background: #f9f9f9;
        border-radius: 4px;
        padding: 10px;
        margin-bottom: 20px;
        text-align: center;
    }
    #selectedAppointment p { margin: 0; font-size: 16px; }
    #selectedDateDisplay, #selectedTimeDisplay {
        font-weight: bold;
        color: #4CAF50;
    }

    .job-type-btn.selected {
        background-color: #007BFF;
        color: white;
    }
	
	#selectedAppointment {
    background: #f9f9f9;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

#appointmentDetailsBox {
    display: flex;
    flex-direction: row;
    font-size: 16px;
    font-weight: bold;
    color: #4CAF50;
    padding: 10px;
    border-radius: 4px;
    border: 2px solid #4CAF50;
    background-color: #e8f5e9;
}

#selectedDateDisplay, #selectedTimeDisplay {
    margin: 0 5px;
}

#appointmentDetailsBox span {
    color: #388E3C; /* Dark green for better contrast */
}

.wizard-step {
    display: none;
    padding: 20px;
    border-radius: 5px;
}

.wizard-step.active {
    display: block;
}

#step1 .calendar-nav {
    margin-top: 20px;
    text-align: center;
	
}
	
	@media (max-width: 767px) {
    /* Full width for buttons on mobile */
    .btn {
        width: 100%;
        margin-top: 10px;
    }

    /* Reduced padding and center-align the wizard step content */
    .wizard-step {
        padding: 15px;
        text-align: center;
    }

    /* Adjust calendar and time slot button size for mobile */
    .day-button, .slot-button, .job-type-btn {
        font-size: 14px;
        padding: 10px;
        margin: 3px;
    }

    /* Display selected appointment details in a centered, mobile-friendly way */
    #selectedAppointment {
        flex-direction: column;
        padding: 10px;
    }

    /* Ensure time slot buttons wrap properly on small screens */
    .time-slots {
        justify-content: space-around;
    }

    /* Full width for submit button */
    #submitBtn {
        width: 100%;
        padding: 12px;
    }
}

/* Make 'Back' button an arrow icon only */
#backButton {
    background: none;
    border: none;
    font-size: 24px;
    padding: 0;
    width: auto;
    color: #007BFF;
    cursor: pointer;
}

  /* Enlarge input boxes for better UX */
    input[type="text"], input[type="email"], input[type="tel"] {
        font-size: 1.2em;
        padding: 10px;
        width: 100%;
    }
    
    /* Other existing styles */
    .wizard-step { display: none; padding: 20px; border-radius: 5px; }
    .wizard-step.active { display: block; }

#selectedAppointment p {
    margin: 0;
    font-weight: bold;
}

#appointmentDetailsBox {
    display: block;
    margin-top: 5px;
    font-size: 16px;
}

#selectedDateDisplay, #selectedTimeDisplay {
    font-weight: normal;
}

/* Base Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn {
  margin: 10px;
  padding: 12px 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  display: inline-block;
}

.btn-success {
  background-color: #4caf50;
  color: white;
}

.btn-danger {
  background-color: #f44336;
  color: white;
}

/* Responsive Styles */
@media (max-width: 600px) {
  .modal-content {
    margin: 20% auto;
    width: 95%;
    padding: 15px;
    font-size: 14px;
  }

  .btn {
    padding: 10px 15px;
    font-size: 14px;
  }

  .modal-content .btn {
    margin: 5px auto;
    display: block;
    width: 90%;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .modal-content {
    margin: 25% auto;
    font-size: 12px;
  }

  .btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .modal-content .btn {
    margin: 5px auto;
    display: block;
    width: 95%;
    text-align: center;
  }
}



