/* =========================================================
   DEBTZERO
   MASTER STYLE SHEET
   =========================================================
   This file controls:
   - Global layout
   - Login page
   - Common utilities
   - Report cards
   - Dark mode
   - Global responsive fixes

   Component CSS is loaded separately:
   variables.css
   sidebar.css
   navbar.css
   dashboard.css
   forms.css
   tables.css
   buttons.css
   responsive.css
   animations.css
========================================================= */


/* =========================================================
   IMPORT COMPONENT STYLES
========================================================= */

@import url('variables.css');
@import url('sidebar.css');
@import url('navbar.css');
@import url('dashboard.css');
@import url('forms.css');
@import url('tables.css');
@import url('buttons.css');
@import url('responsive.css');
@import url('animations.css');


/* =========================================================
   GLOBAL RESET
========================================================= */

*,
*::before,
*::after {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family:
        'Poppins',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;

    background: var(--body);

    color: var(--text);

    font-size: 15px;

    line-height: 1.6;

    overflow-x: hidden;

    min-height: 100vh;

    transition:
        background-color .3s ease,
        color .3s ease;

}


a {

    text-decoration: none;

    color: inherit;

}


ul,
ol {

    list-style: none;

    padding: 0;

    margin: 0;

}


img {

    max-width: 100%;

    height: auto;

    display: block;

}


button,
input,
select,
textarea {

    font-family: inherit;

}


button {

    cursor: pointer;

}


::selection {

    background: var(--primary);

    color: #ffffff;

}


/* =========================================================
   GLOBAL SCROLLBAR
========================================================= */

::-webkit-scrollbar {

    width: 8px;

    height: 8px;

}


::-webkit-scrollbar-track {

    background: var(--body);

}


::-webkit-scrollbar-thumb {

    background: #c7ced9;

    border-radius: 20px;

}


::-webkit-scrollbar-thumb:hover {

    background: var(--primary);

}


/* =========================================================
   MAIN APPLICATION LAYOUT
========================================================= */

/* =========================================================
   MAIN APPLICATION LAYOUT
========================================================= */

.wrapper {

    width: 100%;

    min-height: 100vh;

    margin-left: 0;

}


/* =========================================================
   MAIN CONTENT
========================================================= */

.content {

    margin-left: var(--sidebar-width);

    width: calc(100% - var(--sidebar-width));

    min-height: calc(100vh - var(--navbar-height));

    padding-top: var(--navbar-height);

    background: var(--body);

    box-sizing: border-box;

    overflow-x: hidden;

    transition:
        margin-left .3s ease,
        width .3s ease,
        background-color .3s ease,
        color .3s ease;

}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.content .container-fluid {

    width: 100%;

    max-width: 100%;

    margin: 0;

    padding: 24px;

    box-sizing: border-box;

}


/* =========================================================
   ROW WIDTH FIX
========================================================= */

.content .row {

    width: 100%;

    max-width: 100%;

    box-sizing: border-box;

}


/* =========================================================
   BOOTSTRAP COLUMNS
========================================================= */

.content .row > [class*="col-"] {

    min-width: 0;

}


/* =========================================================
   CARD WIDTH FIX
========================================================= */

.content .card,
.content .dashboard-box {

    max-width: 100%;

    min-width: 0;

    box-sizing: border-box;

}


/* =========================================================
   CHART WIDTH FIX
========================================================= */

.content canvas {

    max-width: 100% !important;

}


/* =========================================================
   PREVENT HORIZONTAL OVERFLOW
========================================================= */

html,
body {

    max-width: 100%;

    overflow-x: hidden;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .content {

        margin-left: 0;

        width: 100%;

    }

    .content .container-fluid {

        padding: 18px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .content {

        margin-left: 0;

        width: 100%;

    }

    .content .container-fluid {

        padding: 15px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 576px) {

    .content .container-fluid {

        padding: 12px;

    }

}


/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .content .container-fluid {

        padding: 8px;

    }

}

/* =========================================================
   PAGE TITLES
========================================================= */

.page-title {

    font-size: 28px;

    font-weight: 700;

    color: var(--text);

    margin-bottom: 25px;

}


.page-subtitle {

    color: var(--text-light);

    font-size: 14px;

    margin-bottom: 20px;

}


.page-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 25px;

}


.page-header-content {

    min-width: 0;

}


/* =========================================================
   COMMON TEXT
========================================================= */

.text-muted {

    color: var(--text-light) !important;

}


.text-primary {

    color: var(--primary) !important;

}


.text-success {

    color: var(--success) !important;

}


.text-danger {

    color: var(--danger) !important;

}


.text-warning {

    color: var(--warning) !important;

}


.text-info {

    color: var(--info) !important;

}


/* =========================================================
   COMMON CARD
========================================================= */

.card {

    border: none;

    border-radius: var(--radius);

    background: var(--white);

    box-shadow: var(--shadow);

    transition:
        background-color .3s ease,
        color .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;

}


