:root {
    --bs-primary: #75242E;
    /* Replace with your desired color */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    margin: 0;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    background: linear-gradient(90deg, #c7c5f4, #776bcc);
}

.center-body {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100vh;
    width: 100vw;
}

.main-body {
    height: 100vh;
    width: 100vw;
    border-radius: 0;
    background: #fff;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.screen {
    background: linear-gradient(90deg, #5d54a4, #7c78b8);
    position: relative;
    height: 600px;
    width: 360px;
    box-shadow: 0px 0px 24px #5c5696;
}

.screen__content {
    z-index: 1;
    position: relative;
    height: 100%;
}

.screen__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
}

.screen__background__shape {
    transform: rotate(45deg);
    position: absolute;
}

.screen__background__shape1 {
    height: 520px;
    width: 520px;
    background: #fff;
    top: -50px;
    right: 120px;
    border-radius: 0 72px 0 0;
}

.screen__background__shape2 {
    height: 220px;
    width: 220px;
    background: #6c63ac;
    top: -172px;
    right: 0;
    border-radius: 32px;
}

.screen__background__shape3 {
    height: 540px;
    width: 190px;
    background: linear-gradient(270deg, #5d54a4, #6a679e);
    top: -24px;
    right: 0;
    border-radius: 32px;
}

.screen__background__shape4 {
    height: 400px;
    width: 200px;
    background: #7e7bb9;
    top: 420px;
    right: 50px;
    border-radius: 60px;
}

.login {
    width: 320px;
    padding: 30px;
    padding-top: 156px;
}

.login__field {
    padding: 20px 0px;
    position: relative;
    width: 125%;
}

.login__icon {
    position: absolute;
    top: 30px;
    color: #7875b5;
}

.login__input {
    border: none;
    border-bottom: 2px solid #d1d1d4;
    background: none;
    padding: 10px;
    padding-left: 24px;
    font-weight: 700;
    width: 75%;
    transition: 0.2s;
}

.login__input:active,
.login__input:focus,
.login__input:hover {
    outline: none;
    border-bottom-color: #6a679e;
}

.login__submit {
    background: #fff;
    font-size: 14px;
    margin-top: 30px;
    padding: 16px 20px;
    border-radius: 26px;
    border: 1px solid #d4d3e8;
    text-transform: uppercase;
    font-weight: 700;
    display: flex;
    align-items: center;
    width: 100%;
    color: #4c489d;
    box-shadow: 0px 2px 2px #5c5696;
    cursor: pointer;
    transition: 0.2s;
}

.login__submit:active,
.login__submit:focus,
.login__submit:hover {
    border-color: #6a679e;
    outline: none;
}

.button__icon {
    font-size: 24px;
    margin-left: auto;
    color: #7875b5;
}

.container-slider {
    border: none;
    border-radius: 1rem;
}

.sidebar {
    width: 75px;
    height: 100vh;
    background-color: #222;
    padding: 20px;
    box-sizing: border-box;
    color: #fff;
    overflow: hidden;
    border-radius: 0 1rem 1rem 0;
    transition: width .75s ease;
    text-wrap: nowrap;
}

.sidebar:hover {
    width: 250px;
    text-align: start;
}

.slider-ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.slider-li {
    padding: 10px 10px;
    border-bottom: 1px solid #444;
    border-radius: .5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

slider-li:hover {
    background-color: #444;
}

.nav-link {
    display: inline-flex;
    column-gap: 25px;
    color: inherit;
    padding: .5rem 0rem !important;
    text-decoration: none;
}

.item-txt {
    padding-left: 1.5rem;
    font-size: 15px;
}

.attribute {
    position: absolute;
    bottom: 10px;
}

.sidebar.expanded {
    width: 250px;
    /* Expanded width */
    text-align: start;
}

.lock-btn {
    background: #222222;
    cursor: pointer;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    margin-left: 4px;
}

.top-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.dt-search {
    border-radius: 6px;
}

.modal-body {
    text-align: left
}

#dt-length-0 {
    min-height: 30px !important;
    border-radius: 6px;
}
#dt-length-1 {
    min-height: 30px !important;
    border-radius: 6px;
}
#logoImage1 {
    display: none;
}

/* On hover, show the second image and hide the first */
.sidebar:hover #logoImage2 {
    display: none;
}

.sidebar:hover #logoImage1 {
    display: inline-flex;
}

.sidebar.expanded #logoImage1 {
    display: inline-flex;
}

.sidebar.expanded #logoImage2 {
    display: none;
}

.main-view {
    width: 100vw !important;
    height: 100vh !important;
    padding: 2rem !important;
    margin: 0 !important;
    border-radius: 0;
    background: #fff;
    overflow-x: auto;
    overflow-y: auto;
}

@media (max-width: 991px), (max-width: 767px), (max-width: 480px) {
    .main-view {
        width: 100vw !important;
        padding-left: 0 !important;
        transition: none !important;
    }
    .sidebar {
        height: 100vh;
    }
}

::-webkit-scrollbar {
    width: 10px;
    /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Color of the track (background) */
}

::-webkit-scrollbar-thumb {
    background: #888;
    /* Color of the scrollbar thumb */
    border-radius: 10px;
    /* Rounded edges for the thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* Darker thumb color on hover */
}

#dataTable_info {
    padding-top: 10px
}
/* Loader styles */
.loader-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5); /* Reduced opacity for better blur effect */
    backdrop-filter: blur(3px); /* <-- Blur effect */
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}


/* Hidden state */
.show {

    display: flex !important;
}

/* Loader spinner */
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #5d54a4;
    border-bottom-color: transparent;
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

/* Animation */
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

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