﻿html {
    background: #19202b;
}

body {
    background-color: #1A202C;
    font-family: 'Inter', 'Nunito', sans-serif;
    font-size: 0.9rem;
}

.alert {
    border: none;
}

.alert p {
    margin-bottom: 0;
}

.alert button.close {
    padding: 0.75rem;
    line-height: 0.75;
}

.alert .alert-heading,
.alert .alert-heading+p {
    margin-left: 0.4rem;
}

.alert-primary {
    background-color: #435ebe;
    color: #fff;
}

.alert-primary a {
    color: #fff;
    font-weight: 700;
}

.alert-secondary {
    background-color: #ebeef3;
    color: #383d41;
}

.alert-secondary a {
    color: #fff;
    font-weight: 700;
}

.alert-success {
    background-color: #4fbe87;
    color: #fff;
}

.alert-success a {
    color: #fff;
    font-weight: 700;
}

.alert-warning {
    background-color: #eaca4a;
    color: #fff;
}

.alert-warning a {
    color: #fff;
    font-weight: 700;
}

.alert-danger {
    background-color: #f3616d;
    color: #fff;
}

.alert-danger a {
    color: #fff;
    font-weight: 700;
}

.alert-dark {
    background-color: #454546;
    color: #fff;
}

.alert-dark a {
    color: #fff;
    font-weight: 700;
}

.alert-light {
    background-color: #f9f9f9;
    color: #818182;
}

.alert-light a {
    color: #fff;
    font-weight: 700;
}

.alert-info {
    background-color: #56b6f7;
    color: #fff;
}

.alert-info a {
    color: #fff;
    font-weight: 700;
}

.alert-light-primary {
    background-color: #ebf3ff;
}

.alert-light-secondary {
    background-color: #e6eaee;
}

.alert-light-success {
    background-color: #d2ffe8;
}

.alert-light-danger {
    background-color: #ffdede;
}

.alert-light-warning {
    background-color: #fffdd8;
}

.alert-light-info {
    background-color: #e6fdff;
}