.card-header {

    background: transparent;

    border-bottom: 1px solid var(--border);

    padding: 18px 20px;

}


.card-body {

    padding: 20px;

}


.card-footer {

    background: transparent;

    border-top: 1px solid var(--border);

    padding: 15px 20px;

}


.card-title {

    font-weight: 600;

    color: var(--text);

}


.card-text {

    color: var(--text-light);

}


/* =========================================================
   BUTTON ICON
========================================================= */

.btn-icon {

    width: 38px;

    height: 38px;

    padding: 0;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    font-size: .95rem;

    border: none;

    cursor: pointer;

    transition:
        transform .3s ease,
        background-color .3s ease,
        color .3s ease;

}


.btn-icon .fa,
.btn-icon .fas,
.btn-icon .far,
.btn-icon .fal,
.btn-icon .fab {

    margin: 0;

    font-size: 1rem;

}


.btn-icon.btn-sm {

    width: 34px;

    height: 34px;

}


.btn-icon.btn-lg {

    width: 46px;

    height: 46px;

}


.btn-icon:hover {

    transform: scale(1.04);

}


/* =========================================================
   LOGIN PAGE
========================================================= */

.login-body {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--body);

    padding: 20px;

}


.login-card {

    width: 420px;

    max-width: 100%;

    background: var(--white);

    padding: 45px 40px;

    border-radius: 22px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .08);

    text-align: center;

    animation:
        sfFadeUp .5s ease both;

}


.login-logo {

    width: 80px;

    height: 80px;

    margin: 0 auto 20px;

    border-radius: 22px;

    background: var(--primary);

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 35px;

}


.login-card h2 {

    font-size: 28px;

    font-weight: 700;

    color: var(--text);

    margin-bottom: 5px;

}


.login-card p {

    color: var(--text-light);

    margin-bottom: 30px;

}


/* =========================================================
   LOGIN FORM
========================================================= */

.login-form {

    text-align: left;

}


.form-group {

    margin-bottom: 20px;

}


.form-group label {

    display: block;

    margin-bottom: 8px;

    font-weight: 500;

    color: var(--text);

}


.login-form .form-control {

    height: 48px;

    width: 100%;

    border-radius: 12px;

    border: 1px solid var(--border);

    padding: 0 15px;

    font-size: 14px;

    background: var(--white);

    color: var(--text);

    transition:
        border-color .3s ease,
        box-shadow .3s ease,
        background-color .3s ease,
        color .3s ease;

}


.login-form .form-control:focus {

    border-color: var(--primary);

    outline: none;

    box-shadow:
        0 0 0 3px rgba(91, 125, 177, .15);

}


.login-btn {

    width: 100%;

    min-height: 48px;

    border: none;

    border-radius: 12px;

    background: var(--primary);

    color: #ffffff;

    font-weight: 600;

    font-size: 16px;

    transition:
        background-color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;

}


.login-btn:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);

    box-shadow:
        0 8px 25px rgba(91, 125, 177, .25);

}


/* =========================================================
   REPORT DASHBOARD
========================================================= */

.report-card {

    border-radius: 18px;

    transition:
        transform .35s ease,
        box-shadow .35s ease;

}


.report-card:hover {

    transform: translateY(-6px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .12);

}


.report-icon {

    width: 75px;

    height: 75px;

    border-radius: 50%;

    color: #ffffff;

    font-size: 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: auto;

}


/* =========================================================
   DATA TABLE GENERAL
========================================================= */

.dataTables_wrapper {

    width: 100%;

}


.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {

    margin-bottom: 15px;

}


.dataTables_wrapper .dataTables_info {

    padding-top: 15px;

}


.dataTables_wrapper .dataTables_paginate {

    padding-top: 15px;

}


.dataTables_wrapper select,
.dataTables_wrapper input {

    border-radius: 8px;

}


/* =========================================================
   BADGE
========================================================= */

.badge {

    font-weight: 500;

}


/* =========================================================
   ALERT
========================================================= */

.alert {

    border-radius: 12px;

}


/* =========================================================
   MODAL
========================================================= */

.modal-content {

    border: none;

    border-radius: 16px;

    overflow: hidden;

}


.modal-header {

    border-bottom: 1px solid var(--border);

}


.modal-footer {

    border-top: 1px solid var(--border);

}


/* =========================================================
   RESPONSIVE PAGE HEADER
========================================================= */

@media (max-width: 768px) {

    .page-title {

        font-size: 23px;

        margin-bottom: 15px;

    }


    .page-header {

        align-items: flex-start;

        flex-direction: column;

    }


    .card-body {

        padding: 16px;

    }


    .card-header {

        padding: 15px 16px;

    }

}


/* =========================================================
   LOGIN RESPONSIVE
========================================================= */

