/* Modern WooCommerce Orders Management System - Clean & Professional Design */

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --success-color: #059669;
    --info-color: #0284c7;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --border-color: #e2e8f0;
    --sidebar-width: 260px;
    --header-height: 64px;
    --border-radius: 12px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Clean WooCommerce Orders Management System */

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8fafc;
    color: #1f2937;
    line-height: 1.6;
    font-size: 14px;
    min-height: 100vh;
    overflow-x: hidden;
}

/* App Container */
.app-container {
    position: relative;
    min-height: 100vh;
    display: flex;
}

/* Layout */
.container-fluid {
    padding: 1rem;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 64px;
    bottom: 0;
    left: 0;
    width: 260px;
    background: #2d3748;
    border-right: 1px solid #4a5568;
    transform: translateX(-100%);
    transition: transform 0.3s ease, width 0.3s ease;
    overflow-y: auto;
    z-index: 1060; /* Higher than navbar */
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.sidebar.show {
    transform: translateX(0);
}

.sidebar.collapsed {
    width: 60px;
}

.sidebar.collapsed .nav-link span {
    display: none;
}

.sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 14px 10px;
}

.sidebar.collapsed .nav-link i {
    margin-right: 0;
}

@media (min-width: 992px) {
    .sidebar {
        transform: translateX(0);
    }
    
    .sidebar.collapsed ~ .main-content {
        margin-left: 60px;
    }
}

/* Mobile Sidebar - Full Screen */
@media (max-width: 991px) {
    .sidebar {
        top: 0 !important;
        height: 100vh !important;
        width: 300px !important;
        padding-top: 70px;
        z-index: 1060 !important;
        transform: translateX(-100%) !important;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    }
    
    .sidebar.show {
        transform: translateX(0) !important;
    }
}

.sidebar .nav {
    padding: 1rem 0;
}

.sidebar .nav-link {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    margin: 2px 12px;
    color: #e2e8f0;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.sidebar .nav-link:hover {
    background: #4a5568;
    color: #ffffff;
    text-decoration: none;
    border-left-color: #63b3ed;
}

.sidebar .nav-link.active {
    background: #3182ce;
    color: #ffffff;
    border-left-color: #90cdf4;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(49, 130, 206, 0.3);
}

.sidebar .nav-link i {
    width: 18px;
    text-align: center;
    margin-right: 12px;
    font-size: 16px;
    flex-shrink: 0;
}

/* Mobile Navigation Links */
@media (max-width: 991px) {
    .sidebar .nav-link {
        padding: 18px 20px;
        margin: 3px 15px;
        min-height: 50px;
        font-size: 15px;
    }
    
    .sidebar .nav-link i {
        font-size: 18px;
        margin-right: 15px;
        width: 20px;
    }
    
    .sidebar .nav {
        padding: 1rem 0 2rem 0;
    }
}