.avatar {
    display: inline-flex;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

.avatar > i {
    font-size: 0.875rem;
    line-height: 1;
}

.avatar .avatar-content {
    width: 32px;
    height: 32px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
}

.avatar .avatar-content i,
.avatar .avatar-content svg {
    color: #fff;
    font-size: 1rem;
    height: 1rem;
}

.avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.avatar .avatar-status {
    width: 0.7rem;
    height: 0.7rem;
    position: absolute;
    border-radius: 50%;
    border: 1px solid #fff;
    bottom: 0;
    right: 0;
}

.avatar.avatar-sm {
    width: 24px;
    height: 24px;
}

.avatar.avatar-sm .avatar-content,
.avatar.avatar-sm img {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    object-fit: cover;
    object-position: center;
}

.avatar.avatar-sm > i {
    font-size: 0.75rem;
    line-height: 1;
}

.avatar.avatar-md {
    width: 32px;
    height: 32px;
}

.avatar.avatar-md .avatar-content,
.avatar.avatar-md img {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
    object-fit: cover;
    object-position: center;
}

.avatar.avatar-lg {
    width: 48px;
    height: 48px;
}

.avatar.avatar-lg .avatar-content,
.avatar.avatar-lg img {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    object-fit: cover;
    object-position: center;
}

.avatar.avatar-lg > i {
    font-size: 1.2rem;
    line-height: 1;
}

.avatar.avatar-xl {
    width: 60px;
    height: 60px;
}

.avatar.avatar-xl .avatar-content,
.avatar.avatar-xl img {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
    object-fit: cover;
    object-position: center;
}

.avatar.avatar-xl > i {
    font-size: 1.4rem;
    line-height: 1;
}

.btn .badge {
    border-radius: 50%;
    margin-left: 5px;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    line-height: 1;
    flex-shrink: 0;
}

.btn .badge.bg-transparent {
    background-color: hsla(0, 0%, 100%, 0.25) !important;
    color: #fff;
}

.btn i,
.btn svg {
    width: 16px;
    height: 16px;
}

.btn.icon {
    padding: 0.4rem 0.6rem;
}

.btn.icon svg {
    width: 16px;
    height: 16px;
}

.btn.icon.icon-left svg {
    margin-right: 3px;
}

.btn.icon.icon-right svg {
    margin-left: 3px;
}

.btn.btn-outline-white {
    color: #fff;
    border-color: #fff;
}

.btn.btn-outline-white:hover {
    color: #333;
    background-color: #fff;
}

.btn.btn-light-primary {
    background-color: #ebf3ff;
    color: #002152;
}

.btn.btn-light-secondary {
    background-color: #e6eaee;
    color: #181e24;
}

.btn.btn-light-success {
    background-color: #d2ffe8;
    color: #00391c;
}

.btn.btn-light-danger {
    background-color: #ffdede;
    color: #450000;
}

.btn.btn-light-warning {
    background-color: #fffdd8;
    color: #3f3c00;
}

.btn.btn-light-info {
    background-color: #e6fdff;
    color: #00474d;
}

.btn.btn-danger,
.btn.btn-info,
.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-success,
.btn.btn-warning {
    color: #fff;
}

.btn.btn-light {
    color: #607080;
}

.btn.btn-dark {
    color: #fff;
}

.btn-block {
    width: 100%;
}

.btn-group:not(.dropdown) .btn:not([class*="btn-"]) {
    border: 1px solid #dfe3e7;
}

.btn-group>.btn {
    border-radius: 0.267rem;
}

.buttons .btn {
    margin: 0 10px 10px 0;
}

.breadcrumb.breadcrumb-right {
    justify-content: flex-end;
    margin-top: 1rem;
}

.breadcrumb.breadcrumb-center {
    justify-content: center;
    margin-top: 1rem;
}

.carousel-inner {
    border-radius: 0.7rem;
}

.carousel-caption h5 {
    color: #fff;
}

.card {
    margin-bottom: 1.25rem;
    border: none;
}

.card.card-statistic {
    box-shadow: 1px 2px 5px rgba(47, 170, 244, 0.5);
    background: linear-gradient(180deg, #25a6f1, #54b9ff);
}

.card.card-statistic .card-title {
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.8px;
    font-weight: 400;
    font-size: 1.3rem;
    margin-bottom: 0;
    margin-top: 5px;
}

.card.card-statistic .card-right p {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0;
}

.card.card-statistic .card-right span.green {
    color: #6fff6f;
}

.card.card-statistic .card-right span.red {
    color: #ff7979;
}

.card.card-statistic .chart-wrapper {
    height: 100px;
}

.card .card-header {
    border: none;
}

.card .card-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
}

.card .card-header~.card-body {
    padding-top: 0;
}

.card .card-content {
    position: relative;
}

.card .card-title {
    font-size: 1.2rem;
}

.card .card-body {
    padding: 1rem;
}

.card .card-heading {
    color: #555;
    font-size: 1.5rem;
}

.card .card-img-overlay {
    background-color: rgba(0, 0, 0, 0.6);
}

.card .card-img-overlay p {
    color: #eee;
}

.card .card-img-overlay .card-title {
    color: #fff;
}

.pricing .card {
    box-shadow: none;
    border-right: 1px solid #e9ecef;
    box-shadow: 0 10px 10px #e9ecef;
    margin-bottom: 0.5rem;
}

.pricing h1 {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 3rem;
}

.pricing .card-header .card-title {
    font-size: 2rem !important;
    margin-bottom: 0;
}

.pricing .card-header p {
    font-size: 0.8rem;
}

.pricing ul li {
    list-style: none;
    margin-bottom: 0.5rem;
}

.pricing ul li i,
.pricing ul li svg {
    width: 1rem;
    color: #198754;
    font-size: 1rem;
    margin-right: 7px;
}

.pricing .card-highlighted {
    background-color: #435ebe;
    padding-top: 20px;
    padding-bottom: 20px;
}

.pricing .card-highlighted .card-body,
.pricing .card-highlighted .card-header {
    background-color: #435ebe;
    color: #fff;
}

.pricing .card-highlighted ul li {
    color: #fff;
}

.pricing .card-highlighted ul li i,
.pricing .card-highlighted ul li svg {
    color: #479f76;
}

.pricing .card-highlighted .card-footer {
    background-color: #435ebe;
}

.pricing .card-highlighted .card-title {
    color: #fff;
    font-size: 1.8rem;
}

.divider {
    display: block;
    text-align: center;
    overflow: hidden;
    margin: 1rem 0;
}

.divider .divider-text {
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    background-color: #fff;
}

.divider .divider-text:after,
.divider .divider-text:before {
    content: "";
    position: absolute;
    top: 50%;
    width: 9999px;
    border-top: 1px solid #dfe3e7;
}

.divider .divider-text:before {
    right: 100%;
}

.divider .divider-text:after {
    left: 100%;
}

.divider.divider-left .divider-text {
    left: 0;
    float: left;
    padding-left: 0;
}

.divider.divider-left-center .divider-text {
    left: -25%;
}

.divider.divider-right-center .divider-text {
    left: 25%;
}

.divider.divider-right .divider-text {
    float: right;
    padding-right: 0;
}

.dropdown-toggle:after {
    color: #fff;
}

.dropdown-menu-large {
    min-width: 16rem;
}

.dropdown-menu {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.03);
}

.dropdown-item {
    transition: all 0.5s;
}

.form-group {
    margin-bottom: 0.7rem;
}

.form-group label {
    color: rgba(35, 28, 99, 0.7);
    font-weight: 600;
}

.form-group small {
    font-size: 0.7rem;
}

.form-group.with-title {
    position: relative;
}

.form-group.with-title label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 5px;
    font-size: 0.6rem;
    background-color: #e9ecef;
    width: 100%;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-group.with-title .form-control,
