/* Primary Button - Blue */
.btn-primary {
    background-color: #4285F4;
    border-color: #4285F4;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    background-color: #3367D6;
    border-color: #3367D6;
    color: #fff;
}

.btn-primary:disabled,
.btn-primary.disabled {
    background-color: #7BAAF7;
    border-color: #7BAAF7;
}

/* Secondary Button - Light Gray */
.btn-secondary {
    background-color: #E8EAED;
    border-color: #DFE1E5;
    color: #3C4043;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.open .dropdown-toggle.btn-secondary {
    background-color: #DFE1E5;
    border-color: #D2D4D7;
    color: #202124;
}

.btn-secondary:disabled,
.btn-secondary.disabled {
    background-color: #F1F3F4;
    border-color: #E8EAED;
    color: #9AA0A6;
}

/* Success Button - Green */
.btn-success {
    background-color: #34A853;
    border-color: #34A853;
    color: #fff;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.open .dropdown-toggle.btn-success {
    background-color: #1E8E3E;
    border-color: #1E8E3E;
    color: #fff;
}

.btn-success:disabled,
.btn-success.disabled {
    background-color: #81C995;
    border-color: #81C995;
}

/* Info Button - Light Blue */
.btn-info {
    background-color: #818cf8;
    border-color: #818cf8;
    color: #fff;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.open .dropdown-toggle.btn-info {
    background-color: #6366f1;
    border-color: #6366f1;
    color: #fff;
}

.btn-info:active:hover,
.btn-info.active:hover,
.open > .dropdown-toggle.btn-info:hover,
.btn-info:active:focus,
.btn-info.active:focus,
.open > .dropdown-toggle.btn-info:focus,
.btn-info.active.focus,
.btn-info:active.focus {
    background-color: #6366f1 !important;
    border-color: #6366f1 !important;
    color: #fff !important;
}

.btn-info:disabled,
.btn-info.disabled {
    background-color: #c7d2fe;
    border-color: #c7d2fe;
}

/* Warning Button - Orange */
.btn-warning {
    background-color: #FF8C1A;
    border-color: #FF8C1A;
    color: #fff;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.open .dropdown-toggle.btn-warning {
    background-color: #F57C00;
    border-color: #F57C00;
    color: #fff;
}

.btn-warning:disabled,
.btn-warning.disabled {
    background-color: #FFBD80;
    border-color: #FFBD80;
}

/* Help Button - Purple */
.btn-help {
    background-color: #A142F4;
    border-color: #A142F4;
    color: #fff;
}

.btn-help:hover,
.btn-help:focus,
.btn-help:active,
.btn-help.active,
.open .dropdown-toggle.btn-help {
    background-color: #8430DB;
    border-color: #8430DB;
    color: #fff;
}

.btn-help:disabled,
.btn-help.disabled {
    background-color: #C78FF8;
    border-color: #C78FF8;
}

/* Tertiary Button - Amber/Gold */
.btn-tertiary {
    background-color: #f4a942;
    border-color: #f4a942;
    color: #fff;
}

.btn-tertiary:hover,
.btn-tertiary:focus,
.btn-tertiary:active,
.btn-tertiary.active,
.open .dropdown-toggle.btn-tertiary {
    background-color: #e0952a;
    border-color: #e0952a;
    color: #fff;
}

.btn-tertiary:disabled,
.btn-tertiary.disabled {
    background-color: #f9c474;
    border-color: #f9c474;
    color: #fff;
}

/* Filter Button - Light Blue */
.btn-filter {
    background-color: #6fa8f5 !important;
    border-color: #6fa8f5 !important;
    color: #fff !important;
}

.btn-filter:hover,
.btn-filter:focus,
.btn-filter:active,
.btn-filter.active,
.open .dropdown-toggle.btn-filter {
    background-color: #4285F4 !important;
    border-color: #4285F4 !important;
    color: #fff !important;
}

.btn-filter:active:hover,
.btn-filter.active:hover,
.btn-filter:active:focus,
.btn-filter.active:focus,
.btn-filter.active.focus,
.btn-filter:active.focus {
    background-color: #4285F4 !important;
    border-color: #4285F4 !important;
    color: #fff !important;
}