@media (max-width: 480px) {

    .login-body {

        padding: 15px;

    }


    .login-card {

        width: 100%;

        padding: 32px 22px;

        border-radius: 16px;

    }


    .login-card h2 {

        font-size: 24px;

    }


    .login-logo {

        width: 65px;

        height: 65px;

        font-size: 28px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .login-card {

        padding: 28px 18px;

    }


    .container-fluid {

        padding: 8px;

    }

}


/* =========================================================
   DARK MODE
   ONE CONSOLIDATED SECTION
========================================================= */

body.dark-mode {

    --body: #111111;

    --white: #1b1b1b;

    --text: #f1f1f1;

    --text-light: #aaaaaa;

    --border: #363636;

    background: #111111 !important;

    color: #f1f1f1 !important;

}


/* =========================================================
   DARK MODE - BODY
========================================================= */

body.dark-mode {

    background-color: #111111 !important;

    color: #f1f1f1 !important;

}


body.dark-mode .content {

    background: #111111 !important;

    color: #f1f1f1 !important;

}


/* =========================================================
   DARK MODE - SIDEBAR
========================================================= */

body.dark-mode .sidebar {

    background: #181818 !important;

    color: #ffffff !important;

    border-right: 1px solid #333333 !important;

}


body.dark-mode .sidebar-header {

    background: #181818 !important;

    border-bottom: 1px solid #333333 !important;

}


body.dark-mode .brand-text h5 {

    color: #ffffff !important;

}


body.dark-mode .brand-text small {

    color: #999999 !important;

}


body.dark-mode .sidebar-close {

    color: #cccccc !important;

}


body.dark-mode .menu-title {

    color: #888888 !important;

}


body.dark-mode .sidebar-menu li a {

    color: #d5d5d5 !important;

}


body.dark-mode .sidebar-menu li a:hover {

    background: #292929 !important;

    color: #ffffff !important;

}


body.dark-mode .sidebar-menu li a:hover i {

    color: #ffffff !important;

}


body.dark-mode .sidebar-menu li.active a {

    background: var(--primary) !important;

    color: #ffffff !important;

}


body.dark-mode .sidebar-menu li.active a i {

    color: #ffffff !important;

}


body.dark-mode .sidebar-footer {

    border-top-color: #333333 !important;

}


body.dark-mode .user-box h6 {

    color: #ffffff !important;

}


body.dark-mode .user-box small {

    color: #999999 !important;

}


body.dark-mode .logout-btn {

    background: #292929 !important;

    border: 1px solid #444444 !important;

    color: #eeeeee !important;

}


body.dark-mode .logout-btn:hover {

    background: #3a3a3a !important;

    color: #ffffff !important;

}


/* =========================================================
   DARK MODE - NAVBAR
========================================================= */

body.dark-mode .top-navbar {

    background: #181818 !important;

    border-bottom: 1px solid #333333 !important;

    color: #ffffff !important;

}


body.dark-mode .menu-btn {

    color: #ffffff !important;

}


body.dark-mode .menu-btn:hover {

    background: #292929 !important;

}


body.dark-mode .search-box {

    background: #242424 !important;

    border: 1px solid #444444 !important;

}


body.dark-mode .search-box i {

    color: #aaaaaa !important;

}


body.dark-mode .search-box input {

    color: #ffffff !important;

}


body.dark-mode .search-box input::placeholder {

    color: #888888 !important;

}


body.dark-mode .today-date {

    color: #dddddd !important;

}


body.dark-mode .today-date i {

    color: var(--primary) !important;

}


body.dark-mode .nav-icon {

    background: transparent !important;

    color: #eeeeee !important;

}


body.dark-mode .nav-icon:hover {

    background: #292929 !important;

}


body.dark-mode #darkModeBtn {

    color: #ffd54f !important;

}


body.dark-mode .profile-btn {

    color: #ffffff !important;

}


body.dark-mode .profile-btn:hover {

    background: #292929 !important;

}


body.dark-mode .profile-info h6 {

    color: #ffffff !important;

}


body.dark-mode .profile-info small {

    color: #999999 !important;

}


/* =========================================================
   DARK MODE - DROPDOWNS
========================================================= */

body.dark-mode .dropdown-menu {

    background: #222222 !important;

    border: 1px solid #444444 !important;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .5) !important;

}


body.dark-mode .dropdown-header {

    color: #ffffff !important;

}


body.dark-mode .dropdown-item {

    color: #dddddd !important;

    background: transparent !important;

}


body.dark-mode .dropdown-item:hover,
body.dark-mode .dropdown-item:focus {

    background: #333333 !important;

    color: #ffffff !important;

}


body.dark-mode .dropdown-item i {

    color: #bbbbbb !important;

}


body.dark-mode .dropdown-item:hover i {

    color: #ffffff !important;

}


body.dark-mode .dropdown-divider {

    border-color: #444444 !important;

}