.form-group.with-title dataTable-input {
    padding-top: 2rem;
}

.form-group.with-title .form-control:focus~label,
.form-group.with-title dataTable-input:focus~label {
    border-left: 1px solid #435ebe;
    border-top: 1px solid #435ebe;
    border-right: 1px solid #435ebe;
}

.form-group[class*="has-icon-"].has-icon-left .form-control {
    padding-left: 2.5rem;
}

.form-group[class*="has-icon-"].has-icon-left .form-control-icon {
    left: 0;
}

.form-group[class*="has-icon-"].has-icon-right .form-control {
    padding-right: 2.5rem;
}

.form-group[class*="has-icon-"].has-icon-right .form-control-icon {
    right: 0;
}

.form-group[class*="has-icon-"] .form-control:focus~.form-control-icon i,
.form-group[class*="has-icon-"] .form-control:focus~.form-control-icon svg {
    color: #5a8dee;
}

.form-group[class*="has-icon-"] .form-control.form-control-xl {
    padding-left: 3rem;
}

.form-group[class*="has-icon-"] .form-control.form-control-xl~.form-control-icon i {
    font-size: 1.6rem;
}

.form-group[class*="has-icon-"] .form-control.form-control-xl~.form-control-icon i:before {
    color: #a6a8aa;
}

.form-group[class*="has-icon-"] .form-control-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 0.6rem;
}

.form-group[class*="has-icon-"] .form-control-icon i,
.form-group[class*="has-icon-"] .form-control-icon svg {
    width: 1.2rem;
    color: #6c757d;
    font-size: 1.2rem;
}

.form-group[class*="has-icon-"] .form-control-icon i:before,
.form-group[class*="has-icon-"] .form-control-icon svg:before {
    vertical-align: sub;
}

.form-control.form-control-xl {
    padding: 0.85rem 1rem;
    font-size: 1.2rem;
}

.form-check .form-check-input[class*="bg-"] {
    border: 0;
}

.form-check .form-check-input:focus {
    box-shadow: none;
}

.form-check .form-check-input.form-check-primary {
    background-color: #435ebe;
    border-color: #435ebe;
}

.form-check .form-check-input.form-check-primary:not(:checked) {
    background-color: transparent;
    border: 1px solid #ced4da;
}

.form-check .form-check-input.form-check-primary.form-check-glow {
    box-shadow: 0 0 5px #697ecb;
}

.form-check .form-check-input.form-check-primary.form-check-glow:not(:checked) {
    box-shadow: none;
}

.form-check .form-check-input.form-check-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.form-check .form-check-input.form-check-secondary:not(:checked) {
    background-color: transparent;
    border: 1px solid #ced4da;
}

.form-check .form-check-input.form-check-secondary.form-check-glow {
    box-shadow: 0 0 5px #868e96;
}

.form-check .form-check-input.form-check-secondary.form-check-glow:not(:checked) {
    box-shadow: none;
}

.form-check .form-check-input.form-check-success {
    background-color: #198754;
    border-color: #198754;
}

.form-check .form-check-input.form-check-success:not(:checked) {
    background-color: transparent;
    border: 1px solid #ced4da;
}

.form-check .form-check-input.form-check-success.form-check-glow {
    box-shadow: 0 0 5px #21b26f;
}

.form-check .form-check-input.form-check-success.form-check-glow:not(:checked) {
    box-shadow: none;
}

