.navbar-brand img {
    width: 35px;
}

.dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857;
    white-space: nowrap;
}

.dropdown-menu>li>a:hover,
.bootstrap .dropdown-menu>li>a:focus {
    text-decoration: none;
    color: #fff;
    background-color: #6c757d;
}

.dataTableStatus>.custom-control-label::before,
.dataTableStatus>.custom-control-label::after {
    top: auto;
    left: 0;
    bottom: -3px;
}

.dataTableStatus.custom-control {
    padding-left: 0;
}

.dataTableStatus label {
    left: calc(50% - 7px);
}

aside.left-panel {
    width: 290px;
}

body {
    font-size: 13px;
}

.navbar .sub-menu li.active {
    background: #fafafa;
}

.navbar .sub-menu li.active>a,
.navbar .navbar-nav li.active .menu-icon {
    color: #03a9f3 !important;
}

table.table thead th a.sorting i {
    color: white;
    display: block;
    font-size: 13px;
    padding: 2px;
}

table.bigTable thead th {
    padding-right: 25px;
    padding-left: 5px;
    position: relative;
}

table.table thead th a.sorting {
    padding: 0;
    position: absolute;
    top: calc(50% - 18px);
    right: 2px;
}

table.table thead th a.sorting.asc i.asc {
    color: black;
}

table.table thead th a.sorting.desc i.desc {
    color: black;
}

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

#header .user-area .user-menu {
    top: 0 !important;
}

#costTable p.label {
    font-size: 13px;
    font-style: italic;
    margin-bottom: .5px;
}

.statusOrder {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    float: left;
    margin: 5px 5px 0 0;
}

.navbar .navbar-nav li>a .menu-icon {
    width: 35px;
}

.homeFlex {
    display: flex;
    flex-direction: row-reverse;
}

.homeSubFlex {
    flex-grow: 1;
    padding-left: 10px;
    border-left: 1px solid grey;
    margin-left: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.homeSubFlex>p {
    margin: 5px 0;
}

.homeFlexStatus {
    min-width: 128px;
}

.homeFlex2 {
    display: flex;
}

.homeCustomer {
    margin-left: 10px;
    padding-left: 10px;
    padding-top: 30px;
    border-left: 1px solid grey;
}

.homeCustomer>p {
    font-size: 12px;
    margin-bottom: 0;
}

.chart-container {
    min-width: 258px !important;
}

/* Status Buttons Styles */
.status-buttons-container {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.status-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    white-space: nowrap;
}

.status-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-btn-active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
    background: #f8f9fa;
    color: #666;
}

.status-btn-active .status-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .status-buttons-container {
        gap: 8px;
    }

    .status-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .status-badge {
        min-width: 18px;
        height: 18px;
        font-size: 11px;
    }

    .status-badge-red {
        min-width: 16px;
        height: 16px;
        font-size: 9px;
    }
}

/* Pro Accounts Page Styles */

.page-title {
    color: #333;
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 5px;
}

/* Summary Cards */
.card-stat {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.card-stat:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.card-stat .card-body {
    padding: 20px;
    position: relative;
    /* overflow-y: scroll; */
}

.card-stat.border-left-primary {
    border-left: 4px solid #03a9f3;
    background-color: #e3f2fd;
}

.card-stat.border-left-info {
    border-left: 4px solid #17a2b8;
    background-color: #e0f2f1;
}

.card-stat.border-left-success {
    border-left: 4px solid #28a745;
    background-color: #e8f5e9;
}

.card-stat.border-left-warning {
    border-left: 4px solid #ffc107;
    background-color: #fffde7;
}

.card-stat.border-left-purple {
    border-left: 4px solid #a855f7;
    background-color: #f3e5f5;
}

.stat-icon {
    opacity: 0.3;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

/* Hide arrows on card-stat elements */
.card-stat,
.card-stat * {
    background-image: none !important;
}

.card-stat::before,
.card-stat::after,
.card-stat *::before,
.card-stat *::after,
.card-stat .card-body::before,
.card-stat .card-body::after,
.card-stat .card-header::before,
.card-stat .card-header::after,
.card-stat .h3::before,
.card-stat .h3::after,
.card-stat .text-primary::before,
.card-stat .text-primary::after,
.card-stat .text-info::before,
.card-stat .text-info::after,
.card-stat .text-success::before,
.card-stat .text-success::after,
.card-stat .text-warning::before,
.card-stat .text-warning::after,
.card-stat .text-purple::before,
.card-stat .text-purple::after {
    display: none !important;
    content: "" !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}

/* Hide any icon elements in cards */
.card-stat i,
.card-stat .icon,
.card-stat svg,
.card-stat [class*="icon"] {
    display: none !important;
    visibility: hidden !important;
}

/* Ensure no arrow-like characters display */
.card-stat {
    font-variant-numeric: normal;
}


/* Tab Styling */
.nav-tabs {
    border-bottom: 2px solid #e9ecef;
}

.nav-tabs .nav-link {
    color: #6c757d;
    border: 0;
    border-bottom: 3px solid transparent;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: #e9ecef;
    color: #333;
}

.nav-tabs .nav-link.active {
    color: #03a9f3;
    background-color: transparent;
    border-bottom-color: #03a9f3;
}

/* Filter Section */
.filter-section {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.filter-section .form-group {
    margin-bottom: 0;
}

.filter-section label {
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    color: #6c757d;
}

/* Table Styling */
.table-header-bg {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.table-header-bg th {
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    color: #495057;
    border: 0;
    padding: 12px 8px;
    letter-spacing: 0.5px;
}

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

/* Category Badges */
.category-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.badge-pill {
    font-size: 11px;
    padding: 4px 10px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.badge-purple {
    background-color: #a855f7;
    color: #fff;
}

.badge-purple:hover {
    background-color: #9333ea;
}

/* Status Badges */
.badge {
    font-weight: 500;
    padding: 5px 12px;
}

.badge-success {
    background-color: #28a745;
    color: #fff;
}

.badge-danger {
    background-color: #dc3545;
    color: #fff;
}

.badge-warning {
    background-color: #ffc107;
    color: #333;
}

.badge-info {
    background-color: #17a2b8;
    color: #fff;
}

/* Action Buttons */
.btn-group-sm .btn-sm {
    padding: 4px 8px;
    font-size: 12px;
}

/* Modal Styling */
.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.modal-header .modal-title {
    font-weight: 600;
    color: #333;
}

/* Responsive Cards */
@media (max-width: 768px) {
    .card-stat .card-body {
        padding: 15px;
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }

    .filter-section {
        padding: 15px 10px;
    }

    .filter-section .form-group {
        margin-bottom: 10px;
        width: 100%;
    }

    .filter-section .form-group label {
        display: none;
    }
}
