﻿@import "bootstrap-theme.css";

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

/* Typography System */
:root {
    /* Font Families */
    --font-display: "Outfit", sans-serif;
    --font-body: "Plus Jakarta Sans", sans-serif;
    /* Theme Colors */
    --theme-primary: #ffa500; /* Orange */
    --theme-secondary: #aeb3dc; /* Light Blue */
    --theme-success: #28a745; /* Green */
    --theme-info: #17a2b8; /* Cyan */
    --theme-warning: #ffc107; /* Yellow */
    --theme-danger: #e74c3c; /* Modern Red */
    --theme-dark: #343a40; /* Dark Gray */
    --theme-light: #f8f9fa; /* Light Gray */
    /* Background Colors */
    --body-bg: #f8f9fa;
    --sidebar-bg: linear-gradient(180deg, #2c3e50 0%, #1a2530 100%);
    --navbar-bg: #fff;
    /* Legacy Mappings */
    --warning: var(--theme-warning);
    --yellow: var(--theme-warning);
    --solvista: var(--theme-secondary);
    /* Bootstrap Overrides */
    --bs-danger: var(--theme-danger);
    --bs-red: var(--theme-danger);
}


/* Display Numbers (Large Numbers) */
.display-number {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    font-weight: 700;
}

/* List Numbers (Medium Numbers) */
.list-number {
    font-family: var(--font-body);
    letter-spacing: -0.01em;
    font-weight: 600;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-body);
    letter-spacing: -0.02em;
    font-weight: 600;
}

/* Card Titles */
.card-title {
    font-family: var(--font-body);
    font-weight: 600;
}

/* Body Text */
body {
    font-family: var(--font-body);
    letter-spacing: -0.01em;
    background-color: var(--body-bg);
    color: #495057;
    font-size: 1rem;
}

/* Navigation */
.navbar-brand,
.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
}

/* Buttons */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: -0.01em;
}



.btn-basic {
    background-color: #A3A3A3 ;
    color: #fff;
    border-color: #A3A3A3 ;
}

.btn-pro {
    background-color: #ff5e5e ;
    color: #fff;
    border-color: #ff5e5e ;
}

.btn-enterprise {
    background-color:var(--theme-primary) ;
    color: #fff;
    border-color: var(--theme-primary) ;
}

/* Form Labels */
.form-label {
    font-family: var(--font-body);
    font-weight: 500;
}

/* Table Headers */
.table th {
    font-family: var(--font-body);
    font-weight: 600;
}

/* Alerts */
.alert {
    font-family: var(--font-body);
}

/* Modal Headers */
.modal-title {
    font-family: var(--font-body);
    font-weight: 600;
}

/* Dropdown Items */
.dropdown-item {
    font-family: var(--font-body);
    font-weight: 500;
}

/* Breadcrumbs */
.breadcrumb {
    font-family: var(--font-body);
    font-weight: 500;
}

/* Pagination */
.pagination {
    font-family: var(--font-body);
    font-weight: 500;
}

/* Tooltips */
.tooltip {
    font-family: var(--font-body);
}

/* Form Controls */
.form-control {
    font-family: var(--font-body);
}

/* Select */
select.form-select {
    font-family: var(--font-body);
}

/* Text Utilities */
.text-muted {
    font-family: var(--font-body);
}

.text-primary {
    font-family: var(--font-body);
}

.text-success {
    font-family: var(--font-body);
}

.text-warning {
    font-family: var(--font-body);
}

.text-danger {
    font-family: var(--font-body);
}

/* Font Sizes */
.fs-1 {
    font-size: 3.5rem !important;
}

.fs-2 {
    font-size: 3rem !important;
}

.fs-3 {
    font-size: 2.5rem !important;
}

.fs-4 {
    font-size: 2rem !important;
}

.fs-5 {
    font-size: 1.5rem !important;
}

.fs-6 {
    font-size: 1.25rem !important;
}

/* Font Weights */
.fw-light {
    font-weight: 300 !important;
}