/* =========================================================
   DARK MODE - NOTIFICATIONS
========================================================= */

body.dark-mode .notification-menu {

    background: #222222 !important;

}


body.dark-mode .notification-menu .dropdown-item {

    color: #dddddd !important;

}


body.dark-mode .notification-menu .dropdown-item i {

    color: var(--primary) !important;

}


body.dark-mode .notification-count {

    background: #e91e63 !important;

    color: #ffffff !important;

}


/* =========================================================
   DARK MODE - CARDS
========================================================= */

body.dark-mode .card,
body.dark-mode .dashboard-card,
body.dark-mode .finance-card,
body.dark-mode .dashboard-box,
body.dark-mode .welcome-box {

    background: #1b1b1b !important;

    color: #eeeeee !important;

    border: 1px solid #333333 !important;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, .25) !important;

}


body.dark-mode .card-header {

    background: #222222 !important;

    color: #ffffff !important;

    border-bottom-color: #3a3a3a !important;

}


body.dark-mode .card-footer {

    background: #222222 !important;

    color: #dddddd !important;

    border-top-color: #3a3a3a !important;

}


body.dark-mode .card-title {

    color: #ffffff !important;

}


body.dark-mode .card-text {

    color: #cccccc !important;

}


body.dark-mode .dashboard-card h6,
body.dark-mode .finance-card p {

    color: #aaaaaa !important;

}


body.dark-mode .dashboard-card h2,
body.dark-mode .finance-card h3 {

    color: #ffffff !important;

}


body.dark-mode .welcome-box p {

    color: #aaaaaa !important;

}


/* =========================================================
   DARK MODE - TABLE
========================================================= */

body.dark-mode .table {

    --bs-table-bg: #1b1b1b;

    --bs-table-color: #eeeeee;

    --bs-table-border-color: #3a3a3a;

    background: #1b1b1b !important;

    color: #eeeeee !important;

}


body.dark-mode .table > :not(caption) > * > * {

    background-color: #1b1b1b !important;

    color: #eeeeee !important;

    border-color: #3a3a3a !important;

}


body.dark-mode .table thead th {

    background: #292929 !important;

    color: #ffffff !important;

    border-color: #444444 !important;

}


body.dark-mode .table tbody td {

    background: #1b1b1b !important;

    color: #dddddd !important;

}


body.dark-mode .table tbody tr:hover td {

    background: #252525 !important;

    color: #ffffff !important;

}


body.dark-mode .table a {

    color: #ff7aa8 !important;

}


body.dark-mode .table a:hover {

    color: #ff9cbd !important;

}


/* =========================================================
   DARK MODE - FORMS
========================================================= */

body.dark-mode .form-label,
body.dark-mode label {

    color: #dddddd !important;

}


body.dark-mode .form-control,
body.dark-mode .form-select,
body.dark-mode textarea,
body.dark-mode input,
body.dark-mode select {

    background-color: #242424 !important;

    color: #ffffff !important;

    border-color: #444444 !important;

}


body.dark-mode .form-control::placeholder,
body.dark-mode textarea::placeholder,
body.dark-mode input::placeholder {

    color: #888888 !important;

}


body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus,
body.dark-mode textarea:focus,
body.dark-mode input:focus,
body.dark-mode select:focus {

    background-color: #292929 !important;

    color: #ffffff !important;

    border-color: var(--primary) !important;

    box-shadow:
        0 0 0 .2rem rgba(91, 125, 177, .18) !important;

}


body.dark-mode .input-group-text {

    background: #292929 !important;

    color: #dddddd !important;

    border-color: #444444 !important;

}


body.dark-mode .form-check-label {

    color: #dddddd !important;

}


body.dark-mode .form-check-input {

    background-color: #242424 !important;

    border-color: #555555 !important;

}


body.dark-mode .form-check-input:checked {

    background-color: var(--primary) !important;

    border-color: var(--primary) !important;

}


/* =========================================================
   DARK MODE - BUTTONS
========================================================= */

body.dark-mode .btn {

    color: #ffffff;

}


body.dark-mode .btn-primary {

    background-color: var(--primary) !important;

    border-color: var(--primary) !important;

    color: #ffffff !important;

}


body.dark-mode .btn-primary:hover {

    background-color: var(--primary-dark) !important;

    border-color: var(--primary-dark) !important;

}


body.dark-mode .btn-secondary {

    background-color: #555555 !important;

    border-color: #666666 !important;

    color: #ffffff !important;

}


body.dark-mode .btn-secondary:hover {

    background-color: #666666 !important;

}


body.dark-mode .btn-success {

    background-color: #198754 !important;

    border-color: #198754 !important;

    color: #ffffff !important;

}


body.dark-mode .btn-danger {

    background-color: #dc3545 !important;

    border-color: #dc3545 !important;

    color: #ffffff !important;

}