.btn-filter:disabled,
.btn-filter.disabled {
    background-color: #a3c4f7 !important;
    border-color: #a3c4f7 !important;
    color: #fff !important;
}

/* Light Button - Same as Filter Button for now */
.btn-light {
    background-color: #6fa8f5 !important;
    border-color: #6fa8f5 !important;
    color: #fff !important;
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active,
.btn-light.active,
.open .dropdown-toggle.btn-light {
    background-color: #4285F4 !important;
    border-color: #4285F4 !important;
    color: #fff !important;
}

.btn-light:active:hover,
.btn-light.active:hover,
.btn-light:active:focus,
.btn-light.active:focus,
.btn-light.active.focus,
.btn-light:active.focus {
    background-color: #4285F4 !important;
    border-color: #4285F4 !important;
    color: #fff !important;
}

.btn-light:disabled,
.btn-light.disabled {
    background-color: #a3c4f7 !important;
    border-color: #a3c4f7 !important;
    color: #fff !important;
}

/* Danger Button - Red */
.btn-danger {
    background-color: #EA4335;
    border-color: #EA4335;
    color: #fff;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.open .dropdown-toggle.btn-danger {
    background-color: #D93025;
    border-color: #D93025;
    color: #fff;
}

.btn-danger:disabled,
.btn-danger.disabled {
    background-color: #F28B82;
    border-color: #F28B82;
}

/* Additional styles for outline buttons */
.btn-outline-primary {
    color: #4285F4;
    border-color: #4285F4;
    background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #fff;
    background-color: #4285F4;
    border-color: #4285F4;
}

.btn-outline-secondary {
    color: #3C4043;
    border-color: #DFE1E5;
    background-color: transparent;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active {
    color: #202124;
    background-color: #E8EAED;
    border-color: #DFE1E5;
}

.btn-outline-success {
    color: #34A853;
    border-color: #34A853;
    background-color: transparent;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
    color: #fff;
    background-color: #34A853;
    border-color: #34A853;
}

.btn-outline-info {
    color: #24B7F3;
    border-color: #24B7F3;
    background-color: transparent;
}

.btn-outline-info:hover,
.btn-outline-info:focus,
.btn-outline-info:active {
    color: #fff;
    background-color: #24B7F3;
    border-color: #24B7F3;
}

.btn-outline-warning {
    color: #FF8C1A;
    border-color: #FF8C1A;
    background-color: transparent;
}

.btn-outline-warning:hover,
.btn-outline-warning:focus,
.btn-outline-warning:active {
    color: #fff;
    background-color: #FF8C1A;
    border-color: #FF8C1A;
}

.btn-outline-help {
    color: #A142F4;
    border-color: #A142F4;
    background-color: transparent;
}

.btn-outline-help:hover,
.btn-outline-help:focus,
.btn-outline-help:active {
    color: #fff;
    background-color: #A142F4;
    border-color: #A142F4;
}

.btn-outline-tertiary {
    color: #f4a942;
    border-color: #f4a942;
    background-color: transparent;
}

.btn-outline-tertiary:hover,
.btn-outline-tertiary:focus,
.btn-outline-tertiary:active {
    color: #fff;
    background-color: #f4a942;
    border-color: #f4a942;
}

.btn-outline-danger {
    color: #EA4335;
    border-color: #EA4335;
    background-color: transparent;
}

.btn-outline-danger:hover,
.btn-outline-danger:focus,
.btn-outline-danger:active {
    color: #fff;
    background-color: #EA4335;
    border-color: #EA4335;
}


.grid {
    border: 1px solid #e2e8f0 !important;
    border-radius: 3px !important;
    /*    overflow: hidden !important;*/
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

.ui-grid-row:nth-child(odd) .ui-grid-cell {
    background-color: #fdfdfd !important;
}

.ui-grid-row:nth-child(even) .ui-grid-cell {
    background-color: #f6f6fa !important;
}

.ui-grid-row:nth-child(even:hover) .ui-grid-cell {
    background-color: rgb(223, 233, 255) !important;
}

.ui-grid-row .ui-grid-cell.ui-grid-row-header-cell {
    border-bottom: none !important;
}

.ui-grid-row:hover .ui-grid-cell {
    background-color: rgb(223, 233, 255) !important;
}

.ui-grid-row.ui-grid-row-selected > [ui-grid-row] > .ui-grid-cell {
    background-color: #b3d9ff !important;
}

.ui-grid-menu-button .ui-grid-menu {
    top: 24px !important;
    right: 2px !important;
}

.ui-grid-menu-button {
    background-color: #38a438 !important;
    border-left: none !important;
    border-bottom: none !important;
    height: 23px !important;
    width: 23px !important;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    right: -3px !important;
    top: -3px !important;
}

    .ui-grid-menu-button .ui-grid-icon-container {
        margin-right: -2px !important;
        margin-left: 2px !important;
    }

    .ui-grid-menu-button .ui-grid-icon-container i {
        color: white !important;
    }

.grid-footer {
    padding: 0 12px;
    background-color: #f1f1ff !important;
    color: #24415a !important;
    font-weight: 600 !important;
    font-size: 0.95em;
    /*border-top: 1px solid #bae6fd;*/
    border-radius: 0 0 4px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Remove focus outline/border from all buttons */
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Ensure no outline appears when clicking buttons */
button:focus {
    outline: none !important;
}

.card-buttons {
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
    background-color: #f1f5f9 !important;
    padding-top: 1px !important;
    padding-bottom: 10px !important;
    border-radius: 4px !important;
}

.make-bigger:hover:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #e4610f;
}

.make-bigger:hover {
    transform: scale(1) !important;
}

.header-blue {
    background-color: #f1f1ff;
    color: #24415a;
}

.margin_action {
    color: black !important;
    background-color: #c2e0d3 !important;
    border: 1px solid #f0ad4e !important;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12) !important;
    transition: background-color 0.3s ease;
}

.margin_action.btn-primary {
    background-color: #bbd6f7 !important;
}

.margin_action.btn-success {
    background-color: #c2e0d3 !important;
}

.margin_action.btn-info {
    background-color: #d8dff7 !important;
}

.margin_action.btn-warning {
    background-color: #f5e7c3 !important;
}

/* top nav */
#app_fixed_nav {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

#app_fixed_nav.navbar-default {
    background-color: #fafafa !important;
    border-bottom: 1px solid #e7e7e7 !important;
}

#app_fixed_nav.navbar-default .navbar-nav > li > a {
    color: #111 !important;
    font-weight: 400 !important;
    transition: color 0.2s ease, background-color 0.2s ease !important;
    margin-left: 2px !important;
}

#app_fixed_nav.navbar-default .navbar-nav > li > a:hover,
#app_fixed_nav.navbar-default .navbar-nav > li > a:focus {
    color: #0d47a1 !important;
    background-color: #e1edf7 !important;
}