.fw-normal {
    font-weight: 400 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

/* Letter Spacing */
.ls-tight {
    letter-spacing: -0.03em !important;
}

.ls-normal {
    letter-spacing: -0.01em !important;
}

.ls-wide {
    letter-spacing: 0.02em !important;
}

/* Links */
a {
    color: var(--theme-primary);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

    a:hover {
        color: var(--theme-secondary);
        text-decoration: none;
    }

.text-primary {
    color: var(--theme-primary) !important;
}

/* Cards */
.card {
    border: none;
    border-radius: 0.25rem;
    background-color: #fff;
    box-shadow: 0 0 0.875rem 0 rgba(34, 46, 60, 0.05);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 1.25rem;
}

.card-title {
    margin-bottom: 0.5rem;
    color: var(--theme-dark);
    font-size: 1.25rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.2rem;
}

.btn-primary {
    color: var(--theme-light) !important;
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
}

.btn-secondary {
    color: var(--theme-light) !important;
    background-color: var(--theme-secondary);
    border-color: var(--theme-secondary);
}

.btn-primary:focus,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus-visible,
.btn-primary:active:focus,
.btn-primary.focus {
    color: var(--theme-dark) !important;
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.25);
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    color: var(--theme-light) !important;
    background-color: var(--theme-secondary);
    border-color: var(--theme-secondary);
}

    .btn-primary:not(:disabled):not(.disabled):active:focus,
    .btn-primary:not(:disabled):not(.disabled).active:focus,
    .show > .btn-primary.dropdown-toggle:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.25);
    }

.btn-primary.disabled,
.btn-primary:disabled {
    color: #fff;
    background-color: rgba(255, 165, 0, 0.65);
    border-color: rgba(255, 165, 0, 0.65);
}

.btn-outline-primary {
    color: var(--theme-primary);
    border-color: var(--theme-primary);
}

    .btn-outline-primary:hover {
        color: var(--theme-light);
        background-color: var(--theme-primary);
        border-color: var(--theme-primary);
    }

    .btn-outline-primary:focus,
    .btn-outline-primary.focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.25);
    }

/* Tables */
.table {
    margin-bottom: 0;
    color: #495057;
    background-color: #fff;
    border-collapse: collapse;
}

    .table thead th {
        font-size: 1rem;
        font-weight: 600;
        color: #495057;
        background-color: #f8f9fa;
        border-bottom: 2px solid #dee2e6;
        padding: 0.5rem 0.75rem;
        vertical-align: middle;
    }

    .table tbody td {
        font-size: 1rem;
        padding: 0.5rem 0.75rem;
        vertical-align: middle;
        border-bottom: 1px solid #dee2e6;
    }

    .table tbody tr:last-child td {
        border-bottom: none;
    }

    .table tbody tr:hover {
        background-color: #f8f9fa;
    }

/* Bootstrap table overrides */
.bootstrap-table .fixed-table-container {
    border: none;
    border-radius: 0;
}

    .bootstrap-table .fixed-table-container .table thead th {
        border-bottom: 1px solid #ebedf2;
        background-color: #fff;
    }

.bootstrap-table .fixed-table-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-bottom: 1rem;
    background: transparent;
    border-bottom: none;
}

    .bootstrap-table .fixed-table-toolbar .search {
        order: 1;
        margin: 0 !important;
    }

    .bootstrap-table .fixed-table-toolbar .columns {
        order: 2;
        margin: 0 0 0 0.5rem;
    }

    .bootstrap-table .fixed-table-toolbar .search input {
        font-size: 1rem;
        height: calc(1.5em + 1rem + 2px);
        padding: 0.5rem 1rem;
        line-height: 1.5;
        border-radius: 0.2rem;
    }

        .bootstrap-table .fixed-table-toolbar .search input:focus {
            border-color: #ffa500;
            box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.25);
        }

.bootstrap-table .fixed-table-pagination {
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    background: transparent;
    border-top: none;
}

    .bootstrap-table .fixed-table-pagination .pagination {
        margin: 0;
    }

    .bootstrap-table .fixed-table-pagination .pagination-detail {
        font-size: 1rem;
        margin: 0;
    }

    .bootstrap-table .fixed-table-pagination .pagination .page-item .page-link {
        border-radius: 0.2rem;
        border: none;
        color: #6c7293;
        font-size: 1rem;
        margin: 0 0.2rem;
    }

    .bootstrap-table
    .fixed-table-pagination
    .pagination
    .page-item.active
    .page-link {
        background-color: #ffa500;
        color: #fff;
    }

    .bootstrap-table
    .fixed-table-pagination
    .pagination
    .page-item
    .page-link:hover {
        background-color: #f8f9fa;
        color: #ffa500;
    }

/* Card wrapper for tables */
.card .table {
    margin-bottom: 0;
}

    .card .table td:first-child,
    .card .table th:first-child {
        padding-left: 1.5rem;
    }

    .card .table td:last-child,
    .card .table th:last-child {
        padding-right: 1.5rem;
    }

/* Table loading state */
.bootstrap-table .fixed-table-loading {
    background: rgba(255, 255, 255, 0.9);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    font-size: 0.875rem;
    color: #6c7293;
}

