/*==============================================================================
	Item Name: Custom CSS
	Version: 1.0
	Author: Er. Niraj Thike
	Author URL: http://thikeniraj.com.np
================================================================================

NOTE:
------
PLACE HERE YOUR OWN SCSS CODES AND IF NEEDED, OVERRIDE THE STYLES FROM THE OTHER STYLESHEETS.
WE WILL RELEASE FUTURE UPDATES SO IN ORDER TO NOT OVERWRITE YOUR STYLES IT'S BETTER LIKE THIS.  */

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    backdrop-filter: blur(4px); /* Apply the blur effect */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader {
    border: 4px solid rgba(255, 255, 255, 0.3); /* Semi-transparent white border */
    border-top: 4px solid #ffffff; /* Solid white border for animation */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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

.valid-input {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.857rem;
    color: #28c76f;
}

.invalid-input {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.857rem;
    color: #ea5455;
}

.no-resize {
    resize: none;
}

legend {
    width: 100%;
    font-size: 12px;
    padding-bottom: 6px;
    text-transform: uppercase;
    border-bottom: 1px solid #404656;
}

.dark-layout .header-navbar .navbar-container .nav .nav-item .search-result {
    background-color: #283046;
}

.navbar-container .search-input .search-result.show {
    display: block;
    min-height: 3rem;
}

.navbar-container .search-input .search-result {
    max-height: 450px;
    height: auto;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    width: 100%;
    margin-top: 0.5rem;
    padding-left: 0;
    border-radius: 0.357rem;
    display: none;
}

.chart-fit {
    position: absolute;
    width: 100%;
    bottom: 0px;
}

.footer-fixed {
    position: fixed;
    bottom: 0px;
    width: 100%;
    margin-top: -50px;
}

td[aria-expanded=true] .down {
    display: none;
}

td[aria-expanded=false] .up {
    display: none;
}

div[aria-expanded=true] .up {
    display: none;
}

div[aria-expanded=false] .down {
    display: none;
}

.table-responsive {
    min-height: 200px;
}

.bg.bg-success {
    color: white;
    background: #28C76F;
    padding: 3px 9px;
}

.bg.bg-danger {
    color: white;
    background: #EA5455;
    padding: 3px 9px;
}
