:root {
/*color pallete*/
--1:#4b3c32;
--2:#3155A1;
--3:#f07300;
--4:#fdbd5a;
--5:#249ea1;
--6:#219ebc;
--7:#202d5a;
--8: #2a0052;
}


.table-hover tr:hover td a {
    color: #fff !important;
}

#mainContent, #mainContent2 {
    transition: all 0.3s ease;
    width: 100%;
}
.text-s4v {
    color: var(--2)!important;
}

.bg-s4v {
    background-color: var(--2)!important;
}

html {
    height: 100vh!important;
    scroll-behavior: smooth;
}
body{
    background-color: #011b23;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 700"><defs><filter id="f" x="-20%" y="-20%" width="140%" height="140%" color-interpolation-filters="linearRGB"><feTurbulence type="fractalNoise" baseFrequency="0.114" numOctaves="4" seed="15" stitchTiles="stitch" result="turbulence"/><feSpecularLighting surfaceScale="15" specularConstant="0.75" specularExponent="20" lighting-color="rgb(150,130,180)" in="turbulence" result="light"><feDistantLight azimuth="3" elevation="100"/></feSpecularLighting></filter></defs><rect width="700" height="700" fill="%23001023"/><rect width="700" height="700" fill="%233155a1" filter="url(%23f)"/></svg>');
    background-size: cover;
    background-repeat: repeat;
    background-position: center;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.fs-10 {
    font-size: 0.5rem !important
}
.fs-9 {
    font-size: 0.6rem !important
}
.fs-8 {
    font-size: 0.7rem !important
}
.fs-7 {
    font-size: 0.8rem !important
}
.mh-50{
    max-height: 50vh;
}
.min-h-70{
    min-height: 70vh;
}
.truncate {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/*overriding default inputs focus color and border*/
.form-control:focus, .form-select:focus, .form-switch:focus {
    color: #212529;
    outline: 0;
    box-shadow: 0 0 0 .10rem var(--4);
    -webkit-box-shadow: 0 0 0 .10rem var(--4);
}

.form-control:not([type="file"]), .form-select{
    border-color: rgba(49, 85, 161, 0.3);
    border-radius: 1rem ;

}


/*overriding default file inputs */

.custom-file-button {
    input[type="file"] {
        margin-left: -2px !important;

        &::-webkit-file-upload-button {
            display: none;
        }

        &::file-selector-button {
            display: none;
        }
    }

    &:hover {
        label {
            cursor: pointer;
        }
    }
}

.bg-blur{
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.91), rgb(255, 255, 255));
}
.bg-glass{
    background: linear-gradient(135deg, rgba(176, 197, 255, 0.05), rgba(253, 189, 90, 0.2));
}
.text-s4vg{
    background:  linear-gradient(90deg, rgb(49, 85, 161), rgba(253, 189, 90, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-shadow{
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.rounded-s4v{
    border-radius: 1rem !important;
}

.box-shadow-custom{
    -webkit-box-shadow: 0 6px 14px 1px rgba(0, 0, 0, 0.37);;
    box-shadow: 0 6px 14px 1px rgba(0, 0, 0, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.footer :hover {
    color: #007bff;
}

td{
    vertical-align: middle;
}

/*scrolbar ************************* */
/*
*/
/**/
::-webkit-scrollbar {
    width: 1px;
    height: 2px;
}
::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: rgb(240, 116, 2);
    border-radius: 1rem;
    transition: background 0.3s ease-in-out;
}
::-webkit-scrollbar-thumb:hover {
    background: #f07402;
}
/* for firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgb(75, 60, 50) #f0f0f0;
}

/*scrolbar ************************* */
/*
*/
/**/

.pic-controller{
    width:40px;
    height: auto;
}

.neu-card{
    width: 150px;
    max-width:200px;
    aspect-ratio: 1/1;
    background: #fafafa;

    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(35, 17, 0, 0.4);

}

.neu-card:hover{
    transform: translateY(-5px) scale(1.05) translateZ(0);
    box-shadow: inset -4px -4px 8px rgba(255, 255, 255, 0.6),
    inset 4px 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
    background: var(--2);
    color: var(--4)!important;


}

.nav-link:hover{
    /*border-bottom: 1px solid #f07300;*/
    transform: translate(1px, -1px) scale(1.05) translateZ(5px);
    transition: all 0.3s ease-in;

}

.dropdown-item:hover{
    background: var(--2);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease-in-out;

}

/*buttons Style*/
.btn-shine{
    overflow: hidden;
}
.btn:hover {
    transform: scale(1.05);
    border-color: #fff9;
}
i{
    transition: all 0.3s ease-in-out;
}

.btn:hover .icon {
    transform: translate(3px);
}

.btn-shine:hover::before {
    animation: shine 1.5s ease-out infinite;
}

.btn:hover {
    transform: scale(1.05);
    border-color: #fff9;
}

.btn-shine::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(
            120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%
    );
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes shine {
    0% {
        left: -100px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}

/* end buttons Style*/


.input-group .form-floating, .input-group .form-control {
    border-color: #ced4da;
    border-radius: 1rem 0 0 1rem !important;

}

.input-group-text {
    border-color: #ced4da;
    border-radius: 0 1rem 1rem 0 !important;
}

/*sara*/
/* When sidebar is collapsed, hide only text */
.sidebar.collapsed .sidebar-text {
    display: none !important;
}

/* Keep all icons visible */
.sidebar.collapsed i {
    display: inline-block !important;
}

/* Optional: Adjust submenu-item indent even when collapsed */
.sidebar .submenu-item {
    padding-left: 1rem; /* or more for deeper indent */
}

.bg-none{
background: rgba(231, 206, 255, 0) !important;
}

.no-repeat{
    background-repeat: no-repeat;
}


.neon-image-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-height: 70vh;
    max-width: 100vw;
    z-index: -1;
    pointer-events: none;
    display: flex;
}

.neon-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.table-hover tr:hover td {
    background-color: var(--2)!important; /* Light gray background */
    color: #fff;
}

.text-justify{
    text-align: justify;
}

.highcharts-background{
    border-radius: 1rem!important;
}

.w-fit {
    width: fit-content!important;
}

.text-truncated{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

