/* =============================================================================
   ORVA STORE — Enterprise Light Theme & Logistics Dashboard Design System
   ============================================================================= */

:root {
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-arabic: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Light Theme Palette */
    --bg-app: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-input: #ffffff;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;

    /* Text Colors (High Contrast) */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-dim: #94a3b8;

    /* Brand Accents */
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --cyan: #0891b2;
    --cyan-light: #ecfeff;
    --emerald: #059669;
    --emerald-light: #ecfdf5;
    --amber: #d97706;
    --amber-light: #fffbeb;
    --rose: #e11d48;
    --rose-light: #fff1f2;
    --purple: #7c3aed;
    --purple-light: #f5f3ff;

    /* Elevation & Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 9999px;

    /* Transitions */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-app);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

[dir="rtl"] body, [dir="rtl"] {
    font-family: var(--font-arabic);
}

/* App Wrapper */
.app-layout-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── 1. Top Navbar ─────────────────────────────────────────────────────────── */
.app-navbar {
    height: 64px;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: var(--shadow-sm);
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: center;
}

.navbar-top-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.store-quick-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 769px) {
    .store-quick-nav {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.store-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.store-nav-pill:hover {
    background: #eef2ff;
    border-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-1px);
}

.store-nav-pill i {
    font-size: 11px;
    color: var(--primary);
}

.navbar-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-icon-box {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
    flex-shrink: 0;
}

.brand-titles {
    display: flex;
    flex-direction: column;
}

.brand-main {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--text-primary);
    line-height: 1.2;
}

.brand-highlight {
    color: var(--primary);
    margin-left: 2px;
}

.brand-sub {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
}

.navbar-toggler-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.navbar-toggler-btn:hover {
    background: var(--bg-app);
    color: var(--primary);
    border-color: var(--primary-light);
}

.navbar-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    justify-content: flex-end;
}

.navbar-search-box {
    position: relative;
    width: 280px;
    max-width: 100%;
}

.navbar-search-box .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 13px;
}

[dir="rtl"] .navbar-search-box .search-icon {
    left: auto;
    right: 12px;
}

.navbar-search-box input {
    width: 100%;
    height: 36px;
    padding: 0 12px 0 34px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
    background: var(--bg-app);
    color: var(--text-primary);
    font-size: 12px;
    outline: none;
    transition: var(--transition);
}

[dir="rtl"] .navbar-search-box input {
    padding: 0 34px 0 12px;
}

.navbar-search-box input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.navbar-actions-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
}

/* Status Pills */
.status-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.courier-pill {
    background: var(--cyan-light);
    color: var(--cyan);
    border-color: rgba(8, 145, 178, 0.2);
}

.excel-pill {
    background: var(--emerald-light);
    color: var(--emerald);
    border-color: rgba(5, 150, 105, 0.2);
}

.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.pulse-green {
    background: var(--emerald);
    box-shadow: 0 0 0 rgba(5, 150, 105, 0.5);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.6); }
    70% { box-shadow: 0 0 0 5px rgba(5, 150, 105, 0); }
    100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.icon-circle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.icon-circle-btn:hover {
    background: var(--bg-app);
    color: var(--primary);
}

/* Navbar Language Submenu Dropdown */
.navbar-lang-wrapper {
    position: relative;
}

.lang-submenu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
    background: var(--bg-app);
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.lang-submenu-trigger:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-submenu-trigger .caret-icon {
    font-size: 9px;
    color: var(--text-muted);
}

.lang-submenu-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    display: none;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
    z-index: 1000;
}

[dir="rtl"] .lang-submenu-dropdown {
    right: auto;
    left: 0;
}

.lang-submenu-dropdown.active {
    display: flex;
    animation: modalAppear 0.15s ease-out;
}

.lang-dropdown-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.lang-dropdown-opt:hover, .lang-dropdown-opt.active {
    background: var(--primary-light);
    color: var(--primary);
}

.lang-dropdown-opt .check-mark {
    display: none;
    font-size: 10px;
}

.lang-dropdown-opt.active .check-mark {
    display: block;
}

/* User Profile Badge */
.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: var(--bg-app);
    border: 1px solid var(--border-color);
}