#app_fixed_nav.navbar-default .navbar-nav > .active > a,
#app_fixed_nav.navbar-default .navbar-nav > .active > a:hover,
#app_fixed_nav.navbar-default .navbar-nav > .active > a:focus {
    color: #ffffff !important;
    background-color: #0d47a1 !important;
}

#app_fixed_nav.navbar-default .navbar-toggle {
    border-color: #337ab7 !important;
    background-color: #337ab7 !important;
}

#app_fixed_nav.navbar-default .navbar-toggle .icon-bar {
    background-color: #ffffff !important;
}

.panel {
    box-shadow: none !important;
    border-radius: 5px !important;
}

.table-hover > tbody > tr:hover {
    background-color: rgba(0, 123, 255, 0.075) !important;
}

/* Form control improvements */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Subtle Table Styling - Matching Grid Design */
.table {
    border: 1px solid #e2e8f0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 4px;
    overflow: hidden;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
    border-right: none;
    font-weight: 600;
    color: #495057;
    padding: 8px;
}

.table thead th:last-child {
    border-right: none;
}

.table tbody td {
    border-bottom: 0.5px solid #e8eaed;
    border-right: none;
    padding: 8px;
    vertical-align: middle;
}

.table tbody td:last-child {
    border-right: none;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Alternating row colors to match grid */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fdfdfd;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #f6f6fa;
}