/* Sidebar Toggle Button */
.sidebar-toggle {
    position: fixed;
    top: 14px;
    left: 270px;
    z-index: 1100;
    background: #3182ce;
    color: white;
    border: none;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.sidebar-toggle:hover {
    background: #2c5282;
    transform: scale(1.05);
}

@media (min-width: 992px) {
    .sidebar-toggle {
        display: block;
    }
    
    .sidebar-toggle.collapsed {
        left: 70px;
    }
}

/* Mobile Navigation */
.mobile-nav-toggle {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 1070; /* Highest priority */
    background: #3182ce;
    color: white;
    border: none;
    border-radius: 6px;
    width: 40px;
    height: 40px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    -webkit-tap-highlight-color: transparent;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus {
    background: #2c5282;
    outline: none;
}

.mobile-nav-toggle:active {
    background: #2a4a7c;
    transform: scale(0.95);
}

@media (min-width: 992px) {
    .mobile-nav-toggle {
        display: none;
    }
}

/* Improve mobile nav toggle visibility when sidebar is open */
.sidebar.show ~ .mobile-nav-toggle {
    background: #e53e3e;
}

.sidebar.show ~ .mobile-nav-toggle:hover {
    background: #c53030;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1055; /* Between navbar and sidebar */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 992px) {
    .sidebar-overlay {
        display: none;
    }
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 0;
    padding: 84px 20px 80px 20px; /* Top, Right, Bottom, Left */
    transition: margin-left 0.3s ease, padding-left 0.3s ease;
    min-height: 100vh;
    background: #f8fafc;
}

@media (min-width: 992px) {
    .main-content {
        margin-left: 260px;
        padding-left: 20px;
    }
    
    .main-content.sidebar-collapsed {
        margin-left: 60px;
    }
}

@media (max-width: 991px) {
    .main-content {
        margin-left: 0;
        padding: 84px 15px 80px 15px;
    }
    
    /* Prevent content from being interactive when sidebar is open */
    .sidebar.show ~ .main-content {
        pointer-events: none;
    }
    
    .sidebar.show ~ .main-content::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 998;
        pointer-events: auto;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 84px 10px 80px 10px;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 84px 8px 80px 8px;
    }
}

/* Navbar */
.navbar {
    height: 64px;
    background: #1f2937 !important;
    border-bottom: 1px solid #374151;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0;
    z-index: 1050;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: left 0.3s ease;
}

@media (min-width: 992px) {
    .navbar {
        left: 260px;
    }
    
    .navbar.sidebar-collapsed {
        left: 60px;
    }
}

.navbar .container-fluid {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}

.navbar-brand {
    font-weight: 700;
    color: #ffffff !important;
    font-size: 18px;
    text-decoration: none;
}

.navbar-brand i {
    color: #60a5fa;
    margin-right: 8px;
}

.user-info {
    display: flex;
    align-items: center;
    color: #d1d5db;
    font-weight: 500;
    font-size: 14px;
}

/* Desktop/Mobile visibility */
.desktop-only {
    display: inline;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: inline;
    }
    
    .navbar {
        left: 0 !important;
    }
}

/* Cards */
.card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.card-header {
    background: #374151;
    border-bottom: 1px solid #4b5563;
    padding: 16px 20px;
    font-weight: 600;
    color: #ffffff;
    font-size: 16px;
}

.card-body {
    padding: 20px;
}

.card-title {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 18px;
}

/* Tables */
.table-container {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
}

.table {
    margin-bottom: 0;
    font-size: 14px;
    color: #374151;
}

.table thead th {
    background: #374151;
    color: white;
    font-weight: 600;
    border: none;
    padding: 12px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e5e7eb;
}

.table tbody td {
    padding: 12px 16px;
    border-color: #f3f4f6;
    vertical-align: middle;
    border-bottom: 1px solid #f3f4f6;
}

.table tbody tr:hover {
    background: #f9fafb;
    transition: background-color 0.2s ease;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: #fafbfc;
}

/* Status Badges - Solid Colors */
.badge, .status-badge {
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    min-width: 70px;
    justify-content: center;
    border: none;
}

.badge-success, .status-completed {
    background: #10b981;
    color: white;
}

.badge-warning, .status-pending, .status-on-hold {
    background: #f59e0b;
    color: white;
}

.badge-danger, .status-cancelled {
    background: #ef4444;
    color: white;
}

.badge-info, .status-processing {
    background: #3b82f6;
    color: white;
}

.badge-secondary, .status-refunded {
    background: #6b7280;
    color: white;
}

.badge-primary {
    background: #2563eb;
    color: white;
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    min-height: 36px;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    box-shadow: 0 1px 3px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: white;
    box-shadow: 0 2px 6px rgba(29, 78, 216, 0.4);
}

.btn-success {
    background: #10b981;
    color: white;
    border-color: #10b981;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
    background: #059669;
    border-color: #059669;
    color: white;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    background: #6b7280;
    color: white;
    border-color: #6b7280;
}

.btn-secondary:hover {
    background: #4b5563;
    border-color: #4b5563;
    color: white;
}

.btn-outline-primary {
    color: #2563eb;
    border-color: #2563eb;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.btn-outline-secondary {
    color: #6b7280;
    border-color: #d1d5db;
    background: transparent;
}

.btn-outline-secondary:hover {
    background: #6b7280;
    color: white;
    border-color: #6b7280;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    min-height: 32px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
    min-height: 44px;
}

/* Forms */
.form-control, .form-select {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
    transition: all 0.2s ease;
    background: white;
    font-size: 14px;
    color: #374151;
}

.form-control:focus, .form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
    font-size: 14px;
}

.input-group {
    border-radius: 6px;
    overflow: hidden;
}

.input-group-text {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #6b7280;
    font-weight: 500;
    font-size: 14px;
}