.avatar-ring {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
}

.online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--emerald);
    border: 1.5px solid #ffffff;
}

.user-meta {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
}

.user-role {
    font-size: 9px;
    color: var(--text-muted);
}

/* ── 2. Full-Page Blurry Mobile Menu Overlay ───────────────────────────────── */
.mobile-nav-fullscreen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(248, 250, 252, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 9999;
    display: none;
    flex-direction: column;
}

.mobile-nav-fullscreen.active {
    display: flex;
    animation: fadeInScale 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

.mobile-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.mobile-nav-close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-primary);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.mobile-nav-scroll-container {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 20px;
    align-items: center;
}

.mobile-nav-links-centered {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 360px;
    margin: auto 0;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mobile-nav-item:active, .mobile-nav-item:hover, .mobile-nav-item.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-1px);
}

.mobile-nav-item.active .m-nav-icon i, .mobile-nav-item:hover .m-nav-icon i {
    color: #ffffff !important;
}

.m-nav-icon {
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.mobile-nav-bottom-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 360px;
    margin-top: 20px;
}

.mobile-lang-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    background: #ffffff;
    padding: 4px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
}

.mobile-lang-btn {
    padding: 8px 12px;
    border-radius: var(--radius-pill);
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
}

.mobile-lang-btn.active {
    background: var(--primary);
    color: #ffffff;
}

.mobile-nav-status-strip {
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 11px;
    color: var(--text-muted);
    padding: 8px;
}

/* ── 3. Page Body & Sidebar ────────────────────────────────────────────────── */
.app-page-body {
    display: flex;
    flex: 1;
    position: relative;
}

.app-sidebar {
    width: 260px;
    min-width: 260px;
    background: #ffffff;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 20px 16px;
    transition: var(--transition);
}

[dir="rtl"] .app-sidebar {
    border-right: none;
    border-left: 1px solid var(--border-color);
}

.app-sidebar.collapsed {
    width: 0;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: none;
}