body.dark-mode .btn-warning {

    background-color: #ffc107 !important;

    border-color: #ffc107 !important;

    color: #161616 !important;

}


body.dark-mode .btn-info {

    background-color: #0dcaf0 !important;

    border-color: #0dcaf0 !important;

    color: #111111 !important;

}


body.dark-mode .btn-light {

    background-color: #333333 !important;

    border-color: #555555 !important;

    color: #ffffff !important;

}


body.dark-mode .btn-outline-primary {

    color: #9db7df !important;

    border-color: var(--primary) !important;

}


body.dark-mode .btn-outline-primary:hover {

    background-color: var(--primary) !important;

    color: #ffffff !important;

}


body.dark-mode .btn-outline-secondary {

    color: #dddddd !important;

    border-color: #666666 !important;

}


body.dark-mode .btn-outline-secondary:hover {

    background-color: #555555 !important;

    color: #ffffff !important;

}


body.dark-mode .btn-outline-danger {

    color: #ff6b6b !important;

    border-color: #dc3545 !important;

}


body.dark-mode .btn-outline-danger:hover {

    background-color: #dc3545 !important;

    color: #ffffff !important;

}


/* =========================================================
   DARK MODE - TEXT
========================================================= */

body.dark-mode .text-dark {

    color: #eeeeee !important;

}


body.dark-mode .text-muted {

    color: #999999 !important;

}


body.dark-mode .text-secondary {

    color: #aaaaaa !important;

}


body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {

    color: #ffffff;

}


/* =========================================================
   DARK MODE - ALERTS
========================================================= */

body.dark-mode .alert {

    border-color: #444444 !important;

}


body.dark-mode .alert-light {

    background: #292929 !important;

    color: #eeeeee !important;

}


body.dark-mode .alert-secondary {

    background: #292929 !important;

    color: #dddddd !important;

}


/* =========================================================
   DARK MODE - MODALS
========================================================= */

body.dark-mode .modal-content {

    background: #1e1e1e !important;

    color: #eeeeee !important;

    border: 1px solid #444444 !important;

}


body.dark-mode .modal-header {

    background: #242424 !important;

    color: #ffffff !important;

    border-bottom-color: #444444 !important;

}


body.dark-mode .modal-title {

    color: #ffffff !important;

}


body.dark-mode .modal-body {

    background: #1e1e1e !important;

    color: #dddddd !important;

}


body.dark-mode .modal-footer {

    background: #242424 !important;

    border-top-color: #444444 !important;

}


body.dark-mode .btn-close {

    filter:
        invert(1)
        grayscale(100%)
        brightness(200%);

}


/* =========================================================
   DARK MODE - PAGINATION
========================================================= */

body.dark-mode .pagination .page-link {

    background: #242424 !important;

    color: #dddddd !important;

    border-color: #444444 !important;

}


body.dark-mode .pagination .page-link:hover {

    background: #333333 !important;

    color: #ffffff !important;

}


body.dark-mode .pagination .active .page-link {

    background: var(--primary) !important;

    border-color: var(--primary) !important;

    color: #ffffff !important;

}


body.dark-mode .pagination .disabled .page-link {

    background: #1b1b1b !important;

    color: #666666 !important;

}


/* =========================================================
   DARK MODE - DATATABLE
========================================================= */

body.dark-mode .dataTables_wrapper {

    color: #dddddd !important;

}


body.dark-mode .dataTables_wrapper label {

    color: #dddddd !important;

}


body.dark-mode .dataTables_wrapper input,
body.dark-mode .dataTables_wrapper select {

    background: #242424 !important;

    color: #ffffff !important;

    border-color: #444444 !important;

}


body.dark-mode .dataTables_info {

    color: #aaaaaa !important;

}


body.dark-mode .dataTables_paginate .paginate_button {

    background: #242424 !important;

    color: #dddddd !important;

    border-color: #444444 !important;

}


body.dark-mode .dataTables_paginate .paginate_button:hover {

    background: #333333 !important;

    color: #ffffff !important;

}


body.dark-mode .dataTables_paginate .paginate_button.current {

    background: var(--primary) !important;

    border-color: var(--primary) !important;

    color: #ffffff !important;

}


/* =========================================================
   DARK MODE - BREADCRUMB
========================================================= */

body.dark-mode .breadcrumb {

    background: transparent !important;

}


body.dark-mode .breadcrumb-item {

    color: #aaaaaa !important;

}


body.dark-mode .breadcrumb-item.active {

    color: #ffffff !important;

}


body.dark-mode .breadcrumb-item a {

    color: #9db7df !important;

}


/* =========================================================
   DARK MODE - LIST GROUP
========================================================= */

body.dark-mode .list-group-item {

    background: #1e1e1e !important;

    color: #dddddd !important;

    border-color: #3a3a3a !important;

}


body.dark-mode .list-group-item:hover {

    background: #292929 !important;

}