.form-check .form-check-input.form-check-info {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

.form-check .form-check-input.form-check-info:not(:checked) {
    background-color: transparent;
    border: 1px solid #ced4da;
}

.form-check .form-check-input.form-check-info.form-check-glow {
    box-shadow: 0 0 5px #3cd5f4;
}

.form-check .form-check-input.form-check-info.form-check-glow:not(:checked) {
    box-shadow: none;
}

.form-check .form-check-input.form-check-warning {
    background-color: #ffc107;
    border-color: #ffc107;
}

.form-check .form-check-input.form-check-warning:not(:checked) {
    background-color: transparent;
    border: 1px solid #ced4da;
}

.form-check .form-check-input.form-check-warning.form-check-glow {
    box-shadow: 0 0 5px #ffce3a;
}

.form-check .form-check-input.form-check-warning.form-check-glow:not(:checked) {
    box-shadow: none;
}

.form-check .form-check-input.form-check-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.form-check .form-check-input.form-check-danger:not(:checked) {
    background-color: transparent;
    border: 1px solid #ced4da;
}

.form-check .form-check-input.form-check-danger.form-check-glow {
    box-shadow: 0 0 5px #e4606d;
}

.form-check .form-check-input.form-check-danger.form-check-glow:not(:checked) {
    box-shadow: none;
}

.form-check .form-check-input.form-check-light {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.form-check .form-check-input.form-check-light:not(:checked) {
    background-color: transparent;
    border: 1px solid #ced4da;
}

.form-check .form-check-input.form-check-light.form-check-glow {
    box-shadow: 0 0 5px #fff;
}

.form-check .form-check-input.form-check-light.form-check-glow:not(:checked) {
    box-shadow: none;
}

.form-check .form-check-input.form-check-dark {
    background-color: #212529;
    border-color: #212529;
}

.form-check .form-check-input.form-check-dark:not(:checked) {
    background-color: transparent;
    border: 1px solid #ced4da;
}

.form-check .form-check-input.form-check-dark.form-check-glow {
    box-shadow: 0 0 5px #383f45;
}

.form-check .form-check-input.form-check-dark.form-check-glow:not(:checked) {
    box-shadow: none;
}

.form-check.form-check-sm .form-check-input {
    width: 0.9rem;
    height: 0.9rem;
    margin-top: 0.3em;
}

.form-check.form-check-sm label {
    font-size: 0.7rem;
}

.form-check.form-check-lg .form-check-input {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.3em;
}

.form-check.form-check-lg label {
    font-size: 1rem;
}

.form-check.form-check-primary .form-check-input {
    background-color: #435ebe;
    border-color: #435ebe;
}

.form-check.form-check-secondary .form-check-input {
    background-color: #6c757d;
    border-color: #6c757d;
}

.form-check.form-check-success .form-check-input {
    background-color: #198754;
    border-color: #198754;
}

.form-check.form-check-info .form-check-input {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
}

.form-check.form-check-warning .form-check-input {
    background-color: #ffc107;
    border-color: #ffc107;
}

.form-check.form-check-danger .form-check-input {
    background-color: #dc3545;
    border-color: #dc3545;
}

.form-check.form-check-light .form-check-input {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.form-check.form-check-dark .form-check-input {
    background-color: #212529;
    border-color: #212529;
}

.dataTable-input {
    min-height: calc(1.5em + 0.934rem + 2px);
    padding: 0.467rem 0.6rem;
    font-size: 0.9025rem;
    font-weight: 400;
    line-height: 1.5;
    color: #555252;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #dfe3e7;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.dataTable-input:focus {
    color: #555252;
    background-color: #fff;
    border-color: #5a8dee;
    outline: 0;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.1);
}

.modal .modal-content {
    box-shadow: -8px 12px 18px 0 rgba(25, 42, 70, 0.13);
    border: none;
}

.modal .modal-full {
    max-width: 94%;
}

.modal .white {
    color: #fff;
}

.modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal .modal-header .modal-title {
    font-size: 1.1rem;
}

.modal .modal-header .close {
    padding: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal .modal-header .close:hover {
    background: #dee2e6;
}

.modal .modal-header i,
.modal .modal-header svg {
    font-size: 12px;
    height: 12px;
    width: 12px;
}

.modal .modal-footer {
    padding: 1rem;
}

.modal.modal-borderless .modal-header {
    border-bottom: 0;
}

.modal.modal-borderless .modal-footer {
    border-top: 0;
}

#sidebar.active .sidebar-wrapper {
    left: 0;
}

#sidebar:not(.active) .sidebar-wrapper {
    left: -260px;
}

#sidebar:not(.active)~#main {
    margin-left: 0;
}

