/* Hide scrollbar for Chrome, Safari, and Opera */
body::-webkit-scrollbar {
    width: 0.8em;
}

body::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

body::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 6px;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}


/* Hide scrollbar for IE, Edge, and Firefox */
body {
    scrollbar-width: thin;
    scrollbar-color: #f1f1f1 #888;
}

/* For WebKit browsers (Chrome, Safari) */
div::-webkit-scrollbar {
    width: 0.8em;
    height: 0.8em;
}

div::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

div::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 6px; /* Make the scrollbar thumb curved */
}

div::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/* For Firefox */
div {
    scrollbar-width: thin;
    scrollbar-color: #f1f1f1 #888;
}

/* For WebKit browsers (Chrome, Safari) */
form::-webkit-scrollbar {
    width: 0.8em;
    height: 0.8em;
}

form::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

form::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 6px; /* Make the scrollbar thumb curved */
}

form::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/* For Firefox */
form {
    scrollbar-width: thin;
    scrollbar-color: #f1f1f1 #888;
}


.form-group label {
    font-size: 0.875rem;
    line-height: 1.4rem;
    vertical-align: top;
    margin-bottom: 0.5rem;
    width: 120%;
}

.input-container {
    height: 50px;
    position: relative;
    width: 100%;
}

.ic1 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.ic2 {
    margin-top: 30px;
}

.input {
    background-color: #0a9df373;
    border-radius: 12px;
    border: 0;
    box-sizing: border-box;
    color: black;
    font-size: 13px;
    height: 100%;
    outline: 0;
    padding: 15px 15px 10px;
    width: 100%;
}


.select {
    background-color: #e0ecf380;
    border-radius: 12px;
    border: 0;
    box-sizing: border-box;
    color: black;
    font-size: 18px;
    height: 100%;
    outline: 0;
    /*padding: 4px 20px 0;*/
    width: 100%;
}

.cut {
    background-color: white;
    border-radius: 10px;
    height: 20px;
    left: 20px;
    position: absolute;
    top: -20px;
    transform: translateY(8px);
    transition: transform 200ms;
    width: 95%;
}

.cut-short {
    width: 50px;
}

.placeholder {
    color: #bfb5b5;
    font-family: sans-serif;
    left: 18px;
    line-height: 14px;
    pointer-events: none;
    position: absolute;
    transform-origin: 0 50%;
    transform: translateY(-30px) translateX(10px) scale(0.75);
    transition: transform 200ms, color 200ms;
    top: 15px;
    color: #e11526;
    font-weight: 700;
    font-size: larger !important;
}


.input:focus ~ .cut,
.input:not(:placeholder-shown) ~ .cut {
    transform: translateY(8px);
}

.input:focus ~ .placeholder,
.input:not(:placeholder-shown) ~ .placeholder,
.input:not(:placeholder-shown):not(:focus) ~ .placeholder {
    transform: translateY(-30px) translateX(10px) scale(0.75);
}



.input:not(:placeholder-shown) ~ .placeholder {
    color: #e11526;
    font-weight: 700;
    font-size: larger;
}

.input:focus ~ .placeholder {
    color: #1577e1;
    font-weight: 700;
    font-size: larger;
}

.input:not(:invalid) ~ .placeholder {
    color: #e11526;
    font-weight: 700;
    font-size: larger;
}

.input:valid ~ .placeholder {
    color: #069d28;
    font-weight: 700;
    font-size: larger;
}

.submit {
    background-color: #08d;
    border-radius: 12px;
    border: 0;
    box-sizing: border-box;
    color: #eee;
    cursor: pointer;
    font-size: 18px;
    height: 50px;
    margin-top: 38px;
    outline: 0;
    text-align: center;
    width: 100%;
}

.submit:active {
    background-color: #06b;}

.card .card-title {
    color: #001737;
    margin-bottom: -0.5rem;
    text-transform: capitalize;
    font-size: 1.5rem;
    text-align: center;
    font-weight: bolder;
}

/*.border, .loader-demo-box {*/
/*    border: 2px solid #6b6a6a !important;*/
/*}*/

div.dataTables_wrapper div.dataTables_filter input {
    margin-left: 0.5em;
    display: inline-block;
    border: 1px solid;
    width: auto;
}

.dropdown-menu {
    position: absolute;
    min-height: auto;
    max-height: 260px;
    overflow: auto;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #001737;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #f3f3f3;
    border-radius: 0.25rem;
}

 #updateForm, #viewForm {
     display: none;
     animation-duration: 0.5s; /* Set the duration of the animation */
     animation-fill-mode: both; /* Keep the element in its final state after the animation ends */
 }

@keyframes slideInFromBottom {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-in {
    animation-name: slideInFromBottom;
}

.modal-dialog {
     max-width: 100%;
     max-height: 100%;
 }

.modal-body {
    /*min-height: calc(95vh - 100px); !* Adjusted height, considering modal header (56px) *!*/
}

.scroller{
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 350px);
}

.stat-card{
    border-radius: 12px;
    border: 1px solid rgba(209, 213, 219, 0.3);
    box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.57);
}

.preview-image{
    width: 100%;
    height: -webkit-fill-available;
    aspect-ratio: 1.4;
}