/* =========================================================
   DARK MODE - NAV TABS
========================================================= */

body.dark-mode .nav-tabs {

    border-color: #444444 !important;

}


body.dark-mode .nav-tabs .nav-link {

    color: #aaaaaa !important;

}


body.dark-mode .nav-tabs .nav-link:hover {

    color: #ffffff !important;

    border-color: #444444 !important;

}


body.dark-mode .nav-tabs .nav-link.active {

    background: #1e1e1e !important;

    color: #ffffff !important;

    border-color:
        #444444
        #444444
        #1e1e1e !important;

}


/* =========================================================
   DARK MODE - PROGRESS
========================================================= */

body.dark-mode .progress {

    background: #333333 !important;

}


/* =========================================================
   DARK MODE - HR
========================================================= */

body.dark-mode hr {

    border-color: #3a3a3a !important;

    opacity: 1 !important;

}


/* =========================================================
   DARK MODE - SWEETALERT2
========================================================= */

body.dark-mode .swal2-popup {

    background: #242424 !important;

    color: #ffffff !important;

}


body.dark-mode .swal2-title {

    color: #ffffff !important;

}


body.dark-mode .swal2-html-container {

    color: #dddddd !important;

}


body.dark-mode .swal2-input,
body.dark-mode .swal2-textarea,
body.dark-mode .swal2-select {

    background: #333333 !important;

    color: #ffffff !important;

    border-color: #555555 !important;

}


/* =========================================================
   DARK MODE - OFFCANVAS
========================================================= */

body.dark-mode .offcanvas {

    background: #1e1e1e !important;

    color: #ffffff !important;

}


body.dark-mode .offcanvas-header {

    border-bottom-color: #444444 !important;

}


/* =========================================================
   DARK MODE - SCROLLBAR
========================================================= */

body.dark-mode::-webkit-scrollbar {

    width: 8px;

}


body.dark-mode::-webkit-scrollbar-track {

    background: #111111;

}


body.dark-mode::-webkit-scrollbar-thumb {

    background: #444444;

}


body.dark-mode::-webkit-scrollbar-thumb:hover {

    background: #666666;

}


body.dark-mode .sidebar::-webkit-scrollbar {

    width: 6px;

}


body.dark-mode .sidebar::-webkit-scrollbar-track {

    background: #181818;

}


body.dark-mode .sidebar::-webkit-scrollbar-thumb {

    background: #555555;

}


body.dark-mode .sidebar::-webkit-scrollbar-thumb:hover {

    background: #777777;

}


/* =========================================================
   FINAL MOBILE FIXES
========================================================= */

@media (max-width: 992px) {

    .wrapper {

        margin-left: 0 !important;

    }


    .content {

        padding-top: 70px;

    }


    .container-fluid {

        padding: 18px;

    }

}


@media (max-width: 768px) {

    .content {

        padding-top: 65px;

    }


    .container-fluid {

        padding: 15px;

    }


    .page-title {

        font-size: 22px;

    }


    .table-responsive {

        overflow-x: auto;

        -webkit-overflow-scrolling: touch;

    }


    .table {

        min-width: 650px;

    }


    .btn {

        max-width: 100%;

    }


    .modal-dialog {

        margin: 10px;

    }

}


@media (max-width: 576px) {

    .content {

        padding-top: 60px;

    }


    .container-fluid {

        padding: 12px;

    }


    .page-title {

        font-size: 20px;

    }


    .card {

        border-radius: 12px;

    }


    .card-body {

        padding: 14px;

    }


    .card-header {

        padding: 13px 14px;

    }


    .modal-dialog {

        margin: 8px;

    }

}


