.modal {
    z-index: 1050 !important;
}

.modal-backdrop {
    z-index: 1040 !important;
}

.navbar {
    z-index: 1000 !important;
    /* Ensure navbar is below modal */
}

/* Style the close button to make it visible and aligned */
.btn-close-custom {
    background: white;
    color: #444;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 20px;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 1;
}

.btn-close-custom:hover {
    background: #e684ae;
    color: white;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.whatsapp-float .my-float {
    margin-top: 16px;
}

.whatsapp-float:hover {
    background-color: #22c35e;
    color: #fff;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Hide loader after page load */
.loader-hidden {
    display: none;
}

/* Style to ensure other elements stay in place */
body.loaded {
    overflow: auto;
}

body.loading {
    overflow: hidden;
}

/* Modal Style Enhancements */
.modal-content {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: none;
    text-align: center;
    justify-content: center;
    position: relative;
}

.modal-header h5 {
    font-weight: 600;
    color: #333;
    font-size: 1.5rem;
}

.modal-header .btn-close-custom {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 20px;
}

.modal-body label {
    font-size: 0.9rem;
    color: #333;
}

.modal-body input,
.modal-body select {
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    width: 100%;
}

.modal-body button {
    background-color: #00a8c5;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 10px;
    width: 100%;
    margin-top: 20px;
    border: none;
}

.modal-body button:hover {
    background-color: #008fa1;
}

.modal-content {
    max-width: 500px;
    margin: 0 auto;
}

.alert {
    font-size: 0.85rem;
    padding: 10px;
    border-radius: 10px;
}
/* Style for error messages */