/* Alerts */
.alert {
    border-radius: 6px;
    padding: 12px 16px;
    border: 1px solid;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

/* Dropdown */
.dropdown-menu {
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    padding: 4px 0;
    background: white;
}

.dropdown-item {
    padding: 8px 16px;
    transition: all 0.2s ease;
    color: #374151;
    font-size: 14px;
}

.dropdown-item:hover {
    background: #f3f4f6;
    color: #2563eb;
}

/* Modal */
.modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.modal-header {
    background: #374151;
    border-bottom: 1px solid #4b5563;
    padding: 16px 20px;
    color: #ffffff;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
}

/* Loading States */
.loading {
    position: relative;
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #2563eb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 400px;
    margin: 1rem 0;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    border: 1px solid #e5e7eb;
}

/* Responsive Mobile */
/* Enhanced Responsive Design */
/* Extra Large Screens (1400px+) */
@media (min-width: 1400px) {
    .container-fluid {
        max-width: 1320px;
        margin: 0 auto;
    }
    
    .main-content {
        padding: 84px 40px 80px 40px;
    }
    
    .chart-container {
        height: 450px;
    }
}

/* Large Screens (1200px-1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .container-fluid {
        padding: 1rem;
    }
    
    .main-content {
        padding: 84px 30px 80px 30px;
    }
    
    .table thead th,
    .table tbody td {
        padding: 10px 12px;
    }
}

/* Medium-Large Screens (992px-1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container-fluid {
        padding: 0.75rem;
    }
    
    .main-content {
        padding: 84px 20px 80px 20px;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .table-responsive {
        font-size: 13px;
    }
    
    .chart-container {
        height: 350px;
    }
    
    .btn-toolbar {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

/* Tablet Screens (768px-991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .main-content {
        padding: 84px 15px 80px 15px;
    }
    
    .navbar {
        left: 0 !important;
    }
    
    .sidebar-toggle {
        display: none !important;
    }
    
    .col-lg-3, .col-lg-4, .col-lg-6 {
        margin-bottom: 1rem;
    }
    
    .btn-toolbar {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-toolbar .btn-group {
        width: 100%;
    }
    
    .table thead th,
    .table tbody td {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .chart-container {
        height: 300px;
        padding: 15px;
    }
    
    .card-header,
    .card-body {
        padding: 15px;
    }
    
    h1, .h1 { font-size: 24px; }
    h2, .h2 { font-size: 20px; }
    h3, .h3 { font-size: 18px; }
}

/* Mobile Landscape (576px-767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .main-content {
        padding: 84px 10px 80px 10px;
    }
    
    .card-header,
    .card-body {
        padding: 12px;
    }
    
    .table thead th,
    .table tbody td {
        padding: 6px 8px;
        font-size: 11px;
    }
    
    .chart-container {
        height: 250px;
        padding: 12px;
    }
    
    .btn {
        padding: 10px 16px;
        min-height: 44px;
        font-size: 14px;
    }
    
    .btn-sm {
        padding: 8px 12px;
        min-height: 40px;
        font-size: 12px;
    }
    
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .stats-cards .col-xl-3,
    .stats-cards .col-md-6 {
        margin-bottom: 0.75rem;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    .main-content {
        padding: 84px 8px 80px 8px;
    }
    
    .container-fluid {
        padding: 0.25rem;
    }
    
    .table {
        font-size: 10px;
        min-width: 100%;
    }
    
    .table thead th,
    .table tbody td {
        padding: 4px 6px;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        width: 100%;
        margin-bottom: 2px;
        border-radius: 6px !important;
        text-align: left;
        justify-content: flex-start;
    }
    
    .form-control,
    .form-select {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px;
        min-height: 44px;
    }
    
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        margin-top: 4px;
        width: 100%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    .row {
        margin: 0 -0.25rem;
    }
    
    .row > * {
        padding: 0 0.25rem;
    }
    
    .stats-cards .col-xl-3 {
        margin-bottom: 0.5rem;
    }
    
    .card {
        border-radius: 6px;
        margin-bottom: 0.75rem;
    }
    
    .card-header,
    .card-body {
        padding: 10px;
    }
    
    .chart-container {
        height: 200px;
        padding: 8px;
    }
    
    .navbar-brand {
        font-size: 16px;
    }
    
    .footer {
        padding: 8px 10px;
        font-size: 11px;
    }
    
    h1, .h1 { font-size: 20px; }
    h2, .h2 { font-size: 18px; }
    h3, .h3 { font-size: 16px; }
    h4, .h4 { font-size: 14px; }
    h5, .h5 { font-size: 13px; }
    h6, .h6 { font-size: 12px; }
}

/* Touch-friendly interfaces */
@media (pointer: coarse) {
    .btn {
        min-height: 44px;
        padding: 10px 18px;
        font-size: 16px;
    }
    
    .btn-sm {
        min-height: 36px;
        padding: 8px 14px;
        font-size: 14px;
    }
    
    .nav-link {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    .table tbody td {
        min-height: 44px;
        padding: 12px 8px;
    }
}

/* Print Optimizations */
@media print {
    .sidebar,
    .mobile-nav-toggle,
    .sidebar-toggle,
    .footer,
    .btn-group,
    .dropdown {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0 !important;
        padding: 0 !important;
    }
    
    .navbar {
        position: static !important;
        left: 0 !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        page-break-inside: avoid;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .table {
        font-size: 10px;
    }
}

/* Utility Classes */
.text-muted {
    color: #6b7280 !important;
}

.text-primary {
    color: #2563eb !important;
}

.text-success {
    color: #059669 !important;
}

.text-danger {
    color: #dc2626 !important;
}

.text-warning {
    color: #d97706 !important;
}

.text-info {
    color: #0284c7 !important;
}

.bg-light {
    background-color: #f8fafc !important;
}

.border {
    border: 1px solid #e5e7eb !important;
}

.rounded {
    border-radius: 8px !important;
}

.shadow-sm {
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1) !important;
}

.shadow {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1) !important;
}

/* Animation */
.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Clean scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Print styles */
@media print {
    .sidebar,
    .mobile-nav-toggle,
    .btn-group,
    .dropdown {
        display: none !important;
    }
    
    main {
        margin-left: 0 !important;
        padding-top: 0 !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}

/* Notification Styles - Solid Colors */
.toast {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    min-width: 320px;
}

.toast-success {
    background: #10b981 !important;
    color: white !important;
}

.toast-error {
    background: #ef4444 !important;
    color: white !important;
}

.toast-info {
    background: #3b82f6 !important;
    color: white !important;
}

.toast-warning {
    background: #f59e0b !important;
    color: white !important;
}

/* Additional Badge Colors - Solid */
.badge.bg-danger {
    background: #ef4444 !important;
    color: white !important;
}

.badge.bg-success {
    background: #10b981 !important;
    color: white !important;
}

.badge.bg-info {
    background: #3b82f6 !important;
    color: white !important;
}

.badge.bg-warning {
    background: #f59e0b !important;
    color: white !important;
}

.badge.bg-secondary {
    background: #6b7280 !important;
    color: white !important;
}

.badge.bg-primary {
    background: #2563eb !important;
    color: white !important;
}

/* Alert Styles - Solid Colors */
.alert {
    border: none;
}

.alert-success {
    background: #d1fae5 !important;
    color: #166534 !important;
    border-left: 4px solid #10b981 !important;
}

.alert-danger {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border-left: 4px solid #ef4444 !important;
}

.alert-warning {
    background: #fffbeb !important;
    color: #92400e !important;
    border-left: 4px solid #f59e0b !important;
}

.alert-info {
    background: #eff6ff !important;
    color: #1e40af !important;
    border-left: 4px solid #3b82f6 !important;
}

/* Progress Bars - Solid Colors */
.progress-bar {
    background: #2563eb !important;
}

.progress-bar.bg-success {
    background: #10b981 !important;
}

.progress-bar.bg-warning {
    background: #f59e0b !important;
}

.progress-bar.bg-danger {
    background: #ef4444 !important;
}

.progress-bar.bg-info {
    background: #3b82f6 !important;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #374151;
    color: #d1d5db;
    text-align: center;
    padding: 12px 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 999;
    border-top: 1px solid #4b5563;
    transition: left 0.3s ease;
}

@media (min-width: 992px) {
    .footer {
        left: 260px;
    }
    
    .footer.sidebar-collapsed {
        left: 60px;
    }
}

@media (max-width: 991px) {
    .footer {
        left: 0;
    }
}

.footer a {
    color: #60a5fa;
    text-decoration: none;
}

.footer a:hover {
    color: #93c5fd;
    text-decoration: underline;
}