@media (max-width: 400px) {

    .content {

        padding-top: 55px;

    }


    .container-fluid {

        padding: 8px;

    }


    .page-title {

        font-size: 19px;

    }


    .btn {

        font-size: 13px;

        padding: 8px 12px;

    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {

    outline: 2px solid var(--primary);

    outline-offset: 2px;

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: .01ms !important;

        scroll-behavior: auto !important;

    }

}


/* =========================================================
   DEBTZERO
   COMPLETE DARK MODE OVERRIDE
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

body.dark-mode {

    background: #0f1115 !important;

    color: #e8eaed !important;

}


body.dark-mode .content {

    background: #0f1115 !important;

    color: #e8eaed;

}


/* =========================================================
   SIDEBAR
========================================================= */

body.dark-mode .sidebar {

    background: #17191d !important;

    border-right-color: #2b3037 !important;

    box-shadow:
        2px 0 20px rgba(0,0,0,.25);

}


/* Sidebar Header */

body.dark-mode .sidebar-header {

    background: #17191d !important;

    border-bottom-color: #2b3037 !important;

}


/* Brand */

body.dark-mode .brand-text h5 {

    color: #f5f7fa !important;

}


body.dark-mode .brand-text small {

    color: #9da5b0 !important;

}


/* Sidebar menu */

body.dark-mode .sidebar-menu {

    background: #17191d !important;

}


body.dark-mode .menu-title {

    color: #7f8995 !important;

}


/* Menu links */

body.dark-mode .sidebar-menu li a {

    color: #c5cad1 !important;

}


body.dark-mode .sidebar-menu li a:hover {

    background: #22262c !important;

    color: #ffffff !important;

}


/* Active menu */

body.dark-mode .sidebar-menu li.active a {

    background: var(--primary) !important;

    color: #ffffff !important;

}


/* Menu icons */

body.dark-mode .menu-icon {

    color: inherit !important;

}


/* Sidebar badges */

body.dark-mode .badge-count {

    background: #263142 !important;

    color: #8db4ff !important;

}


body.dark-mode .badge-count.danger {

    background: #43272b !important;

    color: #ff7b82 !important;

}


/* =========================================================
   SIDEBAR FOOTER
========================================================= */

body.dark-mode .sidebar-footer {

    background: #17191d !important;

    border-top-color: #2b3037 !important;

}


body.dark-mode .user-box h6 {

    color: #f1f3f5 !important;

}


body.dark-mode .user-box small {

    color: #9da5b0 !important;

}


/* Logout */

body.dark-mode .logout-btn {

    background: #352124 !important;

    color: #ff7078 !important;

    border: 1px solid #4b292d !important;

}


body.dark-mode .logout-btn:hover {

    background: #47282d !important;

    color: #ff8b91 !important;

}


/* =========================================================
   NAVBAR
========================================================= */

body.dark-mode .top-navbar {

    background: #17191d !important;

    border-bottom: 1px solid #2b3037 !important;

    box-shadow:
        0 2px 12px rgba(0,0,0,.25);

}


/* Search */

body.dark-mode .search-box {

    background: #22262c !important;

    border: 1px solid #343a43;

}


body.dark-mode .search-box i {

    color: #8f99a6 !important;

}


body.dark-mode .search-box input {

    color: #f1f3f5 !important;

}


body.dark-mode .search-box input::placeholder {

    color: #7f8995 !important;

}


/* Menu button */

body.dark-mode .menu-btn {

    color: #e8eaed !important;

}


/* Navbar icons */

body.dark-mode .nav-icon {

    background: #22262c !important;

    color: #e5e7eb !important;

}


body.dark-mode .nav-icon:hover {

    background: #2b3139 !important;

}


/* Date */

body.dark-mode .today-date {

    color: #aeb5bf !important;

}


/* Profile */

body.dark-mode .profile-info h6 {

    color: #f1f3f5 !important;

}


body.dark-mode .profile-info small {

    color: #9da5b0 !important;

}


body.dark-mode .profile-btn > i {

    color: #9da5b0 !important;

}


/* =========================================================
   DROPDOWN MENUS
========================================================= */

body.dark-mode .dropdown-menu {

    background: #1c2025 !important;

    border: 1px solid #343a43 !important;

    box-shadow:
        0 10px 30px rgba(0,0,0,.35);

}


body.dark-mode .dropdown-item {

    color: #dce0e5 !important;

}


body.dark-mode .dropdown-item:hover {

    background: #272c33 !important;

    color: #ffffff !important;

}


body.dark-mode .dropdown-divider {

    border-color: #343a43 !important;

}


body.dark-mode .dropdown-header {

    color: #9da5b0 !important;

}


/* =========================================================
   DASHBOARD CARDS
========================================================= */

body.dark-mode .card,
body.dark-mode .dashboard-card,
body.dark-mode .finance-card,
body.dark-mode .dashboard-box {

    background: #1a1e23 !important;

    border-color: #303640 !important;

    color: #e8eaed !important;

}


/* Card headers */

body.dark-mode .card-header {

    background: #1a1e23 !important;

    border-bottom-color: #303640 !important;

    color: #f1f3f5 !important;

}


/* Card titles */

body.dark-mode .card h5,
body.dark-mode .card h6,
body.dark-mode .card h4,
body.dark-mode .card h3,
body.dark-mode .card h2 {

    color: #f1f3f5 !important;

}


/* Muted text */

body.dark-mode .text-muted {

    color: #9da5b0 !important;

}


/* =========================================================
   TABLE
========================================================= */

body.dark-mode .table {

    --bs-table-bg: #1a1e23;

    --bs-table-color: #e8eaed;

    color: #e8eaed !important;

    background: #1a1e23 !important;

}


body.dark-mode .table th {

    color: #ffffff !important;

    background: #22272e !important;

    border-color: #343a43 !important;

}


body.dark-mode .table td {

    color: #dfe3e8 !important;

    background: #1a1e23 !important;

    border-color: #303640 !important;

}


body.dark-mode .table-hover tbody tr:hover td {

    background: #252a31 !important;

}


/* Bootstrap table secondary */

body.dark-mode .table-secondary {

    --bs-table-bg: #252a31 !important;

    --bs-table-color: #ffffff !important;

}


/* =========================================================
   FORMS
========================================================= */

body.dark-mode .form-control,
body.dark-mode .form-select {

    background: #22262c !important;

    color: #f1f3f5 !important;

    border-color: #3a414b !important;

}


body.dark-mode .form-control::placeholder {

    color: #7f8995 !important;

}


body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {

    background: #252a31 !important;

    color: #ffffff !important;

    border-color: var(--primary) !important;

    box-shadow:
        0 0 0 .2rem rgba(91,125,177,.20) !important;

}


body.dark-mode .form-label {

    color: #dfe3e8 !important;

}


/* =========================================================
   BUTTONS
========================================================= */

body.dark-mode .btn-light {

    background: #292e35 !important;

    border-color: #3a414b !important;

    color: #f1f3f5 !important;

}


body.dark-mode .btn-light:hover {

    background: #353b44 !important;

}


body.dark-mode .btn-outline-secondary {

    color: #cbd0d7 !important;

    border-color: #4a515c !important;

}


body.dark-mode .btn-outline-secondary:hover {

    background: #303640 !important;

    color: #ffffff !important;

}


/* =========================================================
   ALERTS
========================================================= */

body.dark-mode .alert {

    color: #e8eaed !important;

    background-color: #1c2025 !important;

    border-color: #343a43 !important;

}


/* =========================================================
   MODALS
========================================================= */

body.dark-mode .modal-content {

    background: #1a1e23 !important;

    color: #e8eaed !important;

    border-color: #343a43 !important;

}


body.dark-mode .modal-header {

    border-bottom-color: #343a43 !important;

}


body.dark-mode .modal-footer {

    border-top-color: #343a43 !important;

}


body.dark-mode .modal-title {

    color: #ffffff !important;

}


/* =========================================================
   PAGINATION
========================================================= */

body.dark-mode .page-link {

    background: #22262c !important;

    border-color: #3a414b !important;

    color: #cbd0d7 !important;

}


body.dark-mode .page-link:hover {

    background: #303640 !important;

    color: #ffffff !important;

}


body.dark-mode .page-item.active .page-link {

    background: var(--primary) !important;

    border-color: var(--primary) !important;

    color: #ffffff !important;

}


/* =========================================================
   PROGRESS
========================================================= */

body.dark-mode .progress {

    background: #30343a !important;

}


/* =========================================================
   LIST GROUP
========================================================= */

body.dark-mode .list-group-item {

    background: #1a1e23 !important;

    color: #e8eaed !important;

    border-color: #303640 !important;

}


/* =========================================================
   TOOLTIP / POPOVER
========================================================= */

body.dark-mode .popover {

    background: #1c2025 !important;

    border-color: #343a43 !important;

}


body.dark-mode .popover-header {

    background: #22262c !important;

    color: #ffffff !important;

}


body.dark-mode .popover-body {

    color: #dfe3e8 !important;

}


/* =========================================================
   DATATABLE
========================================================= */

body.dark-mode .dataTables_wrapper {

    color: #dfe3e8 !important;

}


body.dark-mode .dataTables_wrapper select,
body.dark-mode .dataTables_wrapper input {

    background: #22262c !important;

    color: #ffffff !important;

    border-color: #3a414b !important;

}


body.dark-mode .dataTables_info {

    color: #9da5b0 !important;

}


/* =========================================================
   SCROLLBAR
========================================================= */

body.dark-mode ::-webkit-scrollbar {

    width: 7px;

    height: 7px;

}


body.dark-mode ::-webkit-scrollbar-track {

    background: #15181c;

}


body.dark-mode ::-webkit-scrollbar-thumb {

    background: #3b424c;

    border-radius: 10px;

}


body.dark-mode ::-webkit-scrollbar-thumb:hover {

    background: #515a66;

}


/* =========================================================
   DEBT CLEARANCE
========================================================= */

body.dark-mode .dashboard-box .progress {

    background: #30343a !important;

}


body.dark-mode .dashboard-box .progress-text {

    color: #dfe3e8;

}


/* =========================================================
   LINKS
========================================================= */

body.dark-mode a {

    color: #8db4ff;

}


body.dark-mode a:hover {

    color: #b5ceff;

}


/* =========================================================
   HR
========================================================= */

body.dark-mode hr {

    border-color: #343a43 !important;

    opacity: 1;

}


/* =========================================================
   BADGES
========================================================= */

body.dark-mode .badge.bg-light {

    background: #303640 !important;

    color: #ffffff !important;

}


/* =========================================================
   RESPONSIVE DARK MODE
========================================================= */

@media (max-width: 768px) {

    body.dark-mode .sidebar {

        box-shadow:
            5px 0 25px rgba(0,0,0,.45);

    }

}