/* Navigation */
.navbar {
    background-color: #fff;
    padding: 0.75rem 1.5rem;
    border-bottom: none;
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
    min-height: 70px;
    position: relative;
    z-index: 100;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 1.5rem;
    font-weight: 500;
    font-size: 1.5rem;
    color: #495057;
}

.navbar .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: #6c757d;
}

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link:focus {
        color: #000;
    }

    .navbar .navbar-nav .nav-link.active {
        color: var(--theme-primary);
    }

.navbar .navbar-nav .dropdown-toggle::after {
    margin-left: 0.5rem;
}

.navbar .navbar-nav .dropdown-menu {
    margin-top: 0.5rem;
    border: none;
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
    border-radius: 0.25rem;
}

    .navbar .navbar-nav .dropdown-menu .dropdown-item {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
        color: #6c757d;
    }

        .navbar .navbar-nav .dropdown-menu .dropdown-item:hover,
        .navbar .navbar-nav .dropdown-menu .dropdown-item:focus {
            color: #000;
            background-color: #f8f9fa;
        }

    .navbar .navbar-nav .dropdown-menu .dropdown-divider {
        margin: 0.5rem 0;
        border-top: 1px solid #e9ecef;
    }

/* Navbar Profile */
.navbar .profile-dropdown .dropdown-toggle {
    padding: 0;
    display: flex;
    align-items: center;
}

    .navbar .profile-dropdown .dropdown-toggle::after {
        display: none;
    }

.navbar .profile-dropdown .profile-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.navbar .profile-dropdown .profile-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
    margin-right: 0.5rem;
}

/* Navbar Search */
.navbar .search-form {
    margin-right: 1.5rem;
}

    .navbar .search-form .form-control {
        padding: 0.375rem 1rem;
        font-size: 0.875rem;
        border-radius: 2rem;
        border: 1px solid #e9ecef;
        width: 200px;
    }

        .navbar .search-form .form-control:focus {
            border-color: var(--theme-primary);
            box-shadow: none;
        }

/* Navbar Notifications */
.navbar .notification-dropdown .dropdown-toggle {
    padding: 0.5rem;
    position: relative;
}

.navbar .notification-dropdown .notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 50%;
    background-color: var(--theme-primary);
    color: #fff;
    min-width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.progress-bar {
    background-color: var(--theme-primary);
}

