/* 
   PREMIUM DARK THEME - DEEP SPACE EDITION
   Created for SMM Panel V2
   Designed for Professionalism & High-End UX
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap');

:root {
    /* Color Palette - Deep Space & Neon */
    --bg-dark: #020617;
    /* Very dark navy/black */
    --bg-card: rgba(15, 23, 42, 0.6);
    /* Glassmorphism base */
    --bg-card-hover: rgba(30, 41, 59, 0.7);

    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-highlight: #38bdf8;

    --border-color: rgba(148, 163, 184, 0.1);
    --border-glow: rgba(99, 102, 241, 0.5);

    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --neon-shadow: 0 0 10px rgba(99, 102, 241, 0.3), 0 0 20px rgba(99, 102, 241, 0.2);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* Global Reset & Typography */
body,
html,
.body-public,
.body-internal {
    font-family: 'Cairo', sans-serif !important;
    background-color: var(--bg-dark) !important;
    color: var(--text-main) !important;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Animation Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Layout & Containers */
.container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

.wrapper,
.wrapper-content {
    width: auto !important;
    /* Allow margins to work */
    max-width: 100% !important;
    padding: 0 !important;
}

/* 
   REVERTED LAYOUT TO FIX "RUINED" STATE
   Focusing ONLY on UI Styling (Table, Buttons, Colors)
   Leaving Sidebar/Navbar placement to default theme logic
*/

/* Reset wrapper to default fluid behavior — public pages only */
.body-public .wrapper-content {
    width: 100% !important;
    padding-top: calc(var(--header-height, 60px) + 10px) !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Public navbar only — dashboard-v2.css controls internal layout */
.body-public .sidebar-block__top,
.body-public .component-navbar,
.body-public .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    min-height: 60px !important;
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Sidebar - Remove forced positioning that broke it */
/* Letting the theme handle sidebar placement (likely static or absolute) */
/* Only styling the look */
.sidebar-block__left {
    background: #1e293b !important;
    border-left: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* 
   ORDERS PAGE STYLING (Matches Screenshot)
   - Rounded Filter Pills
   - Wide Search Bar
   - Clean Table
*/

/* Filter Tabs (The "Pills") */
.nav-pills {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin-bottom: 20px !important;
    border-bottom: none !important;
}

.nav-pills>li {
    float: none !important;
}

.nav-pills>li>a {
    border-radius: 50px !important;
    /* Fully rounded pills */
    padding: 10px 25px !important;
    background: rgba(30, 41, 59, 0.5) !important;
    /* Inactive dark */
    color: #94a3b8 !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease !important;
}

.nav-pills>li.active>a,
.nav-pills>li>a:hover {
    background: #0ea5e9 !important;
    /* Bright Blue Active */
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* Search Bar Area */
.search-input,
.form-control {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    border-radius: 12px !important;
    color: #fff !important;
    height: 50px !important;
    padding: 0 20px !important;
    width: 100% !important;
    box-shadow: none !important;
}

.search-input:focus,
.form-control:focus {
    border-color: #0ea5e9 !important;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2) !important;
}

/* Table Styling */
.orders-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    margin-top: 20px !important;
}

.orders-table thead th {
    background: #0f172a !important;
    /* Darker header */
    color: #fff !important;
    font-weight: 700 !important;
    padding: 18px 20px !important;
    border-bottom: 2px solid #334155 !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px !important;
}

.orders-table tbody td {
    background: #1e293b !important;
    /* Card bg */
    border-bottom: 1px solid #334155 !important;
    padding: 20px !important;
    vertical-align: middle !important;
    color: #e2e8f0 !important;
    font-size: 0.95rem !important;
}

/* Status Badges - Solid & Clean */
.status-completed {
    background-color: #10b981 !important;
    color: #fff !important;
}

.status-processing {
    background-color: #3b82f6 !important;
    color: #fff !important;
}

.status-pending {
    background-color: #f59e0b !important;
    color: #fff !important;
}

.status-partial {
    background-color: #6366f1 !important;
    color: #fff !important;
}

.status-canceled {
    background-color: #ef4444 !important;
    color: #fff !important;
}

/* Badge Shape */
.badge,
.label {
    padding: 8px 16px !important;
    border-radius: 6px !important;
    /* Slightly rounded rect */
    font-weight: 700 !important;
    font-size: 0.8rem !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    border: none !important;
}

/* Fix Logo Sizing */
.navbar-brand img {
    max-height: 50px !important;
    width: auto !important;
}

/* Hide unwanted elements if any */
.dashboard-alert {
    display: none !important;
}

/* Force Full Width Container */
.container,
.container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* Fix Table Sizing to be Full Page */
.orders-card {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    /* Allow scroll only if absolutely needed */
}

.orders-table {
    width: 100% !important;
    table-layout: auto !important;
    /* Let columns adapt */
}

.orders-table th,
.orders-table td {
    white-space: nowrap;
    /* Prevent wrapping for cleaner look */
}

/* Allow Link column to wrap if needed or truncate nicely */
.orders-table td:nth-child(3) {
    white-space: normal !important;
    word-break: break-all;
    min-width: 250px;
    /* Slightly wider */
}

/* Adjust font sizes - INCREASED as requested */
.orders-table th {
    font-size: 1rem !important;
    /* Increased from 0.9rem */
    padding: 18px 20px !important;
    /* Increased padding */
}

.orders-table td {
    font-size: 1.05rem !important;
    /* Increased from 0.95rem */
    padding: 18px 20px !important;
    /* Increased padding */
}


.card,
.well,
.panel {
    background: #152349 !important;
    /* Standardized card bg */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transform: none !important;
    perspective: none !important;
    transition: all 0.3s ease !important;
    margin-bottom: 24px !important;
}

.card:hover,
.well:hover,
.panel:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 99, 235, 0.1) !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
}

/* Navbar Styling */
.navbar {
    background: rgba(2, 6, 23, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--border-color) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
}

.navbar-nav>li>a {
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    transition: color 0.3s ease !important;
    position: relative;
}

.navbar-nav>li>a:hover,
.navbar-nav>li.active>a {
    color: var(--text-main) !important;
}

.navbar-nav>li>a::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}

