.week-navigation{
    padding-left: 5px;
}
button#next-week,button#prev-week {
    padding: 5px 10px;
    font-size: 20px;
    margin-left: 10px;
}
.day-buttons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    margin-top: 10px;
}
.day-buttons button {
    padding: 10px 15px;
    border: none;
    background-color: #f0f0f0;
    cursor: pointer;
    text-transform: capitalize;
}
#week-start{width: 0;padding:0;}
.day-buttons button.active {
    background-color: #82bdc7;
}
.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding-left: 5px;
}
.time-slot {
    width: 100px;
    padding: 10px;
    text-align: center;
    background-color: grey;
    color: white;
    cursor: not-allowed;
}
.time-slot.available {
    background-color: #82bdc7;
    cursor: pointer;
}
.time-slot.selected {
    background-color: #efaba7;
    color: white;
}
#error-message {
    color: red;
    display: none;
    margin-bottom: 10px;
}
#next-step {
    padding: 10px 20px;
    background-color: #efaba7;
    color: white;
    border: none;
}
div.h2 {
    text-align: left;
    font-weight: 600;
    font-size: 25px;
    line-height: 148.8%;
    margin-bottom: 10px;
}
.hidden {
    display: none;
}
form#appointmentForm {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

form#appointmentForm button {
    padding: 10px 20px;
    background-color: #efaba7;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}
form#appointmentForm .form-group {
    margin-bottom: 15px;
}
form#appointmentForm label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}
form#appointmentForm input, form#appointmentForm select, form#appointmentForm textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
form#appointmentForm input[type="radio"], form#appointmentForm input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-left: 10px;
}
#newpatent,#insuranceyes,#termscheck{margin-left: 0px!important;}
form#appointmentForm .form-group-inline {
    display: flex;
    gap: 15px;
}
form#appointmentForm .form-group-inline .form-group {
    flex: 1;
}
form#appointmentForm .error {
    color: red;
    font-size: 14px;
}
form#appointmentForm .terms {
    font-size: 14px;
}
form#appointmentForm #back-to-step1{float: right;}

/* Dropdown button styles */
form#appointmentForm .dropdown {
    position: relative;
    display: inline-block;
}

form#appointmentForm #dropdownButton {
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

form#appointmentForm #dropdownButton .arrow {
    margin-left: 10px;
}

form#appointmentForm .dropdown-menu {
    /*display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);*/
    z-index: 1;
    padding: 10px;
    list-style-type: none;
    margin: 0;
    width: 1120px;
    border-radius: 5px;
}

form#appointmentForm .dropdown-menu li {
    padding: 5px 10px;
    float: left;
    display: flex;
    width: 270px;
}

form#appointmentForm .dropdown-menu li input {
    margin-right: 10px;
}

/* Show dropdown when button is clicked */
form#appointmentForm .dropdown.show .dropdown-menu {
    display: block;
}

/* Styling for checkbox label */
form#appointmentForm .dropdown-menu li label {
    font-size: 14px;
    cursor: pointer;
}

      /* Basic styles for the search input and dropdown */
#insuranceDetails .search-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#insuranceDetails  .dropdown {
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    background-color: white;
    position: absolute;
    width: 100%;
}

#insuranceDetails  .dropdown-item {
    padding: 8px;
    cursor: pointer;
}

#insuranceDetails  .dropdown-item:hover {
    background-color: #f1f1f1;
}

/* Modal styles */
#successModal.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4); /* Black with opacity */
}

/* Modal content */
#successModal .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    text-align: center;
}

/* Close button */
#successModal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#successModal .close:hover,
#successModal .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
#successModal p{
    margin-bottom: 0px;
    font-size: 20px;
}


@media only screen and (max-width: 767px) {
    .week-navigation label{
        width: 100%;
        float: left;
        text-align: center;
    }
    .week-navigation .datepicker{
        width: 0;
        padding: 0;
        height: 0;
    }
    .day-buttons{
        display: grid;
    }
    .day-buttons button{
        margin-bottom: 10px;
    }
    form#appointmentForm .dropdown-menu{
        width: auto;
        float: left;
        padding: 0;
    }
    form#appointmentForm .form-group-inline{
        display: block;
    }
}