.sidebar-wrapper {
    width: 260px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background: linear-gradient(180deg, #1a1f2e 0%, #2c3747 100%);
    display: flex;
    flex-direction: column;
    transition: left 0.3s ease;
}

.sidebar-wrapper .sidebar-header {
    flex-shrink: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #1F1A65 0%, #2d2575 100%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-wrapper .sidebar-header img {
    height: 1.2rem;
}

.sidebar-wrapper .sidebar-toggler.x {
    position: absolute;
    right: 0;
    top: 0.5rem;
    display: none;
}

/* Sidebar menu - native scroll */
.sidebar-menu {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem 0 2rem 0;
}

/* Custom scrollbar */
.sidebar-menu::-webkit-scrollbar {
    width: 5px;
}

.sidebar-menu::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.sidebar-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Firefox scrollbar */
.sidebar-menu {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.sidebar-wrapper .menu {
    margin-top: 1rem;
    padding: 0 0.75rem;
    font-weight: 600;
}

.sidebar-wrapper .menu .sidebar-title {
    padding: 0 0.75rem;
    margin: 0.75rem 0 0.4rem;
    font-size: 0.7rem;
    list-style: none;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sidebar-wrapper .menu .sidebar-link {
    display: flex;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    align-items: center;
    border-radius: 0.5rem;
    transition: all 0.3s;
    text-decoration: none;
    color: #ECEFF1;
}

.sidebar-wrapper .menu .sidebar-link i,
.sidebar-wrapper .menu .sidebar-link svg {
    color: #7c8db5;
}

.sidebar-wrapper .menu .sidebar-link span {
    margin-left: 0.6rem;
}

.sidebar-wrapper .menu .sidebar-link:hover {
    background-color: black;
}

.sidebar-wrapper .menu .sidebar-item {
    list-style: none;
    margin-top: 0.15rem;
    position: relative;
}

.sidebar-wrapper .menu .sidebar-item.has-sub .sidebar-link:after {
    content: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><path stroke="gray" stroke-width="1" d="M6 9l6 6 6-6"/></svg>');
    position: absolute;
    color: #ccc;
    right: 15px;
    top: 12px;
    display: block;
}

.sidebar-wrapper .menu .sidebar-item.active .sidebar-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sidebar-wrapper .menu .sidebar-item.active .sidebar-link span {
    color: #fff;
}

.sidebar-wrapper .menu .sidebar-item.active .sidebar-link i,
.sidebar-wrapper .menu .sidebar-item.active .sidebar-link svg {
    fill: #fff;
    color: #fff;
}

.sidebar-wrapper .menu .sidebar-item.active .sidebar-link.has-sub:after {
    content: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><path stroke="%23fff" stroke-width="1" d="M6 9l6 6 6-6"/></svg>');
}

.sidebar-wrapper .menu .submenu {
    list-style: none;
    display: none;
    transition: max-height 2s cubic-bezier(0, 0.55, 0.45, 1);
    overflow: hidden;
}

.sidebar-wrapper .menu .submenu.active {
    max-height: 999px;
    display: block;
}

.sidebar-wrapper .menu .submenu .submenu-item.active {
    position: relative;
}

.sidebar-wrapper .menu .submenu .submenu-item.active>a {
    color: #435ebe;
    font-weight: 700;
}

.sidebar-wrapper .menu .submenu .submenu-item a {
    padding: 0.35rem 0.75rem;
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s;
}

.sidebar-wrapper .menu .submenu .submenu-item a:hover {
    margin-left: 0.3rem;
}

@media screen and (max-width: 1199px) {
    .sidebar-wrapper {
        left: -260px;
        z-index: 1045;
    }

    .sidebar-wrapper .sidebar-toggler.x {
        display: block;
    }
}

.nav-pills .nav-link.active {
    box-shadow: 0 2px 10px rgba(67, 94, 190, 0.5);
}

.nav-tabs,
.nav-tabs .nav-link {
    border: none;
}

.nav-tabs .nav-link:hover {
    border: none;
    text-shadow: 0 0 2px rgba(67, 94, 190, 0.3);
}

.nav-tabs .nav-link.active {
    border: none;
    position: relative;
    color: #435ebe;
}

.nav-tabs .nav-link.active:after {
    content: "";
    width: 100%;
    position: absolute;
    bottom: 0;
    height: 2px;
    background-color: #435ebe;
    left: 0;
    box-shadow: 0 2px 5px rgba(67, 94, 190, 0.5);
}

.navbar-fixed {
    position: fixed;
    background-color: #fff;
}

.navbar {
    height: 60px;
    padding: 0.5rem 1.25rem;
}

.navbar .navbar-brand img {
    height: 1.5rem;
}

.navbar .user-menu img {
    width: 39px;
    height: 39px;
}

.navbar.navbar-header li {
    display: flex;
    align-items: center;
}

.navbar.navbar-header li.nav-icon {
    margin-right: 0.4rem;
}

.navbar.navbar-header li.nav-icon .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
}

.navbar.navbar-header li.nav-icon .nav-link:hover {
    background-color: #e9ecef;
}

.navbar.navbar-header .dropdown>a {
    color: #6c757d;
    font-weight: 600;
}

.navbar.navbar-header .dropdown>a svg {
    height: 24px;
    width: 24px;
}

.navbar.navbar-header .dropdown>a:after {
    display: none;
}

.pagination.pagination-primary .page-item.active .page-link {
    background-color: #435ebe;
    border-color: #435ebe;
    box-shadow: 0 2px 5px rgba(67, 94, 190, 0.3);
}

.pagination.pagination-secondary .page-item.active .page-link {
    background-color: #6c757d;
    border-color: #6c757d;
    box-shadow: 0 2px 5px rgba(108, 117, 125, 0.3);
}

.pagination.pagination-success .page-item.active .page-link {
    background-color: #198754;
    border-color: #198754;
    box-shadow: 0 2px 5px rgba(25, 135, 84, 0.3);
}

.pagination.pagination-info .page-item.active .page-link {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
    box-shadow: 0 2px 5px rgba(13, 202, 240, 0.3);
}

.pagination.pagination-warning .page-item.active .page-link {
    background-color: #ffc107;
    border-color: #ffc107;
    box-shadow: 0 2px 5px rgba(255, 193, 7, 0.3);
}

.pagination.pagination-danger .page-item.active .page-link {
    background-color: #dc3545;
    border-color: #dc3545;
    box-shadow: 0 2px 5px rgba(220, 53, 69, 0.3);
}

.pagination.pagination-light .page-item.active .page-link {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    box-shadow: 0 2px 5px rgba(248, 249, 250, 0.3);
}

.pagination.pagination-dark .page-item.active .page-link {
    background-color: #212529;
    border-color: #212529;
    box-shadow: 0 2px 5px rgba(33, 37, 41, 0.3);
}

.page-item:not(.active) .page-link:hover {
    color: #000;
}

.page-item i,
.page-item svg {
    font-size: 13px;
    width: 13px;
    height: 13px;
}

.page-item .page-link {
    font-size: 0.875rem;
}

.page-item .page-link:focus {
    box-shadow: none;
}

.page-item:first-child {
    margin-right: 0.4rem;
}

.page-item:last-child {
    margin-left: 0.4rem;
}

.dataTable-table td,
.dataTable-table thead th,
.table td,
.table thead th {
    vertical-align: middle;
}

.dataTable-table:not(.table-borderless) thead th,
.table:not(.table-borderless) thead th {
    border-bottom: 1px solid #dedede !important;
}

.table-md.dataTable-table tr td,
.table-md.dataTable-table tr th,
.table-sm.dataTable-table tr td,
.table-sm.dataTable-table tr th,
.table.table-md tr td,
.table.table-md tr th,
.table.table-sm tr td,
.table.table-sm tr th {
    padding: 1rem;
}

.table-lg.dataTable-table tr td,
.table-lg.dataTable-table tr th,
.table.table-lg tr td,
.table.table-lg tr th {
    padding: 1.3rem;
}

.dataTable-container {
    overflow-x: auto;
}

.progress.progress-primary {
    overflow: visible;
}

.progress.progress-primary .progress-bar {
    background-color: #435ebe;
    border-radius: 0.25rem;
}

.progress.progress-secondary {
    overflow: visible;
}

.progress.progress-secondary .progress-bar {
    background-color: #6c757d;
    border-radius: 0.25rem;
}

.progress.progress-success {
    overflow: visible;
}

.progress.progress-success .progress-bar {
    background-color: #198754;
    border-radius: 0.25rem;
}

.progress.progress-info {
    overflow: visible;
}

.progress.progress-info .progress-bar {
    background-color: #0dcaf0;
    border-radius: 0.25rem;
}

.progress.progress-warning {
    overflow: visible;
}

.progress.progress-warning .progress-bar {
    background-color: #ffc107;
    border-radius: 0.25rem;
}

.progress.progress-danger {
    overflow: visible;
}

.progress.progress-danger .progress-bar {
    background-color: #dc3545;
    border-radius: 0.25rem;
}

.progress.progress-light {
    overflow: visible;
}

.progress.progress-light .progress-bar {
    background-color: #f8f9fa;
    border-radius: 0.25rem;
}

.progress.progress-dark {
    overflow: visible;
}

.progress.progress-dark .progress-bar {
    background-color: #212529;
    border-radius: 0.25rem;
}

.progress.progress-sm {
    height: 0.4rem;
}

.progress.progress-lg {
    height: 1.5rem;
}

.progress .progress-bar {
    position: relative;
    overflow: visible;
}

.progress .progress-bar.progress-label:before {
    content: attr(aria-valuenow) "%";
    position: absolute;
    right: 0;
    top: -1.3rem;
    color: #495057;
    font-size: 0.8rem;
}


.bi.bi-middle:before {
    vertical-align: middle;
}

.bi.bi-sub:before {
    vertical-align: sub;
}

.stats-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background-color: #000;
    float: right;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-icon i {
    color: #fff;
    font-size: 1.7rem;
}

.stats-icon.purple {
    background-color: #9694ff;
}

.stats-icon.blue {
    background-color: #57caeb;
}

.stats-icon.red {
    background-color: #ff7976;
}

.stats-icon.green {
    background-color: #5ddab4;
}

@media (max-width: 767px) {
    .stats-icon {
        float: left;
        margin-bottom: 0.4rem;
    }
}

.burger-btn {
    display: none;
}

#main {
    margin-left: 260px;
    padding: 1.25rem;
    background: #1A202C;
}

@media screen and (max-width: 1199px) {
    #main {
        margin-left: 0;
    }
}