.navbar-nav>li>a:hover::after,
.navbar-nav>li.active>a::after {
    width: 80%;
    left: 10%;
}

.navbar-brand {
    font-weight: 800 !important;
    font-size: 24px !important;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Platform Buttons - The "Chips" Design */
.platforms {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    margin-bottom: 24px !important;
}

.platforms-item {
    width: auto !important;
    flex: 0 1 auto !important;
}

.platform-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 22px !important;
    background: rgba(21, 35, 73, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50px !important;
    color: #94a3b8 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    width: auto !important;
    min-width: 110px;
    margin: 5px;
}

.platform-btn:hover {
    background: rgba(30, 41, 59, 0.8) !important;
    color: #fff !important;
    border-color: #38bdf8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.platform-btn.active,
.platform-btn.is-active {
    background: linear-gradient(135deg, #2563EB, #1D4ED8) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4) !important;
}

.platform-btn.active img {
    filter: grayscale(0%) brightness(200%);
}

/* Inputs & Form Elements */
.form-control,
.select2-container--bootstrap .select2-selection {
    background-color: rgba(15, 23, 42, 0.5) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-main) !important;
    border-radius: var(--radius-sm) !important;
    height: 45px !important;
    transition: all 0.3s ease !important;
}

.form-control:focus,
.select2-container--bootstrap.select2-container--open .select2-selection {
    background-color: rgba(15, 23, 42, 0.8) !important;
    border-color: #6366f1 !important;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1) !important;
    color: #fff !important;
}

label {
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    font-size: 0.9rem !important;
}

/* Service Description Box */
#service_description {
    background: rgba(6, 182, 212, 0.05) !important;
    border: 1px solid rgba(6, 182, 212, 0.2) !important;
    border-radius: var(--radius-sm) !important;
    padding: 20px !important;
    color: var(--text-main) !important;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

#service_description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary-gradient);
}

/* Tables */
.table {
    color: var(--text-main) !important;
}

.table thead th {
    background-color: rgba(30, 41, 59, 0.5) !important;
    border-bottom: 2px solid var(--border-color) !important;
    color: var(--text-highlight) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table td {
    border-top: 1px solid var(--border-color) !important;
    vertical-align: middle !important;
}

.table tr:hover td {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

/* Status Badges */
.badge {
    padding: 6px 12px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-processing {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-inprogress {
    background: rgba(6, 182, 212, 0.2) !important;
    color: #22d3ee !important;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-completed {
    background: rgba(34, 197, 94, 0.2) !important;
    color: #4ade80 !important;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-canceled {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-partial {
    background: rgba(168, 85, 247, 0.2) !important;
    color: #c084fc !important;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Submit Button */
.btn-primary {
    background: var(--primary-gradient) !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    padding: 12px 30px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4) !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6) !important;
}

/* Footer */
footer {
    background: rgba(2, 6, 23, 0.9) !important;
    border-top: 1px solid var(--border-color) !important;
    padding: 40px 0 !important;
    margin-top: 60px !important;
    position: relative;
    z-index: 10;
}

/* Scroll to Top */
#scrollToTopBtn {
    width: 50px;
    height: 50px;
    background: var(--secondary-gradient) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
    transition: all 0.3s ease;
}

#scrollToTopBtn:hover {
    transform: translateY(-5px) rotate(360deg);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Select2 Customization */
.select2-dropdown {
    background-color: #0f172a !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px);
}

.select2-results__option {
    color: var(--text-muted) !important;
    padding: 10px 15px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.select2-results__option--highlighted {
    background: var(--primary-gradient) !important;
    color: white !important;
}

/* Sidebar - High End Design */
.sidebar-block__left {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-left: 1px solid var(--border-color) !important;
    /* Left border for RTL */
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5) !important;
    padding-top: 20px !important;
}

.sidebar-block__left-menu {
    padding: 10px 15px !important;
}

.component-sidebar__menu-item {
    margin-bottom: 8px !important;
    border-radius: var(--radius-md) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden;
    position: relative;
}

.component-sidebar__menu-item-link {
    display: flex !important;
    align-items: center !important;
    padding: 14px 20px !important;
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease !important;
}

.sidebar-block__menu-item-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px;
    height: 30px;
    margin-left: 15px !important;
    /* RTL */
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

/* Hover State */
.component-sidebar__menu-item:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    transform: translateX(-5px);
    /* Move left for RTL interaction */
}

.component-sidebar__menu-item:hover .component-sidebar__menu-item-link {
    color: var(--text-main) !important;
}

.component-sidebar__menu-item:hover .sidebar-block__menu-item-icon {
    background: var(--primary-gradient);
    color: #fff;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

/* Active State */
.component-sidebar__menu-item-active {
    background: var(--bg-dark) !important;
    /* Fallback */
    position: relative;
}

.component-sidebar__menu-item-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary-gradient);
    opacity: 0.15;
    z-index: 1;
}

.component-sidebar__menu-item-active::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 4px;
    background: var(--primary-gradient);
    border-radius: 4px 0 0 4px;
    box-shadow: -2px 0 10px rgba(99, 102, 241, 0.8);
}