/* Hover effect similar to grid */
.table-hover tbody tr:hover {
    background-color: #e3f2fd;
}

/* Header blue styling - keep existing but subtle */
.table .header-blue {
    background-color: #f1f1ff;
    color: #24415a;
    border-bottom: 1px solid #dee2e6;
}

/* Tab container tables */
.tab-container .table {
    margin-bottom: 0;
}

/* Modern Tab Styling - Clean flat design */
.nav-tabs {
    background-color: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 6px 6px 0 0 !important;
    /*padding: 8px 16px 0 16px !important;*/
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
}

/* Custom scrollbar styling for tabs (horizontal) */
.nav-tabs::-webkit-scrollbar {
    height: 4px !important;
}

.nav-tabs::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 3px !important;
    margin: 0 4px !important;
}

.nav-tabs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 3px !important;
    transition: background 0.2s ease !important;
}

.nav-tabs::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.35) !important;
}

/* For Firefox - horizontal scrollbar */
.nav-tabs {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05) !important;
}

/* Tab links styling */
.nav-tabs > li > a {
    border-radius: 4px 4px 0 0 !important;
    border: 1px solid transparent !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    margin-right: 2px !important;
    background-color: transparent !important;
}

/* Active tab styling */
li.active a.ng-binding {
    color: #3880ff !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #ffffff !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-1px) !important;
}

li.active a.ng-binding::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    background-color: #3880ff !important;
    border-radius: 4px 4px 0 0 !important;
}

/* Inactive tab styling */
li a.ng-binding {
    color: #64748b !important;
    background-color: transparent !important;
}

li a.ng-binding:hover {
    color: #3880ff !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid transparent !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

/* Tab container styling */
.tab-container {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-top: none !important;
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    padding: 10px !important;
    margin-top: -1px !important;
}

/* Custom scrollbar styling for tab containers (vertical) */
.tab-container::-webkit-scrollbar,
.tab-container2::-webkit-scrollbar,
.tab-container-view::-webkit-scrollbar,
.tab-container-wo::-webkit-scrollbar {
    width: 4px !important;
}

.tab-container::-webkit-scrollbar-track,
.tab-container2::-webkit-scrollbar-track,
.tab-container-view::-webkit-scrollbar-track,
.tab-container-wo::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 3px !important;
    margin: 4px 0 !important;
}

.tab-container::-webkit-scrollbar-thumb,
.tab-container2::-webkit-scrollbar-thumb,
.tab-container-view::-webkit-scrollbar-thumb,
.tab-container-wo::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 3px !important;
    transition: background 0.2s ease !important;
}

.tab-container::-webkit-scrollbar-thumb:hover,
.tab-container2::-webkit-scrollbar-thumb:hover,
.tab-container-view::-webkit-scrollbar-thumb:hover,
.tab-container-wo::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.35) !important;
}

/* For Firefox - vertical scrollbars */
.tab-container,
.tab-container2,
.tab-container-view,
.tab-container-wo {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05) !important;
}

/* Tab container variations */
.tab-container2 {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-top: none !important;
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    padding: 15px !important;
    margin-top: -1px !important;
}

.tab-container-view {
    background-color: #fafbfc !important;
    border: 1px solid #e2e8f0 !important;
    border-top: none !important;
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    padding: 15px !important;
    margin-top: -1px !important;
}

.tab-container-wo {
    background-color: #fafbfc !important;
    border: 1px solid #e2e8f0 !important;
    border-top: none !important;
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    padding: 15px !important;
    margin-top: -1px !important;
}

/* Icon styling in tabs */
.nav-tabs .fa {
    margin-right: 8px !important;
    opacity: 0.7 !important;
    transition: opacity 0.2s ease !important;
}

li.active .fa {
    opacity: 1 !important;
    color: #3880ff !important;
}

li:hover .fa {
    opacity: 0.9 !important;
}