.sidebar-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--bg-app);
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.user-avatar-large {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.sidebar-user-card h4 {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
}

.badge-store {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.nav-category-header {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-dim);
    margin: 14px 8px 4px 8px;
    text-transform: uppercase;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-link:hover {
    background: var(--bg-app);
    color: var(--primary);
}

.nav-link.active {
    background: var(--primary);
    color: #ffffff;
}

.nav-link.active .nav-icon {
    color: #ffffff !important;
}

.nav-icon {
    font-size: 14px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.nav-title {
    flex: 1;
}

.nav-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    background: var(--bg-app);
    color: var(--text-primary);
}

.nav-link.active .nav-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.badge-warning {
    background: var(--amber-light);
    color: var(--amber);
}

.sidebar-footer-card {
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.footer-card-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-card-inner .icon-wrap {
    font-size: 18px;
    color: var(--primary);
}

.footer-card-inner h5 {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
}

.footer-card-inner p {
    font-size: 9px;
    color: var(--text-muted);
}

/* ── 4. Main Viewport Content ──────────────────────────────────────────────── */
.app-main-content {
    flex: 1;
    padding: 20px 24px;
    max-width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Banner Card */
.app-banner-card {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: var(--emerald-light);
    color: var(--emerald);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
}

.banner-content h2 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.banner-content p {
    font-size: 12px;
    color: var(--text-muted);
}

.banner-actions {
    display: flex;
    gap: 10px;
}

/* Buttons */
.app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-decoration: none;
}

.app-btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.app-btn-primary:hover {
    background: var(--primary-hover);
}

.app-btn-secondary {
    background: var(--bg-app);
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.app-btn-secondary:hover {
    background: var(--border-color);
}

.app-btn-outline {
    background: #ffffff;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.app-btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.app-btn-sm {
    padding: 5px 10px;
    font-size: 11px;
}

.w-100 { width: 100%; }
.flex-1 { flex: 1; }

/* ── 5. KPI Metrics Grid ───────────────────────────────────────────────────── */
.app-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.app-kpi-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.app-kpi-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.kpi-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.kpi-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.kpi-icon-box {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.blue-box { background: var(--primary-light); color: var(--primary); }
.emerald-box { background: var(--emerald-light); color: var(--emerald); }
.amber-box { background: var(--amber-light); color: var(--amber); }
.cyan-box { background: var(--cyan-light); color: var(--cyan); }
.rose-box { background: var(--rose-light); color: var(--rose); }

.kpi-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 3px;
    font-family: var(--font-sans);
}

.kpi-subtext {
    font-size: 10px;
    font-weight: 600;
}

/* ── 6. Charts & Analytics ─────────────────────────────────────────────────── */
.app-charts-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

.app-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.app-card-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title-wrap h4 {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
}

.badge-pill {
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 700;
}

.bg-primary-soft { background: var(--primary-light); color: var(--primary); }
.bg-emerald-soft { background: var(--emerald-light); color: var(--emerald); }

.app-card-body {
    padding: 16px;
}

.canvas-container {
    width: 100%;
    height: 200px;
    position: relative;
}

.canvas-container canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Visitor Analytics */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.analytics-col-card {
    background: var(--bg-app);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.analytics-subtitle {
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analytics-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.analytics-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    padding-bottom: 5px;
    border-bottom: 1px dashed var(--border-color);
}

.analytics-row span {
    color: var(--text-secondary);
}

.analytics-row strong {
    color: var(--primary);
}

/* ── 7. Orders Data Table ──────────────────────────────────────────────────── */
.table-header-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.header-left-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.count-badge {
    font-size: 11px;
    font-weight: 700;
    background: var(--bg-app);
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
}

.status-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    background: var(--bg-app);
    padding: 3px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.tab-btn {
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.table-toolbar {
    padding: 10px 16px;
    background: #fafafa;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.toolbar-search {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.toolbar-search i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

[dir="rtl"] .toolbar-search i {
    left: auto;
    right: 10px;
}

.toolbar-search input {
    width: 100%;
    height: 34px;
    padding: 0 10px 0 30px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: #ffffff;
    font-size: 12px;
    outline: none;
}

[dir="rtl"] .toolbar-search input {
    padding: 0 30px 0 10px;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-select {
    height: 34px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: #ffffff;
    font-size: 12px;
    color: var(--text-primary);
    outline: none;
}

/* Table */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.app-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    text-align: left;
}

[dir="rtl"] .app-table {
    text-align: right;
}

.app-table th {
    background: #f8fafc;
    padding: 10px 14px;
    font-weight: 800;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.app-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.app-table tbody tr:hover {
    background: #fbfcfe;
}

/* Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.badge-pending { background: var(--amber-light); color: var(--amber); }
.badge-confirmed { background: #e0e7ff; color: #4338ca; }
.badge-shipped { background: var(--cyan-light); color: var(--cyan); }
.badge-delivered { background: var(--emerald-light); color: var(--emerald); }
.badge-returned { background: var(--rose-light); color: var(--rose); }
.badge-cancelled { background: #f1f5f9; color: #64748b; }

/* Interactive Status Selector */
.status-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.status-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 4px 22px 4px 8px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    outline: none;
    transition: all 0.2s ease;
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 8px 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}

[dir="rtl"] .status-select {
    padding: 4px 8px 4px 22px;
    background-position: left 6px center;
}

.status-select:hover {
    filter: brightness(0.96);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.status-select:focus {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.4);
}

.status-select.is-updating {
    opacity: 0.6;
    pointer-events: none;
    animation: statusPulse 0.8s infinite alternate;
}

@keyframes statusPulse {
    from { opacity: 0.4; }
    to { opacity: 0.85; }
}

.status-select-pending { background-color: var(--amber-light); color: var(--amber); border-color: rgba(217, 119, 6, 0.3); }
.status-select-confirmed { background-color: #e0e7ff; color: #4338ca; border-color: rgba(67, 56, 202, 0.3); }
.status-select-shipped { background-color: var(--cyan-light); color: var(--cyan); border-color: rgba(8, 145, 178, 0.3); }
.status-select-delivered { background-color: var(--emerald-light); color: var(--emerald); border-color: rgba(5, 150, 105, 0.3); }
.status-select-returned { background-color: var(--rose-light); color: var(--rose); border-color: rgba(225, 29, 72, 0.3); }
.status-select-cancelled { background-color: #f1f5f9; color: #64748b; border-color: rgba(100, 116, 139, 0.3); }

/* Floating Toast Notifications */
.admin-toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

[dir="rtl"] .admin-toast-container {
    left: auto;
    right: 24px;
}

.admin-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1e293b;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    font-size: 13px;
    font-weight: 600;
    animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: opacity 0.3s, transform 0.3s;
}

.admin-toast.toast-success {
    border-right: 4px solid var(--emerald);
}
[dir="rtl"] .admin-toast.toast-success {
    border-right: none;
    border-left: 4px solid var(--emerald);
}
.admin-toast.toast-success i {
    color: var(--emerald);
    font-size: 16px;
}

.admin-toast.toast-error {
    border-right: 4px solid var(--rose);
}
[dir="rtl"] .admin-toast.toast-error {
    border-right: none;
    border-left: 4px solid var(--rose);
}
.admin-toast.toast-error i {
    color: var(--rose);
    font-size: 16px;
}

.admin-toast.toast-fadeout {
    opacity: 0;
    transform: translateY(10px);
}

@keyframes toastSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Table Action Buttons */
.table-actions-flex {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-action-sm {
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.btn-act-ship {
    background: var(--primary);
    color: #ffffff;
}

.btn-act-ship:hover {
    background: var(--primary-hover);
}

.btn-act-track {
    background: var(--cyan-light);
    color: var(--cyan);
    border-color: rgba(8, 145, 178, 0.2);
}

.btn-act-print {
    background: var(--emerald-light);
    color: var(--emerald);
    border-color: rgba(5, 150, 105, 0.2);
}

.btn-act-del {
    background: var(--rose-light);
    color: var(--rose);
}

.btn-act-edit {
    background: var(--bg-app);
    color: var(--text-secondary);
    border-color: var(--border-color);
}

/* ── 8. Printable Official Shipping Label (Thermal A6 & Standard A4) ──────── */
.official-shipping-label {
    background: #ffffff;
    border: 2px solid #0f172a;
    border-radius: var(--radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: var(--font-sans);
    color: #0f172a;
    box-shadow: var(--shadow-sm);
}

.label-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px dashed #0f172a;
    padding-bottom: 10px;
}

.carrier-tag {
    display: inline-block;
    background: #0f172a;
    color: #ffffff;
    font-weight: 900;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.label-carrier small {
    display: block;
    font-size: 10px;
    color: #64748b;
    margin-top: 2px;
}

.label-store {
    text-align: right;
}

.label-store strong {
    font-size: 13px;
    display: block;
}

.label-store small {
    font-size: 10px;
    color: #64748b;
}

.label-barcode-zone {
    text-align: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px;
}

.barcode-lines {
    font-family: 'Courier New', monospace;
    font-size: 26px;
    letter-spacing: 3px;
    line-height: 1;
    font-weight: bold;
}

.barcode-num {
    display: block;
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 1px;
    margin-top: 4px;
}

.label-ref-tag {
    font-size: 10px;
    color: #64748b;
    font-weight: 700;
}

.label-body-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px;
}

.label-section .sec-label {
    font-size: 9px;
    font-weight: 800;
    color: #64748b;
    display: block;
    margin-bottom: 2px;
}

.label-section h4 {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
}

.phone-highlight {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 13px;
    color: var(--primary);
}

.label-footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 2px solid #0f172a;
    border-radius: 6px;
    padding: 10px 14px;
}

.label-type-box {
    font-weight: 800;
    font-size: 12px;
}

.label-amount-box {
    text-align: right;
}

.label-amount-box span {
    font-size: 9px;
    font-weight: 800;
    display: block;
}

.label-amount-box h3 {
    font-size: 18px;
    font-weight: 900;
    color: var(--emerald);
    font-family: var(--font-sans);
}

.label-product-note {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    border-top: 1px dashed #cbd5e1;
    padding-top: 8px;
}

.label-actions-row {
    display: flex;
    gap: 10px;
}

/* ── 9. Modals ─────────────────────────────────────────────────────────────── */
.app-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
}

.app-modal-backdrop.active {
    display: flex;
}

.app-modal-dialog {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    animation: modalAppear 0.2s ease-out;
}

.modal-md { max-width: 480px; }
.modal-lg { max-width: 760px; }

@keyframes modalAppear {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.app-modal-header {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-title-wrap h3 {
    font-size: 15px;
    font-weight: 800;
}

.modal-close-btn {
    border: none;
    background: transparent;
    font-size: 16px;
    color: var(--text-muted);
    cursor: pointer;
}

.app-modal-body {
    padding: 20px;
}

.app-modal-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    background: #fafafa;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

.form-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}

.app-input {
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: #ffffff;
    font-size: 12px;
    color: var(--text-primary);
    outline: none;
    width: 100%;
}

.app-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.tariff-calculation-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--emerald-light);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.tariff-calculation-banner .banner-icon {
    font-size: 20px;
    color: var(--emerald);
}

.tariff-calculation-banner strong {
    font-size: 15px;
    color: var(--emerald);
    margin-left: 6px;
}

/* Helpers */
.text-primary { color: var(--primary); }
.text-emerald { color: var(--emerald); }
.text-amber { color: var(--amber); }
.text-cyan { color: var(--cyan); }
.text-rose { color: var(--rose); }
.text-purple { color: var(--purple); }
.text-center { text-align: center; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-5 { padding-top: 2rem; padding-bottom: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.p-3 { padding: 1rem; }
.max-h-400 { max-height: 400px; }

/* ── 10. Responsive Adjustments ────────────────────────────────────────────── */
@media (max-width: 992px) {
    .app-charts-row {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .app-navbar {
        height: 117px;
        padding: 12px 12px;
        justify-content: space-between;
    }

    .navbar-top-row {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .store-quick-nav {
        position: static;
        transform: none;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        margin-top: 6px;
    }

    .store-nav-pill {
        flex: 1;
        justify-content: center;
        padding: 7px 4px;
        font-size: 11px;
    }

    .navbar-search-box {
        display: none;
    }

    .hide-on-sm {
        display: none !important;
    }

    .brand-icon-box {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .brand-main {
        font-size: 13px;
    }

    .app-main-content {
        padding: 14px 12px;
    }

    .app-banner-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .label-body-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Stylesheet */
@media print {
    body * {
        visibility: hidden;
    }
    #printableOfficialLabel, #printableOfficialLabel * {
        visibility: visible;
    }
    #printableOfficialLabel {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 100mm;
        border: 2px solid #000;
        box-shadow: none;
        padding: 10mm;
    }
}

/* ========================================================================== */
/* 🔐 11. ADMIN PASSWORD AUTHENTICATION GATE STYLES                           */
/* ========================================================================== */
.admin-auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 16px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.admin-auth-card {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 38px 28px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: authCardPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authCardPop {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.auth-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: linear-gradient(135deg, #A88323, #7A5F14);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 18px;
    box-shadow: 0 10px 25px rgba(156, 122, 30, 0.35);
}

.admin-auth-card h2 {
    font-size: 24px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 6px;
}

.admin-auth-card p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}

.auth-input-group {
    position: relative;
    margin-bottom: 14px;
}

.auth-input-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
}

[dir="rtl"] .auth-input-group i {
    left: auto;
    right: 14px;
}

.auth-input-group input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 42px;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    font-size: 15px;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

[dir="rtl"] .auth-input-group input {
    padding: 0 42px 0 14px;
    text-align: right;
}

.auth-input-group input:focus {
    border-color: #A88323;
    box-shadow: 0 0 0 4px rgba(168, 131, 35, 0.15);
}

.auth-error-msg {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
}

.auth-btn-submit {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #A88323, #7A5F14);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 6px 20px rgba(156, 122, 30, 0.25);
}

.auth-btn-submit:hover {
    background: linear-gradient(135deg, #B58F28, #8a6c18);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(156, 122, 30, 0.35);
}

.auth-footer-note {
    margin-top: 18px;
    color: #94a3b8;
    font-size: 12px;
}

.auth-footer-note code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    color: #475569;
    font-weight: 700;
}

/* ========================================================================== */
/* 🏬 12. STORE QUICK NAVIGATION IN NAVBAR                                    */
/* ========================================================================== */
.store-quick-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 12px;
}

.store-nav-pill {
    padding: 6px 12px;
    border-radius: 20px;
    background: #FAF5E8;
    border: 1px solid #EBDCB9;
    color: #7A5F14;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.store-nav-pill:hover {
    background: #7A5F14;
    color: #FFFFFF;
    border-color: #7A5F14;
    transform: translateY(-1px);
}

/* ========================================================================== */
/* 📱 13. CONCISE MOBILE ORDERS & ESSENTIALS VIEW (< 768px)                   */
/* ========================================================================== */
.mobile-orders-container {
    display: none;
}

.mobile-charts-toggle-bar {
    display: none;
}

@media (max-width: 768px) {
    .hide-on-lg {
        display: block !important;
    }

    /* Hide heavy analytics charts by default on mobile */
    .app-charts-row, 
    #analyticsSection {
        display: none !important;
    }

    /* When toggled by user, reveal them */
    body.show-charts .app-charts-row {
        display: grid !important;
        margin-bottom: 20px;
    }

    body.show-charts #analyticsSection {
        display: block !important;
        margin-bottom: 20px;
    }

    /* Hide horizontal scrolling table on small phone */
    .app-table {
        display: none !important;
    }

    /* Show Mobile Cards Container */
    .mobile-orders-container {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding-top: 10px;
    }

    /* Clean Mobile Order Card */
    .mobile-order-card {
        background: #FFFFFF;
        border: 1.5px solid var(--border-color);
        border-radius: 16px;
        padding: 16px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
        display: flex;
        flex-direction: column;
        gap: 10px;
        transition: transform 0.2s ease;
    }

    .card-top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px dashed #e2e8f0;
        padding-bottom: 8px;
    }

    .card-order-id {
        font-family: 'JetBrains Mono', monospace;
        font-weight: 800;
        color: var(--primary);
        font-size: 13px;
    }

    .card-order-date {
        font-size: 11px;
        color: var(--text-muted);
    }

    .card-customer-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .card-customer-name {
        font-size: 15px;
        font-weight: 800;
        color: #0f172a;
    }

    .card-location {
        font-size: 13px;
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .card-product-row {
        background: #FDF9EE;
        border: 1px solid #F1E5C4;
        border-radius: 10px;
        padding: 8px 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .card-product-name {
        font-size: 13px;
        font-weight: 700;
        color: #3A302A;
    }

    .card-total-price {
        font-size: 16px;
        font-weight: 900;
        color: var(--emerald);
    }

    /* Fast Action Buttons on Mobile */
    .card-mobile-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 4px;
    }

    .btn-mobile-call {
        background: #2E7D32;
        color: #FFFFFF;
        text-decoration: none;
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        box-shadow: 0 4px 10px rgba(46, 125, 50, 0.2);
    }

    .btn-mobile-call:hover {
        background: #256628;
    }

    .btn-mobile-whatsapp {
        background: #25D366;
        color: #FFFFFF;
        text-decoration: none;
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
    }

    .btn-mobile-whatsapp:hover {
        background: #1ebc57;
    }

    .card-mobile-ops {
        margin-top: 2px;
    }

    .btn-mobile-ship {
        background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
        color: #FFFFFF;
        border: none;
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .btn-mobile-ship:hover {
        background: linear-gradient(135deg, #4338ca 0%, #312e81 100%);
        transform: translateY(-1px);
    }

    .btn-mobile-ship:active {
        transform: translateY(0);
    }

    .btn-mobile-delete {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        color: #FFFFFF;
        border: none;
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25);
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .btn-mobile-delete:hover {
        background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
        transform: translateY(-1px);
    }

    .btn-mobile-delete:active {
        transform: translateY(0);
    }

    .card-secondary-actions {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        padding-top: 6px;
        border-top: 1px solid #f1f5f9;
    }
}