.component-sidebar__menu-item-active .component-sidebar__menu-item-link {
    color: #fff !important;
    font-weight: 700 !important;
}

.component-sidebar__menu-item-active .sidebar-block__menu-item-icon {
    background: var(--primary-gradient) !important;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.6) !important;
}

/* Logo Area */
.component-sidebar__menu-logo {
    padding: 20px !important;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
    text-align: center;
}

.component-sidebar__menu-logo img {
    max-height: 50px;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.3));
}

/* 
   ORDERS PAGE STYLING - PREMIUM DARK
*/

/* Professional Tabs */
.orders-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.orders-tab-item {
    margin: 0;
}

.orders-tab-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.orders-tab-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.orders-tab-link.active {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Search Box Area */
.search-box-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 20px;
}

.orders-search-input {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    border-radius: 8px !important;
    padding-left: 20px !important;
    padding-right: 50px !important;
    height: 50px !important;
    color: #fff !important;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.orders-search-input:focus {
    border-color: #6366f1 !important;
    outline: none;
}

.search-btn-absolute {
    position: absolute;
    right: 8px;
    top: 8px;
    height: 34px;
    width: 34px;
    border-radius: 6px;
    background: #334155;
    border: none;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.2s ease;
}

.search-btn-absolute:hover {
    background: #6366f1;
    color: #fff;
}