#main.layout-navbar {
    padding: 0;
}

#main #main-content {
    padding: 2rem;
}

.page-heading {
    margin: 0 0 2rem;
}

.page-heading h3 {
    font-weight: 700;
    color: #ffffff;
}

.page-heading .text-subtitle {
    color: #a0aec0 !important;
}

.page-heading .breadcrumb-header .breadcrumb-item a {
    color: #a0aec0;
}

.page-heading .breadcrumb-header .breadcrumb-item a:hover {
    color: #ffffff;
}

.page-heading .breadcrumb-header .breadcrumb-item.active {
    color: #ffffff;
}

.page-heading .breadcrumb-header .breadcrumb-item::before {
    color: #718096;
}

.page-title-headings {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.page-title-headings h3 {
    margin-bottom: 0;
    margin-right: 1rem;
}

.page-title-headings .breadcrumb {
    margin-bottom: 0;
}

a {
    text-decoration: none;
}

.mt-10 {
    margin-top: 3rem;
}

.mb-10,
.my-10 {
    margin-bottom: 3rem;
}

.my-10 {
    margin-top: 3rem;
}

.mb-24,
.my-24 {
    margin-bottom: 6rem;
}

.my-24 {
    margin-top: 6rem;
}

.opacity-50 {
    opacity: 1%;
}

.py-4-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-6xl {
    font-size: 4rem;
}

.text-black {
    color: #000;
}

.bg-gradient-ltr {
    background: linear-gradient(90deg, #095cde, #53c3f3);
}

/* Dark theme friendly background colors - solid colors instead of rgba */
.bg-light-primary {
    background-color: #435ebe;
    color: #ffffff;
}

.bg-light-secondary {
    background-color: #6c757d;
    color: #ffffff;
}

.bg-light-success {
    background-color: #198754;
    color: #ffffff;
}

.bg-light-danger {
    background-color: #dc3545;
    color: #ffffff;
}

.bg-light-warning {
    background-color: #ffc107;
    color: #212529;
}

.bg-light-info {
    background-color: #0dcaf0;
    color: #212529;
}

/* Soft background variants - for dark theme */
.bg-soft-primary {
    background-color: #435ebe;
    color: #ffffff;
}

.bg-soft-secondary {
    background-color: #6c757d;
    color: #ffffff;
}

.bg-soft-success {
    background-color: #198754;
    color: #ffffff;
}

.bg-soft-danger {
    background-color: #dc3545;
    color: #ffffff;
}

.bg-soft-warning {
    background-color: #ffc107;
    color: #212529;
}

.bg-soft-info {
    background-color: #0dcaf0;
    color: #212529;
}

/* Avatar title styling */
.avatar-title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-weight: 600;
    color: inherit;
}

.avatar-title i {
    font-size: inherit;
    color: inherit;
}

/* Avatar-sm with rounded-circle - stats icons style */
.avatar-sm.rounded-circle,
.avatar-sm.rounded {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-sm.rounded-circle .avatar-title,
.avatar-sm.rounded .avatar-title {
    font-size: 1rem;
}

.avatar-sm.rounded-circle i,
.avatar-sm.rounded i {
    font-size: 1.2rem;
    color: #ffffff;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

.text-width-md {
    max-width: 450px;
}

.text-gray-300 {
    color: #dee2e6 !important;
}

.text-gray-400 {
    color: #ced4da !important;
}

.text-gray-500 {
    color: #adb5bd !important;
}

.text-gray-600 {
    color: #6c757d !important;
}

.btn-xl {
    padding: 1rem 2rem;
}

.icon-mid:before {
    vertical-align: middle;
}

/* ============================================
   DataTables Responsive & Column Search Styles
   ============================================ */

/* DataTables wrapper responsive */
.dataTables_wrapper {
    width: 100%;
    overflow: hidden;
}

/* Make table scrollable on mobile */
.dataTables_wrapper .table-responsive,
.dataTables_wrapper > .row > .col-sm-12 {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Column search inputs */
.column-search th {
    padding: 0.5rem 0.25rem;
    background-color: rgba(255, 255, 255, 0.03);
}

.column-search-input {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid #3a3f47;
    background-color: #2c3038;
    color: #e2e8f0;
}

.column-search-input:focus {
    border-color: #435ebe;
    background-color: #2c3038;
    color: #fff;
    box-shadow: 0 0 0 0.15rem rgba(67, 94, 190, 0.25);
}

.column-search-input::placeholder {
    color: #718096;
    font-size: 0.75rem;
}

/* DataTables buttons styling */
.dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.dt-buttons .btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
}

/* DataTables info and pagination on mobile */
@media (max-width: 767.98px) {
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .dataTables_wrapper .dataTables_length label,
    .dataTables_wrapper .dataTables_filter label {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dataTables_wrapper .dataTables_length select {
        margin: 0.25rem 0;
        width: auto;
    }

    .dataTables_wrapper .dataTables_filter input {
        margin: 0.25rem 0;
        width: 100%;
        max-width: 200px;
    }

    .dataTables_wrapper .dataTables_info {
        text-align: center;
        font-size: 0.8rem;
        padding: 0.5rem 0;
    }

    .dataTables_wrapper .dataTables_paginate {
        text-align: center;
        padding: 0.5rem 0;
    }

    .dataTables_wrapper .dataTables_paginate .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }

    .dataTables_wrapper .dataTables_paginate .page-item .page-link {
        padding: 0.35rem 0.6rem;
        font-size: 0.85rem;
    }

    /* Hide less important columns on mobile */
    table.dataTable th.mobile-hide,
    table.dataTable td.mobile-hide {
        display: none !important;
    }

    /* Stack buttons on mobile */
    .dt-buttons {
        justify-content: center;
        width: 100%;
    }

    .dt-buttons .btn {
        flex: 0 0 auto;
    }

    /* Column search - smaller inputs on mobile */
    .column-search-input {
        font-size: 0.7rem;
        padding: 0.2rem 0.35rem;
        min-width: 60px;
    }

    /* Table cell padding reduction on mobile */
    table.dataTable > tbody > tr > td,
    table.dataTable > thead > tr > th {
        padding: 0.5rem 0.35rem;
        font-size: 0.85rem;
    }

    /* Truncate long text in cells */
    table.dataTable td {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    table.dataTable td.text-wrap {
        white-space: normal;
        max-width: none;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    table.dataTable th.tablet-hide,
    table.dataTable td.tablet-hide {
        display: none !important;
    }

    .column-search-input {
        font-size: 0.75rem;
    }
}

/* DataTables processing indicator */
.dataTables_wrapper .dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 1rem 2rem;
    background: rgba(26, 32, 44, 0.95);
    border: 1px solid #3a3f47;
    border-radius: 0.5rem;
    color: #e2e8f0;
    z-index: 100;
}

/* Empty table message */
.dataTables_wrapper .dataTables_empty {
    text-align: center;
    padding: 2rem;
    color: #718096;
}

/* Table row hover effect */
table.dataTable tbody tr:hover {
    background-color: rgba(67, 94, 190, 0.1);
}

/* Sorting indicator colors */
table.dataTable thead th.sorting_asc::after,
table.dataTable thead th.sorting_desc::after {
    opacity: 1;
    color: #435ebe;
}

/* Export button dropdown menu */
.dt-button-collection {
    background-color: #2c3038;
    border: 1px solid #3a3f47;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.dt-button-collection .dt-button {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    color: #e2e8f0;
    background: none;
    border: none;
    text-align: left;
}

.dt-button-collection .dt-button:hover {
    background-color: rgba(67, 94, 190, 0.2);
    color: #fff;
}

/* Ensure table doesn't break layout */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #4a5568 #2d3748;
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #2d3748;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #4a5568;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #5a6578;
}

/* Fix for table min-width to prevent squishing */
table.dataTable {
    min-width: 100%;
    width: 100% !important;
}

@media (max-width: 575.98px) {
    table.dataTable {
        min-width: 500px;
    }
}

/* Mobile responsive DataTables improvements */
@media (max-width: 767.98px) {
    /* Make card body overflow properly */
    .card-body > .table-responsive,
    .card-body > .dataTables_wrapper {
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    /* Compact table cells on mobile */
    .table th,
    .table td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    /* DataTables buttons should wrap */
    .dt-buttons {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .dt-buttons .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }

    /* DataTables info and pagination on mobile */
    .dataTables_info {
        font-size: 0.75rem;
    }

    /* Column search inputs on mobile */
    .column-search-input,
    .column-search {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }

    /* Badge sizing */
    .badge {
        font-size: 0.65rem;
        padding: 0.2em 0.4em;
    }

    /* Status indicators */
    .status-indicator {
        width: 8px;
        height: 8px;
    }

    /* User avatar size */
    .user-avatar {
        width: 28px;
        height: 28px;
    }

    /* Action buttons */
    .btn-action {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }

    /* Dropdown menu positioning */
    .dropdown-menu {
        font-size: 0.8rem;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    /* Reduce padding further */
    .table th,
    .table td {
        padding: 0.35rem;
        font-size: 0.75rem;
    }

    /* DataTables buttons stack */
    .dt-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .dt-buttons .btn {
        width: 100%;
        margin-bottom: 0.25rem;
    }

    /* Pagination compact */
    .dataTables_paginate .page-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }

    /* Hide column search row on very small screens */
    thead tr.column-search {
        display: none;
    }
}

/* Sticky action column for all tables on mobile */
@media (max-width: 991px) {
    .table-responsive {
        min-height: 350px;
    }

    /* Ensure dropdown menus show above everything */
    .dropdown-menu {
        z-index: 1060;
        position: fixed !important;
    }
}

/* Prevent dropdown cutoff in tables */
.card-body {
    overflow: visible;
}

.table-responsive {
    overflow-x: auto;
    overflow-y: visible;
}
#main .display-1 { font-size: 2.5rem !important; }
#main .display-2 { font-size: 2rem !important; }
#main .display-3 { font-size: 1.75rem !important; }
#main .display-4 { font-size: 1.5rem !important; }
#main .display-5 { font-size: 1.25rem !important; }
#main .display-6 { font-size: 1.1rem !important; }
#main .fs-1 { font-size: 1.5rem !important; }
#main .fs-2 { font-size: 1.25rem !important; }

.breadcrumb-item a,
.breadcrumb-item.active {
    color: rgba(236, 239, 241, 0.8) !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(236, 239, 241, 0.5);
}

.page-heading h3 {
    color: #ECEFF1;
}

.page-heading .text-subtitle {
    color: rgba(236, 239, 241, 0.6) !important;
}