/* Aside Menu */
.content-aside {
    background: var(--sidebar-bg);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    width: 250px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

/* Mobile styles */
@media (max-width: 991.98px) {
    .content-aside {
        transform: translateX(-100%);
        width: 250px;
    }

        .content-aside.show {
            transform: translateX(0);
        }

    .content-wrapper {
        margin-left: 0 !important;
    }

    .content-aside.collapsed {
        transform: translateX(-100%);
    }

        .content-aside.collapsed + .content-wrapper {
            margin-left: 0 !important;
        }

    /* Add overlay when sidebar is open */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

        .sidebar-overlay.show {
            display: block;
        }

    /* Adjust navbar for mobile */
    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    /* Ensure content is properly padded on mobile */
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Small mobile devices */
@media (max-width: 575.98px) {
    .content-aside {
        width: 100%;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .content-aside .content-aside-menu .btn {
        padding: 0.75rem 1.5rem;
    }
}

/* Existing sidebar styles remain the same */
.content-aside .navbar-brand {
    color: #fff !important;
    font-weight: 600;
    font-size: 1.25rem;
    padding: 1.15rem 1.5rem;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-aside .content-aside-menu {
    padding: 0.5rem 0;
}

    .content-aside .content-aside-menu .btn {
        padding: 0.75rem 2rem;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 400;
        font-size: 0.95rem;
        border-radius: 0;
        text-align: left;
        width: 100%;
        position: relative;
        transition: all 0.2s ease-in-out;
        border: none;
        background: transparent;
        display: flex;
        align-items: center;
        white-space: nowrap;
    }

        .content-aside .content-aside-menu .btn i {
            font-size: 1.25rem;
            margin-right: 0.875rem;
            width: 1rem;
            text-align: center;
            color: rgba(255, 255, 255, 0.5);
            transition: all 0.2s ease-in-out;
        }

        .content-aside .content-aside-menu .btn:hover,
        .content-aside .content-aside-menu .btn:focus,
        .content-aside .content-aside-menu .btn.active {
            color: #ffa500;
            background: rgba(255, 165, 0, 0.1);
        }

            .content-aside .content-aside-menu .btn:hover i,
            .content-aside .content-aside-menu .btn:focus i,
            .content-aside .content-aside-menu .btn.active i {
                color: #ffa500;
            }

        .content-aside .content-aside-menu .btn.active {
            font-weight: 500;
        }

    .content-aside .content-aside-menu hr {
        margin: 0.5rem 0;
        border-color: rgba(255, 255, 255, 0.1);
        opacity: 0.3;
    }

    .content-aside .content-aside-menu .mx-2 {
        margin: 0 !important;
    }

/* Adjust main content margin to account for fixed sidebar */
.content-wrapper {
    margin-left: 250px;
    transition: margin-left 0.2s ease-in-out;
}

/* Collapsed sidebar state */
.content-aside.collapsed {
    width: 70px;
}

    .content-aside.collapsed + .content-wrapper {
        margin-left: 70px;
    }

    .content-aside.collapsed .navbar-brand span,
    .content-aside.collapsed .btn span {
        display: none;
    }

    .content-aside.collapsed .btn {
        padding: 0.75rem;
        justify-content: center;
    }

        .content-aside.collapsed .btn i {
            margin: 0;
            font-size: 1.5rem;
        }

/* Form Controls */
.form-control {
    border: 1px solid #ced4da;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.2rem;
    height: calc(1.5em + 1rem + 2px);
}

    .form-control:focus {
        border-color: var(--theme-primary);
        box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.25);
    }

/* Dropdowns */
.dropdown-menu {
    padding: 0.35rem 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.2rem;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    color: #495057;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: rgba(255, 165, 0, 0.1);
        color: #ffa500;
    }

/* Stats Cards */
.stats-card {
    padding: 1.25rem;
}

    .stats-card .card-title {
        font-size: 1rem;
        font-weight: 500;
        color: #6c757d;
        text-transform: uppercase;
        margin-bottom: 0.25rem;
    }

    .stats-card .stats-value {
        font-size: 1.75rem;
        font-weight: 600;
        color: var(--theme-dark);
        margin-bottom: 0.25rem;
    }

    .stats-card .stats-change {
        font-size: 1rem;
        color: var(--theme-success);
    }

/* Progress Bars */
.progress-bar-primary {
    background-color: var(--theme-primary);
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 50rem;
    border: 1px solid transparent;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.badge-basic {
    background-color: #A3A3A3 ;
    color: #fff;
    border-color: #A3A3A3 ;
}

.badge-pro {
    background-color: #ff5e5e ;
    color: #fff;
    border-color: #ff5e5e ;
}

.badge-enterprise {
    background-color:var(--theme-primary) ;
    color: #fff;
    border-color: var(--theme-primary) ;
}

.badge-primary {
    background-color: var(--theme-primary);
    color: #fff;
    border-color: var(--theme-primary);
}

.badge-secondary {
    background-color: var(--theme-secondary);
    color: #fff;
    border-color: var(--theme-secondary);
}

.badge-success {
    background-color: var(--theme-success);
    color: #fff;
    border-color: var(--theme-success);
}

.badge-info {
    background-color: var(--theme-info);
    color: #fff;
    border-color: var(--theme-info);
}

.badge-warning {
    background-color: var(--theme-warning);
    color: #fff;
    border-color: var(--theme-warning);
}

.badge-danger {
    background-color: var(--theme-danger);
    color: #fff;
    border-color: var(--theme-danger);
}

.badge-light {
    background-color: #f8f9fa;
    color: #495057;
    border-color: #f8f9fa;
}

.badge-dark {
    background-color: var(--theme-dark);
    color: #fff;
    border-color: var(--theme-dark);
}

/* List Groups */
.list-group-item-primary {
    background-color: rgba(255, 165, 0, 0.1);
    color: var(--theme-primary);
}

.list-group-item.active {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
}

/* Add after root variables */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Loading States */
.loading {
    position: relative;
    color: transparent !important;
}

    .loading::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 1rem;
        height: 1rem;
        margin-left: -0.5rem;
        margin-top: -0.5rem;
        border: 2px solid var(--theme-primary);
        border-radius: 50%;
        border-right-color: transparent;
        animation: spin 0.75s linear infinite;
    }

.btn.loading::after {
    border-color: #fff;
    border-right-color: transparent;
}

/* Hover and Focus States */
.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.25);
}

.btn-primary:focus {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
}

.btn-primary:active:focus {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.25);
}

/* Form hover/focus states */
.form-control:hover {
    border-color: rgba(108, 117, 125, 0.5);
}

.form-control:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.25);
}

/* Table hover states */
.table tbody tr:hover {
    background-color: rgba(108, 117, 125, 0.02);
}

/* Dropdown hover states - update existing */
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(255, 165, 0, 0.1);
    color: var(--theme-primary);
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--theme-primary);
    color: var(--theme-primary);
}