/* Orders Table - Dark & Spacious */
.orders-card {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    border-radius: 12px !important;
    overflow: visible !important;
    /* ALLOW VISIBILITY */
    padding: 0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    transform: none !important;
    /* DISABLE 3D */
    perspective: none !important;
    margin-bottom: 50px !important;
    width: 100% !important;
}

.orders-table {
    width: 100%;
    margin-bottom: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
}

.orders-table th {
    background: #0f172a !important;
    color: #cbd5e1 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 18px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    /* Full Grid Border */
    white-space: nowrap;
}

.orders-table td {
    padding: 18px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    /* Full Grid Border */
    color: #e2e8f0;
    font-size: 0.95rem;
    vertical-align: middle;
}

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

.orders-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* Status Badges - SOLID CARDS */
.status-badge {
    display: block !important;
    width: 100% !important;
    max-width: 150px !important;
    margin: 0 auto !important;
    padding: 12px 5px !important;
    border-radius: 8px !important;
    /* Rectangular Card */
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: 0.5px;
    color: #fff !important;
    line-height: 1;
}

.status-badge::before {
    display: none;
}

/* Status Colors - SOLID & VIBRANT */
.status-pending {
    background-color: #eab308 !important;
    /* Solid Yellow/Gold */
    color: #000 !important;
    /* Black Text */
    border: none !important;
}

.status-processing {
    background-color: #0ea5e9 !important;
    /* Solid Blue */
    color: #fff !important;
    border: none !important;
}

.status-inprogress {
    background-color: #6366f1 !important;
    /* Solid Indigo */
    color: #fff !important;
    border: none !important;
}

.status-completed {
    background-color: #16a34a !important;
    /* Solid Green */
    color: #fff !important;
    border: none !important;
}

.status-partial {
    background-color: #f97316 !important;
    /* Solid Orange */
    color: #fff !important;
    border: none !important;
}

.status-canceled {
    background-color: #dc2626 !important;
    /* Solid Red */
    color: #fff !important;
    border: none !important;
}

.status-error {
    background-color: #ef4444 !important;
    color: #fff !important;
    border: none !important;
}

/* Action Buttons */
.btn-action-group {
    display: flex;
    gap: 10px;
}

.btn-refill,
.btn-cancel {
    background: transparent;
    border: 1px solid #475569;
    color: #94a3b8;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
    text-transform: uppercase;
}

.btn-refill:hover {
    border-color: #22c55e;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.btn-cancel:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* Pagination - Dark */
.pagination {
    margin-top: 30px;
    gap: 8px;
}

.pagination li a {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #94a3b8 !important;
    border-radius: 6px !important;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.pagination li.active a,
.pagination li a:hover {
    background: #6366f1 !important;
    color: #fff !important;
    border-color: #6366f1 !important;
}

/* Typography Helpers */
.text-highlight {
    color: #818cf8 !important;
}

.text-dim {
    color: #94a3b8 !important;
}

.navbar-shrink {
    min-height: 52px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

.navbar.navbar-shrink {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.btn {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.35);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        opacity: 0;
        width: 300px;
        height: 300px;
    }
}

:root {
    --header-height: 60px;
}