* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

#mobile-nav {
    padding: 10px;
    position: absolute;
    display: flex;
    flex-direction: column;
    height: 100svh;
    width: 0vw;
    z-index: 9999;
    left: -100%;
    background-color: white;
    transition: all ease-in-out 0.3s;
}

#mobile-nav a {
    display: inline-block;
    color: #044323;
    font-size: 14px;
    margin: 0px;
    padding: 10px 0px;
    font-weight: 500;
}

.show-moblie-nav {
    left: 0% !important;
    width: 100vw !important;
}

.close-nav {
    cursor: pointer;
}

.navbar {
    background-color: #044323;
}

/* .nav-link {
    color: #fff;
    font-size: 14px;
    margin: 1rem 1.3rem;
} */
.nav-link {
    color: #044323;
    font-size: 14px;
    margin: 1rem 1.3rem;
}

/* .nav-link.active {
    color: white !important;
} */
.nav-link.active {
    color: #044323 !important;
}

.nav-link.active::before {
    width: 100%;
}

.nav-link {
    position: relative;
}

.nav-link:hover {
    color: #044323;
}

/* .nav-link:hover {
    color: white;
} */

.nav-link::before {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #044323;
    bottom: 0px;
    transition: all ease-in-out 0.3s;
}

/* .nav-link::before {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: white;
    bottom: 0px;
    transition: all ease-in-out 0.3s;
} */

.nav-link:hover::before {
    width: 100%;
}




.text-success-custom {
    color: #044323;
}

.bg-success-custom {
    background-color: #044323;
}

/*.card {
    min-height: 235px !important;
}*/


.btn:hover {
    color: #044323 !important;
    background-color: white;
    border: 1px solid #044323;
}


/* Optimized CSS for improved transition */
#applicantsContainer {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out, opacity 0.6s ease-in-out;
    opacity: 0;
}

#applicantsContainer.show {
    max-height: 200px;
    /* Adjust height as needed */
    opacity: 1;
    display: block;
}

#AppointmentDate {
    display: none;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    /* Ensure it appears above other content */
}

.loading-spinner {
    text-align: center;
}



#errorMessage {
    color: #dc3545;
    font-size: 1.2rem;
    margin-top: 10px;
    display: none;
}

.datepicker {
    z-index: 1060 !important;
    /* Ensure it appears above the modal */
}


.datepicker table tr td.old,
.datepicker table tr td.new {
    color: black !important;
    opacity: 1;
}

.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover {
    color: #d3d3d3 !important;
    cursor: not-allowed;
    opacity: 0.6;
}

.datepicker {
    padding: 8px;
    border: 1px solid #ced4da;
}

/* .main-container {
    max-height: 80vh !important;
    overflow-y: scroll !important;
} */
.remove-row-btn {
    background-color: #dc3545;
    color: white;
    border: 1px solid #dc3545;
    transition: all ease-in-out 0.3s;
}

.remove-row-btn:hover {
    color: #dc3545;
    background-color: white;

}

.border-success-custom {
    border-color: #044323 !important;
}

.btn-custom {
    color: white;
}

.modal-body {
    max-height: 70vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

.modal-footer button {
    width: 100%;
    height: 50px;
    text-transform: capitalize;
    font-weight: 600;
    font-size: 18px;
    font-weight: 600;
    font-size: 18px;
}

.form-control
{
    height: 50px;
    border: 1px solid rgba(0, 0, 0, 0.3);
}