/*
File: Custom Css File
*/

/* BONUS: Fix the inputs inside to ensure they don't look out of place
	   (Only needed if Bootstrap doesn't auto-catch them) */
[data-bs-theme="dark"] .form-control {
    background-color: #2b3035;
    border-color: #495057;
    color: #fff;
}

[data-bs-theme="dark"] .form-select {
    background-color: #2b3035;
    border-color: #495057;
    color: #fff;
}
 
.modal-dialog .modal-header {
    background: var(--tb-primary);
    color: #fff;
}

.modal-dialog .modal-title {
    color: #fff;
}


.choices {
    margin-bottom: 0px;
}

/* Ensure Choices dropdown is above modal body content */
.modal .choices,
.modal .choices__inner {
    width: 100%;
}

.modal .choices__list--dropdown {
    z-index: 1060; /* modal is 1055; dropdown must be above */
}

/*Adjust Datatable*/
.customdatatable th,
.customdatatable td {
    white-space: nowrap;
}

.customdatatable .dt-scroll-body {
    border-bottom-style: none !important;
}
 

/* Preloader Styles */  
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    border: 8px solid var(--tb-primary);
    border-top: 8px solid #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

.datatable-custom-filter-textbox .input-group-text, .datatable-custom-filter-textbox input {
    height:31px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