/* Link hover transitions - update existing */
a {
    color: var(--theme-primary);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

    a:hover {
        color: var(--theme-secondary) !important;
        text-decoration: none;
    }

/* List group hover states - update existing */
.list-group-item-primary {
    background-color: rgba(255, 165, 0, 0.1);
    color: var(--theme-primary);
    transition: background-color 0.2s ease-in-out;
}

    .list-group-item-primary:hover {
        background-color: rgba(255, 165, 0, 0.1);
        color: var(--theme-primary);
    }

/* Header alignment with bootstrap table */
.container-fluid > header,
.container > header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

    .container-fluid > header .ml-auto,
    .container > header .ml-auto {
        margin-left: 0 !important;
    }

    /* Combine header with bootstrap table */
    .container-fluid > header + .bootstrap-table .fixed-table-toolbar,
    .container > header + .bootstrap-table .fixed-table-toolbar {
        padding-top: 0;
    }

    .container-fluid > header + .bootstrap-table,
    .container > header + .bootstrap-table {
        margin-top: 0;
    }

.aside-toggler .aside-toggler-icon {
    font-size: 1.5rem;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

.aside-toggler:hover .aside-toggler-icon {
    color: var(--theme-primary);
}

/* Border Colors */
.border-primary {
    border-color: var(--theme-primary) !important;
}

.border-secondary {
    border-color: var(--theme-secondary) !important;
}

.border-success {
    border-color: var(--theme-success) !important;
}

.border-danger {
    border-color: var(--theme-danger) !important;
}

.border-warning {
    border-color: var(--theme-warning) !important;
}

.border-info {
    border-color: var(--theme-info) !important;
}

.border-light {
    border-color: var(--theme-light) !important;
}

.border-dark {
    border-color: var(--theme-dark) !important;
}

/* Border Radius */

.table .label {
    margin-bottom: 0;
}

/* Bootstrap Table Customization */
.bootstrap-table .table td, 
.bootstrap-table .table th {
    border-left: none !important;
    border-right: none !important;
}

.bootstrap-table .table {
    border-collapse: collapse;
}

.bootstrap-table .table tbody tr {
    border-bottom: 1px solid #dee2e6;
}

/* Sort icon positioning */
.bootstrap-table .table th .th-inner {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.bootstrap-table .table th .th-inner .sortable {
    margin-left: 5px !important;
}

/* Button Styles */
.btn-danger {
    color: #fff;
    background-color: var(--theme-danger);
    border-color: var(--theme-danger);
}

.btn-danger:hover {
    color: #fff;
    background-color: #c0392b;
    border-color: #b03a2e;
}

.btn-danger:focus, .btn-danger.focus {
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
}

.btn-outline-danger {
    color: var(--theme-danger);
    border-color: var(--theme-danger);
}

.btn-outline-danger:hover {
    color: #fff;
    background-color: var(--theme-danger);
    border-color: var(--theme-danger);
}

/* Alert Styles */
.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-danger hr {
    border-top-color: #f1b0b7;
}

.alert-danger .alert-link {
    color: #491217;
}

/* Badge Styles */
.badge-danger {
    background-color: var(--theme-danger);
    color: #fff;
    border-color: var(--theme-danger);
}

/* Table Styles */
.table-danger,
.table-danger > th,
.table-danger > td {
    background-color: #f8d7da;
}

.table-danger th,
.table-danger td,
.table-danger thead th,
.table-danger tbody + tbody {
    border-color: #f5c6cb;
}

.table-hover .table-danger:hover {
    background-color: #f5c6cb;
}

.table-hover .table-danger:hover > td,
.table-hover .table-danger:hover > th {
    background-color: #f5c6cb;
}

/* List Group Styles */
.list-group-item-danger {
    color: #721c24;
    background-color: #f8d7da;
}

.list-group-item-danger.list-group-item-action:hover,
.list-group-item-danger.list-group-item-action:focus {
    color: #721c24;
    background-color: #f5c6cb;
}

.list-group-item-danger.list-group-item-action.active {
    color: #fff;
    background-color: #721c24;
    border-color: #721c24;
}

/* Progress Bar Styles */
.progress-bar-danger {
    background-color: var(--theme-danger);
}

/* Border Styles */
.border-danger {
    border-color: var(--theme-danger) !important;
}

/* Text Styles */
.text-danger {
    color: var(--theme-danger) !important;
}

/* Background Styles */
.bg-danger {
    background-color: var(--theme-danger) !important;
}

a.bg-danger:hover,
a.bg-danger:focus,
button.bg-danger:hover,
button.bg-danger:focus {
    background-color: #c0392b !important;
}