/* Badge styling in tabs */
.nav-tabs .badge {
    margin-left: 6px !important;
    font-size: 10px !important;
    padding: 2px 6px !important;
    background-color: #6b7280 !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

li.active .badge {
    background-color: #3880ff !important;
}

li:hover .badge {
    background-color: #3880ff !important;
}

/* Tab hover effects */
.nav-tabs > li > a:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(56, 128, 255, 0.2) !important;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .nav-tabs {
        padding: 6px 12px 0 12px !important;
    }
    
    .nav-tabs > li > a {
        padding: 8px 12px !important;
        font-size: 12px !important;
        margin-right: 1px !important;
    }
    
    .tab-container,
    .tab-container2,
    .tab-container-view,
    .tab-container-wo {
        padding: 16px !important;
    }
}

.listActive {
    border-color: #3880ff !important;
    background-color: #e3f2fd !important;
}

/* Alert boxes */
.alert-teal {
    border-left: 4px solid #20cfe9 !important;
    background-color: #f2fbfe;
}

.alert-orange {
    border-left: 4px solid #fd7e14 !important;
    background-color: #fff8f1;
}

.alert-green {
    border-left: 4px solid #28a745 !important;
    background-color: #f8fff9;
}

.alert-violet {
    border-left: 4px solid #6f42c1 !important;
    background-color: #f8f6ff;
}

.alert-blue {
    border-left: 4px solid #3880ff !important;
    background-color: #f0f8ff;
}

.alert-yellow {
    border-left: 4px solid #ffc107 !important;
    background-color: #fff8e1;
}

/* Shared Filter Section Styles */
.filter-section-enhanced .well {
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-section-enhanced .btn {
    border-radius: 4px;
    transition: all 0.2s ease;
}

.filter-section-enhanced .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-section-enhanced .form-control {
    border-radius: 4px;
    transition: border-color 0.2s ease;
}

.filter-section-enhanced .form-control:focus {
    border-color: #3880ff;
    box-shadow: 0 0 0 0.2rem rgba(56, 128, 255, 0.1);
}

.filter-section-enhanced .asset-card-improved {
    border-radius: 6px;
    border-left: 4px solid #28a745;
    padding: 12px;
    margin-bottom: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease;
}

.filter-section-enhanced .asset-card-improved:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.filter-section-enhanced .grouped-section {
    border: 1px solid rgba(56, 128, 255, 0.2);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(56, 128, 255, 0.02);
}

.filter-section-enhanced .section-subtle {
    background: rgba(56, 128, 255, 0.02);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
}

.filter-section-enhanced .filter-header {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.filter-section-enhanced .cascading-arrow {
    color: #6c757d;
    margin-right: 4px;
}

/* Modern Scrollbar Styling */
.modern-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.modern-scrollbar::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin: 2px;
}

.modern-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(56, 128, 255, 0.6) 0%, rgba(56, 128, 255, 0.8) 100%);
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modern-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(56, 128, 255, 0.8) 0%, rgba(56, 128, 255, 1) 100%);
    box-shadow: 0 2px 4px rgba(56, 128, 255, 0.3);
}

.modern-scrollbar::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0.05);
}

/* For Firefox */
.modern-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 128, 255, 0.7) rgba(0, 0, 0, 0.05);
}

/* Subtle variant - more understated */
.modern-scrollbar-subtle::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.modern-scrollbar-subtle::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03);
    border-radius: 3px;
    margin: 2px;
}

.modern-scrollbar-subtle::-webkit-scrollbar-thumb {
    background: rgba(108, 117, 125, 0.4);
    border-radius: 3px;
    transition: all 0.2s ease;
}

.modern-scrollbar-subtle::-webkit-scrollbar-thumb:hover {
    background: rgba(108, 117, 125, 0.6);
}

.modern-scrollbar-subtle::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0.03);
}

/* For Firefox */
.modern-scrollbar-subtle {
    scrollbar-width: thin;
    scrollbar-color: rgba(108, 117, 125, 0.4) rgba(0, 0, 0, 0.03);
}

/* Dark theme scrollbar */
.modern-scrollbar-dark::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.modern-scrollbar-dark::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    margin: 2px;
}

.modern-scrollbar-dark::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.3) 100%);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modern-scrollbar-dark::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.4) 100%);
}

/* For Firefox */
.modern-scrollbar-dark {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) rgba(255, 255, 255, 0.05);
}
.text-primary {
    color: #1d387d;
}

a.text-primary:hover,
a.text-primary:focus {
    color: #2a4da5;
}
