/********** Template CSS **********/
:root {
    --primary: #EB1616;
    --secondary: #191C24;
    --light: #6C7293;
    --dark: #000000;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Layout ***/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    height: 100vh;
    overflow-y: auto;
    background: var(--secondary);
    transition: 0.5s;
    z-index: 999;
}

.content {
    margin-left: 250px;
    min-height: 100vh;
    background: var(--dark);
    transition: 0.5s;
}

@media (min-width: 992px) {
    .sidebar {
        margin-left: 0;
    }

    .sidebar.open {
        margin-left: -250px;
    }

    .content {
        width: calc(100% - 250px);
    }

    .content.open {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        margin-left: -250px;
    }

    .sidebar.open {
        margin-left: 0;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }
}


/*** New Sidebar (side) ***/
.side {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 252px;
    background: linear-gradient(180deg, #0a0d14, #0d101b);
    border-right: 1px solid #2a2d3a;
    z-index: 120;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .28s;
    scrollbar-width: none;
}
.side::-webkit-scrollbar { display: none; }
.side.open { transform: translateX(0); }
.side.hide { transform: translateX(-100%); }

#sideOver {
    position: fixed;
    inset: 0;
    background: rgba(5,6,9,.55);
    z-index: 119;
    display: none;
    backdrop-filter: blur(2px);
}

.side-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    font-size: .98rem;
    color: #fff;
    padding: 14px 16px;
    letter-spacing: -.01em;
    text-decoration: none;
}
.side-brand img { width: 32px; height: 32px; border-radius: 9px; object-fit: cover; border: 1px solid #2a2d3a; }
.side-brand span { color: #EB1616; }

.side-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    margin: 2px 12px;
    background: #191C24;
    border: 1px solid #2a2d3a;
    border-radius: 12px;
}
.side-user img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.side-user .nm { font-size: .84rem; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-user .rl { font-size: .68rem; color: #6C7293; }

.side-nav { padding: 6px 10px; flex: 1; }
.side-sec { font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; color: #565d75; padding: 10px 12px 4px; }
.side-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 13px;
    border-radius: 10px;
    color: #6C7293;
    font-size: .86rem;
    font-weight: 500;
    text-decoration: none;
    transition: .2s;
}
.side-nav a i { width: 20px; text-align: center; }
.side-nav a:hover { color: #fff; background: #191C24; }
.side-nav a.on { color: #fff; background: rgba(235,22,22,.12); border: 1px solid #EB1616; }

.side-foot { padding: 8px 12px; border-top: 1px solid #2a2d3a; }
.side-foot a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 13px;
    border-radius: 10px;
    color: #6C7293;
    font-size: .84rem;
    text-decoration: none;
    transition: .2s;
}
.side-foot a:hover { color: #fff; background: #191C24; }

.side-toggle {
    background: transparent;
    border: 1px solid #2a2d3a;
    color: #6C7293;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    font-size: .95rem;
    flex: 0 0 auto;
}
.side-toggle:hover { color: #fff; border-color: #EB1616; }

.main {
    margin-left: 0;
    min-height: 100vh;
    background: #000;
}
.main.hide { margin-left: 0; }

@media (min-width: 992px) {
    .side { transform: none; }
    .main { margin-left: 252px; }
    #sideOver { display: none !important; }
}

/*** Top Navbar (navbar-land) ***/
.navbar-land {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 8, 12, .88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #2a2d3a;
    padding: 13px 0;
}
.nav-inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
    text-decoration: none;
}
.brand img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; border: 1px solid #2a2d3a; }
.brand span { color: #EB1616; }
.nav-links { display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; }
.nav-links a {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 500;
    color: #6C7293;
    white-space: nowrap;
    text-decoration: none;
    transition: .2s;
}
.nav-links a:hover { color: #fff; background: #191C24; }
.btn-nav { background: #EB1616 !important; color: #fff !important; font-weight: 600 !important; }
.btn-nav:hover { filter: brightness(1.1); }

@media (max-width: 640px) {
    .nav-links a:not(.btn-nav):not(.on) { display: none; }
    .nav-inner { padding: 0 14px; }
    .brand img { width: 28px; height: 28px; }
    .brand { font-size: .95rem; }
}


/*** Navbar (old sidebar) ***/
.sidebar .navbar .navbar-nav .nav-link {
    padding: 7px 20px;
    color: var(--light);
    font-weight: 500;
    border-left: 3px solid var(--secondary);
    border-radius: 0 30px 30px 0;
    outline: none;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: var(--dark);
    border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
    background: var(--secondary);
}

.sidebar .navbar .dropdown-toggle::after {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
    padding-left: 25px;
    border-radius: 0 30px 30px 0;
    color: var(--light);
}

.sidebar .navbar .dropdown-item:hover,
.sidebar .navbar .dropdown-item.active {
    background: var(--dark);
}

.content .navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 12px 0;
    color: var(--light);
    outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border-radius: 40px;
}

.content .navbar .dropdown-item {
    color: var(--light);
}

.content .navbar .dropdown-item:hover,
.content .navbar .dropdown-item.active {
    background: var(--dark);
}

.content .navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.content .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
    .content .navbar .navbar-nav .nav-link {
        margin-left: 15px;
    }
}


/*** Section Card ***/
.section-card {
    background: #191C24;
    border: 1px solid #2a2d3a;
    border-radius: 14px;
    padding: 22px 20px;
    height: 100%;
}
.section-card h6 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-card h6 i { color: #EB1616; }

/*** Form Controls ***/
.form-control,
.form-select {
    background: #0d0d0d !important;
    border: 1px solid #2a2d3a !important;
    color: #e0e0e0 !important;
    border-radius: 10px;
}
.form-control:focus,
.form-select:focus {
    border-color: #EB1616 !important;
    box-shadow: 0 0 0 3px rgba(235,22,22,.15);
}


/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.progress .progress-bar {
    width: 0px;
    transition: 2s;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}

.counter-section {
    margin-top: 50px;
    max-width: 800px;
    counter-reset: section;
}

.counter-section>* {
    padding: 5px;
}

.counter-section .section-turu::before {
    counter-increment: section;
    content: counter(section) ". ";
}
                      