/* =====================================================
   CLM Core — Custom Overrides for AdminLTE 4 / Bootstrap 5
   ===================================================== */

/* ---- Brand Color Variables ---- */
:root {
    --clm-primary: var(--brand-navy);
    --clm-primary-dark: #001122;
    --clm-accent: var(--brand-gold);
    --clm-sidebar-bg: var(--brand-navy);
    --clm-bg-subtle: #f8fafc;

    /* Dashboard gradient palette — Navy & Gold refined */
    --gradient-primary: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    --gradient-success: linear-gradient(135deg, #059669 0%, #34d399 100%);
    --gradient-warning: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
    --gradient-info: linear-gradient(135deg, #0369a1 0%, #38bdf8 100%);
    --gradient-danger: linear-gradient(135deg, #be123c 0%, #fb7185 100%);

    /* Background overrides */
    --clm-navy-elite: var(--brand-navy);
    --clm-navy-dark: #000c1a;

    /* Chart accent colors — Coordinated with Navy/Gold */
    --chart-1: var(--brand-navy);
    --chart-2: var(--brand-gold);
    --chart-3: #10b981;
    --chart-4: #f59e0b;
    --chart-5: #e11d48;
    --chart-6: #0ea5e9;
}

.bg-navy-elite { background-color: var(--clm-navy-elite) !important; color: white !important; }
.bg-navy-dark { background-color: var(--clm-navy-dark) !important; color: white !important; }
.bg-navy-glass { background-color: rgba(0, 31, 63, 0.85) !important; backdrop-filter: blur(10px); }

/* Force dark theme for specific modals */
.modal-navy-elite .modal-content,
.modal-navy-elite .modal-body {
    background-color: var(--clm-navy-dark) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.modal-navy-elite .modal-header {
    background-color: var(--clm-navy-elite) !important;
    border-bottom: 2px solid var(--clm-accent) !important;
}

body {
    background-color: var(--clm-bg-subtle) !important;
    color: #334155;
    font-family: var(--brand-font-family);
}

body.theme-clm-navy-gold {
    --bs-primary: var(--brand-navy);
    --bs-primary-rgb: var(--brand-navy-rgb);
    --bs-link-color: #003366;
    --bs-link-hover-color: var(--brand-gold);
    --bs-body-bg: #f3f6fb;
    --bs-body-color: #1f334a;
    --bs-border-color: #dbe4ee;
    --bs-focus-ring-color: rgba(var(--brand-gold-rgb), 0.28);
}

body.theme-clm-navy-gold .app-main {
    background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}

body.theme-clm-navy-gold .card,
body.theme-clm-navy-gold .small-box,
body.theme-clm-navy-gold .info-box,
body.theme-clm-navy-gold .modal-content,
body.theme-clm-navy-gold .dropdown-menu {
    border: 1px solid #dde6f0;
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.08);
}

body.theme-clm-navy-gold .btn-primary {
    background-color: var(--clm-primary) !important;
    border-color: var(--clm-primary) !important;
    color: #fff !important;
}

body.theme-clm-navy-gold .btn-primary:hover,
body.theme-clm-navy-gold .btn-primary:focus {
    background-color: #002c59 !important;
    border-color: #002c59 !important;
}

body.theme-clm-navy-gold .btn-outline-primary {
    color: var(--clm-primary) !important;
    border-color: var(--clm-primary) !important;
}

body.theme-clm-navy-gold .btn-outline-primary:hover {
    color: #fff !important;
    background-color: var(--clm-primary) !important;
    border-color: var(--clm-primary) !important;
}

body.theme-clm-navy-gold .form-control:focus,
body.theme-clm-navy-gold .form-select:focus,
body.theme-clm-navy-gold .form-check-input:focus {
    border-color: var(--brand-gold);
    box-shadow: var(--brand-focus-ring);
}

body.theme-clm-navy-gold .page-link {
    color: var(--clm-primary);
}

body.theme-clm-navy-gold .page-item.active .page-link {
    background-color: var(--clm-primary);
    border-color: var(--clm-primary);
    color: #fff;
}

body.theme-clm-navy-gold .badge.text-bg-primary {
    background-color: var(--clm-primary) !important;
}

body.theme-clm-navy-gold .app-content-header {
    background: transparent !important;
    border-bottom: 1px solid #dce5ef;
    margin-bottom: 1rem;
}

body.theme-clm-navy-gold .app-content-header .breadcrumb-item,
body.theme-clm-navy-gold .app-content-header .breadcrumb-item a {
    color: #5b6f83 !important;
}

body.theme-clm-navy-gold .app-content-header .breadcrumb-item.active {
    color: #001f3f !important;
    font-weight: 700;
}

body.theme-clm-navy-gold .card {
    border-radius: 1rem !important;
    overflow: hidden;
}

body.theme-clm-navy-gold .card-header {
    background: linear-gradient(135deg, #f7fafd 0%, #edf3f9 100%) !important;
    border-bottom: 1px solid #dbe5ef !important;
    color: #0f2f4f !important;
}

body.theme-clm-navy-gold .card-title,
body.theme-clm-navy-gold .card-header h3,
body.theme-clm-navy-gold .card-header h4 {
    color: #0f2f4f !important;
    font-weight: 800 !important;
    letter-spacing: 0.01em;
}

body.theme-clm-navy-gold .table {
    --bs-table-bg: #ffffff;
    --bs-table-striped-bg: #f7fafd;
    --bs-table-striped-color: #1f334a;
    --bs-table-hover-bg: #fdf8ec;
    --bs-table-hover-color: #172a3d;
    color: #1f334a;
}

body.theme-clm-navy-gold .table thead th {
    color: #0f2f4f;
    font-weight: 800;
    border-bottom: 2px solid #d9e4ef;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.78rem;
}

body.theme-clm-navy-gold .table tbody td {
    border-bottom-color: #e6edf5;
}

body.theme-clm-navy-gold .form-label {
    color: #29435d;
    font-weight: 700;
}

body.theme-clm-navy-gold .form-control,
body.theme-clm-navy-gold .form-select,
body.theme-clm-navy-gold .input-group-text {
    border-color: #cfdbe8;
}

body.theme-clm-navy-gold .input-group-text {
    background: #f5f8fc;
    color: #3a5268;
}

body.theme-clm-navy-gold .nav-pills .nav-link.active,
body.theme-clm-navy-gold .nav-tabs .nav-link.active {
    background-color: #001f3f !important;
    border-color: #001f3f !important;
    color: #fff !important;
}

body.theme-clm-navy-gold .nav-tabs .nav-link {
    color: #385069;
}

body.theme-clm-navy-gold .progress {
    background-color: #e7edf4;
}

body.theme-clm-navy-gold .progress-bar {
    background: linear-gradient(135deg, #001f3f 0%, #003a73 100%);
}

body.theme-clm-navy-gold .btn-secondary {
    background-color: #eef3f8 !important;
    border-color: #d2dee9 !important;
    color: #28425b !important;
}

body.theme-clm-navy-gold .btn-secondary:hover {
    background-color: #e3ebf4 !important;
    border-color: #c3d2e2 !important;
    color: #1f334a !important;
}

body.theme-clm-navy-gold .btn-warning,
body.theme-clm-navy-gold .btn-gold,
body.theme-clm-navy-gold .btn-metallic-gold {
    background: linear-gradient(145deg, #c5a059, #b38d45) !important;
    border-color: #a5813e !important;
    color: #0f2f4f !important;
    font-weight: 800 !important;
}

body.theme-clm-navy-gold .btn-warning:hover,
body.theme-clm-navy-gold .btn-gold:hover,
body.theme-clm-navy-gold .btn-metallic-gold:hover {
    filter: brightness(1.05);
}

body.theme-clm-navy-gold .badge {
    font-weight: 700;
    letter-spacing: 0.02em;
}

body.theme-clm-navy-gold .alert-primary {
    background-color: #e9f0f8;
    border-color: #cddced;
    color: #153453;
}

body.theme-clm-navy-gold .dropdown-item:active,
body.theme-clm-navy-gold .dropdown-item.active {
    background-color: #001f3f;
    color: #fff;
}

/* ---- AdminLTE Brand Colour Override ---- */
.brand-link,
.brand-link:hover {
    color: #fff;
    text-decoration: none;
}

.brand-link .brand-image {
    font-size: 1.5rem;
    color: var(--clm-accent);
}

/* ---- Sidebar Active Link - Elite v3.5 Upgrade ---- */
.sidebar-menu .nav-link {
    border-radius: 0.75rem !important;
    margin: 0.15rem 0.75rem !important;
    padding: 0.65rem 1rem !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    border: 1px solid transparent !important;
}

.sidebar-menu .nav-link:hover {
    background-color: rgba(255,255,255,0.05) !important;
    color: white !important;
    transform: translateX(4px);
}

.sidebar-menu .nav-link.active {
    background: linear-gradient(135deg, #c5a059 0%, #b38d45 100%) !important;
    color: #001f3f !important;
    font-weight: 900 !important;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}

.sidebar-menu .nav-link.active .nav-icon {
    color: #001f3f !important;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.2));
}

/* ---- Sidebar Section Headers ---- */
.nav-header {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    padding: 1rem 1rem 0.25rem 1rem;
}

/* ---- Custom Scrollbar (sidebar) ---- */
.sidebar-wrapper::-webkit-scrollbar { width: 4px; }
.sidebar-wrapper::-webkit-scrollbar-track { background: transparent; }
.sidebar-wrapper::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }
.sidebar-wrapper::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ---- Gauge ring (dashboard SVG animation) ---- */
.gauge-ring {
    transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Progress bar animation ---- */
.progress-animated {
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Fade slide-up entrance ---- */
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-slide-up {
    animation: fadeSlideUp 0.5s ease-out both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ---- Pulse glow ---- */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.3); }
    50%       { box-shadow: 0 0 20px 4px rgba(197, 160, 89, 0.15); }
}

.pulse-glow { animation: pulseGlow 3s ease-in-out infinite; }

/* ---- Float animation ---- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-5px); }
}

.animate-float { animation: float 3s ease-in-out infinite; }

/* ---- Hover utilities missing from Bootstrap 5 ---- */
.hover-bg-light:hover { background-color: #f8f9fa !important; }
.hover-text-primary:hover { color: var(--clm-primary) !important; }
.cursor-pointer { cursor: pointer; }

/* ---- Custom card gradient splash ---- */
.card-gradient-primary  { background: var(--gradient-primary) !important; color: #fff; }
.card-gradient-success  { background: var(--gradient-success) !important; color: #fff; }
.card-gradient-warning  { background: var(--gradient-warning) !important; color: #fff; }
.card-gradient-info     { background: var(--gradient-info) !important; color: #fff; }
.card-gradient-danger   { background: var(--gradient-danger) !important; color: #fff; }

/* ---- Modal custom scrollbar ---- */
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb { background: rgba(15,23,42,0.1); border-radius: 10px; }
.modal-body::-webkit-scrollbar-thumb:hover { background: rgba(15,23,42,0.2); }

/* ---- Table utilities ---- */
.table-hover-row tbody tr { cursor: pointer; }
.table-compact th,
.table-compact td { padding: 0.4rem 0.75rem; font-size: 0.83rem; }

/* ---- Badge / nav-badge ---- */
.nav-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 50rem;
    margin-left: auto;
    background-color: #e11d48 !important; /* Urgent Red standard */
    color: white !important;
}

.nav-badge-accent {
    background-color: var(--clm-accent) !important;
    color: var(--clm-primary) !important;
}

/* =====================================================
   ELITE DESIGN SYSTEM v3.5 (Global Utilities)
   ===================================================== */

.clm-dot-mesh-bg {
    background-color: #f8fafc;
    background-image: radial-gradient(rgba(0, 31, 63, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center;
}

.rounded-elite {
    border-radius: 2rem !important;
}

.shadow-elite {
    box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.3), 0 20px 40px -10px rgba(0, 31, 63, 0.15) !important;
}

.text-elite-label {
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    font-size: 0.65rem !important;
    opacity: 0.7;
}

.glass-icon-v3 {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 1rem !important;
}

/* Elite Modal Header (Dark Navy / Gold) */
.modal-header-elite {
    background: linear-gradient(135deg, #001f3f 0%, #000c1a 100%) !important;
    color: white !important;
    border-bottom: 2px solid var(--clm-accent) !important;
    padding: 1.25rem 1.75rem !important;
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
    position: relative;
    overflow: hidden;
}

/* One Design - Header Icon Standard */
.clm-icon-box-elite {
    width: 48px;
    height: 48px;
    background: #001f3f !important;
    color: #c5a059 !important;
    border: 1px solid rgba(197, 160, 89, 0.3) !important;
    border-radius: 12px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.modal-header-elite::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.15); /* Top bevel light */
}

.modal-header-elite .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%); /* Make close button white */
}

/* Sophisticated Elite Status Badges (Muted Tones) */
.badge-elite-success {
    background-color: rgba(16, 185, 129, 0.08) !important;
    color: #065f46 !important; /* Muted Emerald */
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.85rem !important;
}

.badge-elite-danger {
    background-color: rgba(225, 29, 72, 0.08) !important;
    color: #9f1239 !important; /* Muted Ruby */
    border: 1px solid rgba(225, 29, 72, 0.2) !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.85rem !important;
}

/* Universal Table Utility */
.clm-table-elite {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.clm-table-elite thead th {
    background: #001f3f !important;
    color: #c5a059 !important; /* Gold text */
    font-weight: 900 !important;
    text-transform: uppercase !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.15em !important;
    padding: 1.25rem 1.5rem !important;
    border: none !important;
}

.clm-table-elite tbody td {
    padding: 1.25rem 1.5rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    vertical-align: middle;
}

.clm-table-elite tbody tr:hover {
    background-color: rgba(0, 31, 63, 0.02) !important;
    transition: all 0.2s ease;
}

/* Glass Pill Search Box */
.clm-search-pill {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 50rem !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease !important;
}

.clm-search-pill:focus-within {
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.1) !important;
    border-color: var(--clm-accent) !important;
}

/* ---- ApexCharts font override ---- */
.apexcharts-text {
    font-family: ui-sans-serif, system-ui, sans-serif !important;
    font-weight: 600 !important;
    fill: #64748b !important;
}

/* =====================================================
   BLAZOR STANDARD UI
   ===================================================== */
#blazor-error-ui {
    background: #e53e3e;
    color: #fff;
    bottom: 0;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem;
    position: fixed;
    width: 100%;
    z-index: 9999;
    font-weight: 700;
    font-size: 0.85rem;
}

#blazor-error-ui .reload { margin-left: 0.5rem; color: #fff; text-decoration: underline; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }

/* ---- Loading progress ring ---- */
.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 0.6rem;
    stroke-dasharray: calc(3.14159 * 2 * 40%);
    stroke-dashoffset: 0;
}

.loading-progress circle:last-child {
    stroke: var(--clm-primary);
    stroke-dashoffset: calc(3.14159 * 2 * 40% * (1 - var(--blazor-load-percentage, 0%)));
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0;
}

.loading-progress-text::after {
    content: var(--blazor-load-percentage-text, "Loading...");
}

/* =====================================================
   PREMIUM UI ENHANCEMENTS (Navy & Gold)
   ===================================================== */

:root {
    --clm-card-bg: rgba(255, 255, 255, 0.95);
    --clm-glow: 0 0 20px rgba(197, 160, 89, 0.2);
}

.app-header-dark {
    background-color: var(--clm-primary) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.app-header-dark .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

.app-header-dark .nav-link:hover {
    color: var(--clm-accent) !important;
}

.app-header-dark .user-menu .clm-user-toggle {
    max-width: min(38vw, 340px);
}

.app-header-dark .user-menu .clm-user-meta {
    min-width: 0;
    max-width: min(28vw, 220px);
}

.app-header-dark .user-menu .clm-user-name,
.app-header-dark .user-menu .clm-user-role {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 991.98px) {
    .app-header-dark .user-menu .clm-user-meta {
        max-width: 160px;
    }
}

.elite-card {
    background: var(--clm-card-bg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1.25rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.elite-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.12) !important;
    border-color: var(--clm-accent) !important;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.premium-gradient-bg {
    background: radial-gradient(circle at top right, #001f3f, #001122);
}

.light-premium-bg {
    background: radial-gradient(circle at center, #f8fafc 0%, #e2e8f0 100%);
}

.text-gold {
    color: var(--clm-accent) !important;
}

.btn-gold {
    background-color: var(--clm-accent) !important;
    color: var(--clm-primary) !important;
    font-weight: 700;
    border: none;
    box-shadow: var(--clm-glow);
}

.btn-gold:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.active-scale:active {
    transform: scale(0.97);
}

/* =====================================================
   PREMIUM SIDEBAR & STATUS ACCENTS
   ===================================================== */

.clm-sidebar-premium {
    background: linear-gradient(180deg, #001f3f 0%, #000c1a 100%) !important;
    border-right: 1px solid rgba(197, 160, 89, 0.1) !important;
    z-index: 1045 !important;
}

.sidebar-overlay {
    z-index: 1040 !important;
}

.bg-emerald-soft {
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

.bg-emerald-soft:hover, .btn-check:checked + .bg-emerald-soft {
    background-color: #10b981 !important;
    color: white !important;
}

.bg-amber-soft {
    background-color: rgba(245, 158, 11, 0.1) !important;
    color: #f59e0b !important;
    border: 1px solid rgba(245, 158, 11, 0.2) !important;
}

.bg-amber-soft:hover, .btn-check:checked + .bg-amber-soft {
    background-color: #f59e0b !important;
    color: white !important;
}

.bg-indigo-soft {
    background-color: rgba(99, 102, 241, 0.1) !important;
    color: #6366f1 !important;
    border: 1px solid rgba(99, 102, 241, 0.2) !important;
}

.bg-indigo-soft:hover, .btn-check:checked + .bg-indigo-soft {
    background-color: #6366f1 !important;
    color: white !important;
}

.bg-royal-soft {
    background-color: rgba(139, 92, 246, 0.1) !important;
    color: #8b5cf6 !important;
    border: 1px solid rgba(139, 92, 246, 0.2) !important;
}

.bg-royal-soft:hover, .btn-check:checked + .bg-royal-soft {
    background-color: #8b5cf6 !important;
    color: white !important;
}

.btn-metallic-gold {
    background: linear-gradient(145deg, #c5a059, #b38d45) !important;
    color: #001f3f !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    font-weight: 900 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-metallic-gold:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
    transform: translateY(-1px);
}

/* =====================================================
   GLOBAL PREMIUM UI STANDARDIZATION
   ===================================================== */

.clm-table-premium thead {
    background-color: var(--clm-primary-dark) !important;
    border-bottom: 2px solid var(--clm-accent) !important;
}

.clm-table-premium thead th {
    color: var(--clm-accent) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-size: 0.75rem !important;
    padding: 1.25rem 1rem !important;
}

.clm-table-premium tbody tr {
    transition: all 0.2s ease !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03) !important;
}

.clm-table-premium tbody tr:hover {
    background-color: rgba(197, 160, 89, 0.05) !important;
    transform: scale(1.002);
}

.clm-table-premium tbody td {
    padding: 1rem !important;
    vertical-align: middle !important;
}

/* Page Header Standardization */
.clm-page-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 2.25rem;
    padding-bottom: 1.5rem;
}

.clm-page-title {
    font-weight: 950 !important;
    letter-spacing: -1.75px !important;
    text-transform: uppercase !important;
    font-size: 2.25rem !important;
    color: var(--clm-primary) !important;
    line-height: 1;
}

.btn-navy-elite {
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 5px 15px rgba(0, 31, 63, 0.2) !important;
}

.btn-navy-elite:hover {
    filter: brightness(1.2);
    transform: translateY(-1px);
    color: var(--clm-accent) !important;
}

/* Standardized Status Badges */
.badge-premium {
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    font-size: 0.65rem !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 50rem !important;
}

.badge-emerald {
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

.badge-ruby {
    background-color: rgba(225, 29, 72, 0.1) !important;
    color: #e11d48 !important;
    border: 1px solid rgba(225, 29, 72, 0.2) !important;
}

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

/* Animations Consolidatied */
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.animate-zoom-in {
    animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.custom-modal-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-modal-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-modal-scrollbar::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.order-intel-modal-body {
    max-height: min(82vh, 860px);
}

.order-intel-modal .card-body {
    padding: 0.85rem !important;
}

.order-intel-modal .card h6,
.order-intel-modal .card p {
    margin-bottom: 0.4rem;
}
/* DROPDOWN & POS REFINEMENTS */

.clm-dropdown-premium {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 1rem !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden;
}

.clm-user-header-premium {
    background: linear-gradient(135deg, #001f3f 0%, #002d5b 100%) !important;
    padding: 2rem 1.5rem !important;
}

.btn-signout {
    background: transparent !important;
    border: 2px solid #e11d48 !important;
    color: #e11d48 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border-radius: 50rem !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.btn-signout:hover {
    background: #e11d48 !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(225, 29, 72, 0.3) !important;
}

.clm-pos-product-card {
    background: #ffffff !important;
    border-radius: 1.75rem !important; /* "More Round" */
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.clm-pos-product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.08) !important;
    border-color: var(--clm-accent) !important;
}

.clm-pos-card-img-wrapper {
    background-color: #f1f5f9 !important; /* Tinted background for the image section */
    border-radius: 1.25rem !important;
    margin: 0.5rem !important;
    aspect-ratio: 1/1 !important;
}

/* DASHBOARD KPI PREMIUM REVISIONS v3.0 (Solid Vibrant + Reflected Shadows) */
.clm-dashboard-mesh {
    background-color: #f8fafc; /* Even lighter for more contrast with vibrant cards */
    background-image: 
        radial-gradient(rgba(0, 31, 63, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center;
}

.clm-card-v3 {
    border: none !important;
    border-radius: 2.25rem !important;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: #001f3f !important; /* Base fallback */
    color: white !important;
}

/* Vibrant System Gradients - Re-enforced Opaque */
.v3-gradient-navy { background: linear-gradient(135deg, #001f3f 0%, #003366 100%) !important; }
.v3-gradient-gold { background: linear-gradient(135deg, #c5a059 0%, #b38d45 100%) !important; }
.v3-gradient-emerald { background: linear-gradient(135deg, #059669 0%, #065f46 100%) !important; }
.v3-gradient-amber { background: linear-gradient(135deg, #d97706 0%, #92400e 100%) !important; }
.v3-gradient-royal { background: linear-gradient(135deg, #3730a3 0%, #1e1b4b 100%) !important; }

/* Reflected Shadows - Increased strength */
.shadow-reflected-gold { box-shadow: 0 25px 60px -12px rgba(197, 160, 89, 0.4) !important; }
.shadow-reflected-amber { box-shadow: 0 25px 60px -12px rgba(245, 158, 11, 0.4) !important; }
.shadow-reflected-emerald { box-shadow: 0 25px 60px -12px rgba(16, 185, 129, 0.4) !important; }
.shadow-reflected-royal { box-shadow: 0 25px 60px -12px rgba(99, 102, 241, 0.4) !important; }
.shadow-reflected-navy { box-shadow: 0 25px 60px -12px rgba(0, 31, 63, 0.35) !important; }

.clm-card-v3:hover {
    transform: translateY(-8px) scale(1.01);
}

/* Subtle Shine Overlay */
.clm-card-v3::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
    pointer-events: none;
}

/* Continuous Floating Animation */
@keyframes floatConstant {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-floating {
    animation: floatConstant 6s ease-in-out infinite;
}

.clm-stat-icon-glow-v3 {
    text-shadow: 0 0 30px rgba(255,255,255,0.4);
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
}

.clm-glass-standard {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

@keyframes v3Pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
    50% { transform: scale(1.04); box-shadow: 0 0 60px 20px rgba(255, 255, 255, 0.15); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
}

.clm-stat-v3-pulse {
    animation: v3Pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

/* Component styles migrated from Razor files. */

/* Components/AssetTimeline.razor */
.border-purple { border-color: #6f42c1 !important; }
    .text-purple { color: #6f42c1 !important; }

/* Components/Dashboard/RecentInteractions.razor */
.custom-hover-action:hover .custom-avatar {
        background-color: var(--bs-primary) !important;
        color: white !important;
    }

/* Components/Dashboard/StatCard.razor */
.hover-translate-y:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    }

/* Components/Dashboard/TopProductsTable.razor */
.bg-orange-subtle { background-color: rgba(253, 126, 20, 0.2); }
    .bg-orange { background-color: #fd7e14; }

/* Components/Shared/NotificationOverlay.razor */
.bg-emerald { background: linear-gradient(135deg, #059669 0%, #10b981 100%); }
    .bg-ruby { background: linear-gradient(135deg, #be123c 0%, #fb7185 100%); }
    .bg-amber { background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%); }

    .animate-fade-slide-in {
        animation: toastIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    }

    @@keyframes toastIn {
        from { opacity: 0; transform: translateX(30px); }
        to { opacity: 1; transform: translateX(0); }
    }

    .hover-opacity-100:hover {
        opacity: 1 !important;
    }
    
    .shadow-2xl {
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
    }

/* Pages/AdminManagement.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #212529, #495057);
    }
    
    .custom-card-hover {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .custom-card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,.08) !important;
    }
    
    .custom-table-row:hover {
        background-color: #f8f9fc !important;
    }
    
    .sticky-column {
        position: sticky;
        left: 0;
        z-index: 5;
    }
    
    .custom-permission-toggle:hover {
        transform: scale(1.1);
        opacity: 1 !important;
    }
    
    .custom-icon-box {
        transition: background-color 0.2s ease;
    }
    .group:hover .custom-icon-box {
        background-color: rgba(0,0,0,0.05) !important;
    }
    
    .animate-fade-in {
        animation: fadeIn 0.4s ease forwards;
    }
    @@keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* Role Backgrounds */
    .role-bg-admin { background: linear-gradient(135deg, #dc3545, #e83e8c); color: white; }
    .role-bg-manager { background: linear-gradient(135deg, #6f42c1, #a461d8); color: white; }
    .role-bg-sales { background: linear-gradient(135deg, #0d6efd, #0dcaf0); color: white; }
    .role-bg-service { background: linear-gradient(135deg, #fd7e14, #ffc107); color: white; }
    .role-bg-finance { background: linear-gradient(135deg, #198754, #20c997); color: white; }
    .role-bg-driver { background: linear-gradient(135deg, #0dcaf0, #adb5bd); color: dark; }

    /* Role Progress Bars */
    .role-bar-admin { background-color: #dc3545 !important; }
    .role-bar-manager { background-color: #6f42c1 !important; }
    .role-bar-sales { background-color: #0d6efd !important; }
    .role-bar-service { background-color: #fd7e14 !important; }
    .role-bar-finance { background-color: #198754 !important; }
    .role-bar-driver { background-color: #0dcaf0 !important; }

/* Pages/AuditLogViewer.razor */
.custom-table-row:hover {
        background-color: #f8f9fc !important;
    }
    
    .custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/BulkSmsCampaign.razor */
.bulk-header-icon {
        background: linear-gradient(135deg, #198754, #0f5132);
    }

    .bulk-stat-card {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        padding: 1rem 1.1rem;
        background: #f8f9fa;
        border-radius: 1rem;
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    .bulk-stat-label {
        font-size: 0.65rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #6c757d;
    }

    .bulk-stat-value {
        font-size: 1.25rem;
        font-weight: 800;
        color: #212529;
    }

    .bulk-batch {
        font-size: 0.85rem;
        word-break: break-all;
    }

    .animate-fade-slide-up {
        animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/CompanyDetails.razor */
.custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .custom-tabs {
        .nav-link {
            position: relative;
            &::after {
                content: '';
                position: absolute;
                bottom: -1px;
                left: 0;
                width: 100%;
                height: 2px;
                background-color: var(--bs-primary);
                transform: scaleX(0);
                transition: transform 0.2s ease;
            }
            &.active {
                color: var(--bs-primary) !important;
                &::after {
                    transform: scaleX(1);
                }
            }
        }
    }
    
    .hover-text-primary:hover {
        color: var(--bs-primary) !important;
    }

    .hover-border-secondary:hover {
        border-color: var(--bs-secondary) !important;
    }
    
    .hover-border-primary:hover {
        border-color: rgba(13, 110, 253, 0.25) !important;
    }
    .hover-bg-primary-light:hover {
        background-color: rgba(13, 110, 253, 0.05) !important;
    }
    
    .hover-border-purple:hover {
        border-color: rgba(111, 66, 193, 0.25) !important;
    }
    .hover-bg-purple-light:hover {
        background-color: rgba(111, 66, 193, 0.05) !important;
    }
    
    .hover-text-dark:hover {
        color: var(--bs-dark) !important;
    }
    
    .custom-group-hover-show {
        opacity: 0;
        transition: opacity 0.2s;
    }
    .custom-hover-group:hover .custom-group-hover-show {
        opacity: 1;
    }
    
    .custom-icon-btn:hover {
        background-color: rgba(220, 53, 69, 0.1) !important;
    }
    
    .cursor-pointer {
        cursor: pointer;
    }
    
    .animate-fade-in {
        animation: fadeIn 0.4s ease forwards;
    }
    @@keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/CompanyManagement.razor */
.custom-table th {
        font-weight: 800;
    }
    
    .custom-tr {
        transition: background-color 0.2s ease;
    }
    .custom-tr:hover {
        background-color: rgba(0, 0, 0, 0.03) !important;
    }
    
    .custom-active-scale:active {
        transform: scale(0.96);
    }
    
    .custom-avatar-transition {
        transition: transform 0.2s ease;
    }
    .custom-tr:hover .custom-avatar-transition {
        transform: scale(1.1);
    }
    
    .custom-icon-btn {
        transition: all 0.2s ease;
    }
    .custom-icon-btn:hover {
        background-color: rgba(0, 0, 0, 0.05) !important;
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/Counter.razor */
.custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/CouponSettings.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #6f42c1, #4e2a84);
    }
    .custom-btn-primary {
        background: linear-gradient(135deg, #6f42c1, #4e2a84) !important;
        border: none !important;
    }
    
    .custom-focus-primary:focus {
        box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.2) !important;
    }
    
    .custom-progress-bar {
        background-color: #6f42c1 !important;
    }
    
    .hover-primary {
        transition: all 0.2s ease;
    }
    .hover-primary:hover {
        background-color: rgba(111, 66, 193, 0.1) !important;
        color: #6f42c1 !important;
        border-color: rgba(111, 66, 193, 0.2) !important;
    }
    
    .hover-danger {
        transition: all 0.2s ease;
    }
    .hover-danger:hover {
        background-color: rgba(220, 53, 69, 0.1) !important;
        color: #dc3545 !important;
        border-color: rgba(220, 53, 69, 0.2) !important;
    }
    
    .custom-table-row:hover {
        background-color: #f8f9fc !important;
    }
    
    .custom-active-scale:active:not(:disabled) {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .flex-grow-2 {
        flex-grow: 2 !important;
    }

    /* Custom Switch */
    .custom-switch-primary .form-check-input:checked {
        background-color: #6f42c1;
        border-color: #6f42c1;
    }
    .custom-switch-primary .form-check-input:focus {
        box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.25);
    }

/* Pages/CustomerDashboard.razor */
.bg-indigo {
        background-color: #6610f2;
    }

    .hero-card {
        border-radius: 2.5rem;
    }

    .custom-table th {
        font-weight: 800;
    }
    
    .custom-tr {
        transition: background-color 0.2s ease;
    }
    .custom-tr:hover {
        background-color: rgba(0, 0, 0, 0.02) !important;
    }
    
    .custom-active-scale {
        transition: transform 0.1s ease;
    }
    .custom-active-scale:active {
        transform: scale(0.96);
    }
    
    .nav-link-hover {
        position: relative;
    }
    .nav-link-hover::after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 2px;
        bottom: -4px;
        left: 0;
        background-color: #0d6efd;
        transform-origin: bottom right;
        transition: transform 0.25s ease-out;
    }
    .nav-link-hover:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }
    .nav-link-hover:hover {
        color: #0d6efd !important;
    }
    
    .animate-fade-in {
        animation: fadeIn 0.4s ease forwards;
    }
    
    @@keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/CustomerMasterData.razor */
.custom-table th {
        font-weight: 800;
    }
    
    .custom-tr {
        transition: background-color 0.2s ease;
    }
    .custom-tr:hover {
        background-color: rgba(0, 0, 0, 0.02) !important;
    }
    
    .custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .focus-ring-primary:focus {
        border-color: #0d6efd !important;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1) !important;
    }

    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/CustomerPointsInfoPage.razor */
.custom-hover-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
    }
    .custom-bg-blob {
        transition: transform 0.8s ease;
    }
    .custom-hover-card:hover .custom-bg-blob {
        transform: translate(30%, -30%) scale(1.15) !important;
    }
    
    .hover-text-primary {
        transition: color 0.2s ease;
    }
    .hover-text-primary:hover {
        color: var(--bs-primary) !important;
    }
    
    .custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/DriverDashboard.razor */
.custom-btn-primary {
        background: linear-gradient(135deg, #0d6efd, #0dcaf0) !important;
        border: none !important;
    }
    
    .custom-focus-primary:focus {
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.2) !important;
        border-color: rgba(13, 110, 253, 0.5) !important;
    }

    .custom-otp-input:focus {
        border-color: #0d6efd !important;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1) !important;
        background-color: #fff !important;
    }

    .custom-delivery-card:active {
        background-color: #f8f9fc !important;
    }

    .custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .flex-grow-2 {
        flex-grow: 2 !important;
    }

/* Pages/DriverPortal.razor */
.portal-title {
        color: #0a2f5f !important;
    }

    .portal-subtitle {
        color: #5f6f83 !important;
    }

    .portal-accent {
        color: #b9934b !important;
    }

    .portal-surface {
        background-color: #f3f6fa !important;
    }

    .portal-count-badge {
        background: #f3f6fa;
        color: #5f6f83;
    }

    .portal-border-accent {
        border-color: rgba(185, 147, 75, 0.35) !important;
    }

    .btn-portal-primary {
        background: linear-gradient(135deg, #0a2f5f, #103f7a);
        border-color: #0a2f5f;
        color: #fff;
    }

    .btn-portal-primary:hover,
    .btn-portal-primary:focus {
        background: linear-gradient(135deg, #08274f, #0d3568);
        border-color: #08274f;
        color: #fff;
    }

    .portal-stat-card {
        color: #fff;
    }

    .portal-stat-navy {
        background: linear-gradient(135deg, #0a2f5f, #103f7a);
    }

    .portal-stat-gold {
        background: linear-gradient(135deg, #c7a765, #a98137);
    }

    .portal-stat-critical {
        background: linear-gradient(135deg, #dc3545, #b02a37);
    }

    .custom-stat-card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .custom-stat-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    }

    .custom-hover-bg {
        transition: background-color 0.2s ease;
    }
    .custom-hover-bg:hover {
        background-color: rgba(16, 63, 122, 0.06) !important;
    }

    .delivery-status-badge {
        border-width: 1px;
        border-style: solid;
    }

    .delivery-status-badge.status-progress {
        color: #0a2f5f;
        background-color: rgba(10, 47, 95, 0.08);
        border-color: rgba(10, 47, 95, 0.24);
    }

    .delivery-status-badge.status-pending {
        color: #8b6a2d;
        background-color: rgba(185, 147, 75, 0.16);
        border-color: rgba(185, 147, 75, 0.45);
    }

    .delivery-status-badge.status-unassigned {
        color: #697484;
        background-color: rgba(111, 122, 136, 0.12);
        border-color: rgba(111, 122, 136, 0.3);
    }

    .delivery-status-badge.status-completed {
        color: #0d3a73;
        background-color: rgba(16, 63, 122, 0.08);
        border-color: rgba(16, 63, 122, 0.24);
    }

    .delivery-status-badge.status-failed {
        color: #b02a37;
        background-color: rgba(220, 53, 69, 0.12);
        border-color: rgba(220, 53, 69, 0.3);
    }

    .portal-link-arrow {
        color: #0a2f5f;
    }

    .portal-input-otp {
        border-color: rgba(16, 63, 122, 0.35);
        color: #0a2f5f;
        background-color: rgba(16, 63, 122, 0.06);
    }
    
    .custom-active-scale:active {
        transform: scale(0.96);
    }
    
    .cursor-pointer {
        cursor: pointer;
    }
    
    .hide-spinners::-webkit-outer-spin-button,
    .hide-spinners::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    .max-h-64 {
        max-height: 16rem;
    }
    
    .custom-scrollbar::-webkit-scrollbar {
        width: 6px;
    }
    .custom-scrollbar::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    .custom-scrollbar::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 4px;
    }
    .custom-scrollbar::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .custom-detail-header {
        position: relative;
        overflow: hidden;
    }
    .custom-detail-header::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 150px;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1));
        transform: skewX(-20deg) translateX(50px);
    }

/* Pages/FeedbackDashboard.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #0dcaf0, #0d6efd);
    }
    
    .border-md-end {
        @@media (min-width: 768px) {
            border-right: 1px solid rgba(0,0,0,.1) !important;
        }
    }

    .custom-feedback-card:hover {
        transform: translateY(-5px);
        border-color: rgba(13, 110, 253, 0.2) !important;
        box-shadow: 0 1rem 3rem rgba(13, 110, 253, 0.075) !important;
    }

    .custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/JobCardEditor.razor */
.custom-grad-bg {
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    }

    .custom-table th {
        font-weight: 800;
    }
    
    .custom-tr {
        transition: background-color 0.2s ease;
    }
    .custom-tr:hover {
        background-color: rgba(0, 0, 0, 0.02) !important;
    }
    
    .custom-hover {
        transition: all 0.2s ease;
        background-color: white !important;
    }
    .custom-hover:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.05) !important;
    }
    
    .hover-danger:hover {
        background-color: #dc3545 !important;
        color: white !important;
    }
    
    .custom-active-scale:active {
        transform: scale(0.96);
    }
    
    .cursor-pointer {
        cursor: pointer;
    }
    
    .hide-spinners::-webkit-outer-spin-button,
    .hide-spinners::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/LoyaltyAdminDashboard.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #4f46e5, #818cf8);
    }
    
    .custom-kpi-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 1rem 3rem rgba(13, 110, 253, 0.05) !important;
    }
    
    .custom-kpi-blob-1 { width: 100px; height: 100px; background: rgba(79, 70, 229, 0.05); border-radius: 50%; right: -30px; top: -30px; position: absolute; }
    .custom-kpi-blob-2 { width: 100px; height: 100px; background: rgba(16, 185, 129, 0.05); border-radius: 50%; right: -30px; top: -30px; position: absolute; }
    .custom-kpi-blob-3 { width: 100px; height: 100px; background: rgba(245, 158, 11, 0.05); border-radius: 50%; right: -30px; top: -30px; position: absolute; }
    
    .custom-kpi-dark {
        background: linear-gradient(135deg, #0f172a, #1e293b) !important;
    }
    .custom-kpi-dark:hover {
        transform: scale(1.02);
        box-shadow: 0 1rem 3rem rgba(0,0,0,0.2) !important;
    }
    .custom-kpi-blob-dark { width: 150px; height: 150px; background: rgba(255, 255, 255, 0.03); border-radius: 50%; right: -50px; bottom: -50px; position: absolute; filter: blur(20px); }

    .custom-focus-ring:focus {
        background-color: #fff !important;
        box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.1) !important;
    }

    .custom-table-row:hover {
        background-color: #f8fafc !important;
    }
    
    .custom-activity-item:hover {
        transform: translateX(5px);
    }

    .custom-history-card:hover {
        background-color: #fff !important;
        border-color: #e2e8f0 !important;
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.02) !important;
    }

    .custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/LoyaltyAnalyticsDashboard.razor */
.custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .hover-bg-primary {
        transition: all 0.3s ease;
    }
    .hover-bg-primary:hover {
        background-color: var(--bs-primary) !important;
    }
    .hover-text-white:hover {
        color: white !important;
    }
    
    .custom-stat-card {
        transition: transform 0.4s ease, box-shadow 0.4s ease;
    }
    .custom-stat-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 1.5rem 4rem rgba(0,0,0,0.08) !important;
    }
    .custom-stat-card:hover .custom-stat-bg {
        transform: scale(1.2);
    }
    
    .custom-stat-bg {
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .spin-animation {
        animation: spin 1s linear infinite;
    }
    @@keyframes spin {
        100% { transform: rotate(360deg); }
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/LoyaltyExpiryLogs.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #6f42c1, #4e2a84);
    }
    .custom-btn-primary {
        background: linear-gradient(135deg, #6f42c1, #4e2a84) !important;
        border: none !important;
    }
    .custom-btn-warning {
        background: linear-gradient(135deg, #fd7e14, #ffc107) !important;
        border: none !important;
    }
    .custom-spinner {
        color: #6f42c1 !important;
    }
    
    .custom-glass-nav {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .hover-light:hover {
        background-color: white !important;
        color: #6c757d !important;
    }
    
    .hover-danger-light:hover {
        background-color: rgba(220, 53, 69, 0.1) !important;
        color: #dc3545 !important;
    }
    
    .hover-danger {
        transition: all 0.2s ease;
    }
    .hover-danger:hover {
        background-color: #dc3545 !important;
        color: white !important;
    }
    
    .custom-table-row:hover {
        background-color: #f8f9fc !important;
    }
    
    .custom-table-row-danger:hover {
        background-color: rgba(220, 53, 69, 0.05) !important;
    }
    
    .custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-bounce {
        animation: bounce 1s infinite;
    }
    @@keyframes bounce {
        0%, 100% { transform: translateY(-25%) translateX(50%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
        50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .text-truncate-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

/* Pages/LoyaltyPlanDetails.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #6f42c1, #4e2a84);
    }
    .custom-btn-primary {
        background: linear-gradient(135deg, #6f42c1, #4e2a84) !important;
        border: none !important;
    }
    
    .custom-back-btn:hover i {
        transform: translateX(-4px);
    }
    
    .hover-bg-success:hover {
        background-color: #198754 !important;
        color: white !important;
    }

    .hover-primary {
        transition: all 0.2s ease;
    }
    .hover-primary:hover {
        background-color: #f8f9fc !important;
        color: #6f42c1 !important;
        border-color: rgba(111, 66, 193, 0.2) !important;
    }
    .hover-danger {
        transition: all 0.2s ease;
    }
    .hover-danger:hover {
        background-color: #f8f9fc !important;
        color: #dc3545 !important;
        border-color: rgba(220, 53, 69, 0.2) !important;
    }
    
    .custom-table-row:hover {
        background-color: #f8f9fc !important;
    }
    
    .custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .custom-switch-primary .form-check-input:checked {
        background-color: #6f42c1;
        border-color: #6f42c1;
    }
    .custom-switch-success .form-check-input:checked {
        background-color: #198754;
        border-color: #198754;
    }
    .custom-switch-danger .form-check-input:checked {
        background-color: #dc3545;
        border-color: #dc3545;
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .flex-grow-2 {
        flex-grow: 2 !important;
    }
    .grayscale {
        filter: grayscale(100%);
    }

/* Pages/LoyaltyPointsDetail.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #6f42c1, #4e2a84);
    }
    .custom-indicator {
        background-color: #6f42c1;
    }
    
    .custom-back-btn:hover i {
        transform: translateX(-4px);
    }
    
    .custom-profile-card {
        background-color: #212529; /* Dark background */
    }
    .custom-glow-primary {
        background: rgba(111, 66, 193, 0.1);
        filter: blur(100px);
        z-index: 0;
    }
    .custom-glow-secondary {
        background: rgba(13, 110, 253, 0.05); /* Using bootstrap primary blue visually */
        filter: blur(80px);
        z-index: 0;
    }
    .custom-avatar-glass {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .custom-stat-glass {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .custom-table-row:hover {
        background-color: #f8f9fc !important;
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* Utility for line clamping not available in BS5 utilities */
    .text-truncate-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

/* Pages/LoyaltyReports.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #198754, #146c43);
    }
    .custom-btn-success {
        background: linear-gradient(135deg, #198754, #146c43) !important;
        border: none !important;
    }
    .custom-btn-success:hover:not(:disabled) {
        box-shadow: 0 0.5rem 1rem rgba(25, 135, 84, 0.3) !important;
    }
    
    .custom-focus-success:focus {
        box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.2) !important;
        border-color: rgba(25, 135, 84, 0.5) !important;
    }
    
    .custom-export-container:hover .custom-export-decoration {
        transform: scale(1.5);
    }
    .custom-export-container:hover .custom-export-icon {
        box-shadow: 0 0.5rem 1rem rgba(25, 135, 84, 0.2) !important;
    }
    
    .custom-export-decoration {
        width: 160px;
        height: 160px;
        top: -60px;
        right: -60px;
        transition: transform 1s ease;
    }
    
    .custom-export-icon {
        transition: all 0.5s ease;
    }
    
    .custom-active-scale:active:not(:disabled) {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/LoyaltyTransfers.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #6f42c1, #4e2a84);
    }
    .custom-btn-primary {
        background: linear-gradient(135deg, #6f42c1, #4e2a84) !important;
        border: none !important;
    }
    .custom-indicator {
        background-color: #6f42c1;
    }
    .custom-spinner {
        color: #6f42c1 !important;
    }
    
    .custom-glow-primary {
        background: rgba(111, 66, 193, 0.4);
        filter: blur(80px);
    }
    .custom-glow-success {
        background: rgba(25, 135, 84, 0.4);
        filter: blur(80px);
    }
    
    .custom-focus-primary:focus {
        box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.2) !important;
    }
    .custom-focus-danger:focus {
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.2) !important;
    }
    .custom-focus-success:focus {
        box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.2) !important;
    }
    
    .custom-stat-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .custom-stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    }
    .custom-stat-card:hover .custom-stat-icon-container {
        color: #6f42c1 !important;
        background-color: rgba(111, 66, 193, 0.1) !important;
    }
    .custom-stat-card:hover .custom-stat-icon-container.bg-success {
        color: #198754 !important;
        background-color: rgba(25, 135, 84, 0.1) !important;
    }
    
    .custom-table-row:hover {
        background-color: #f8f9fc !important;
    }
    
    .custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .flex-grow-2 {
        flex-grow: 2 !important;
    }

/* Pages/MembershipGroups.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #6610f2, #6f42c1);
    }
    
    .custom-btn-primary {
        background: linear-gradient(135deg, #6610f2, #6f42c1) !important;
        border: none !important;
    }
    .custom-btn-primary:hover {
        box-shadow: 0 0.5rem 1rem rgba(111, 66, 193, 0.3) !important;
    }

    .custom-focus-primary:focus {
        box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.2) !important;
        border-color: rgba(111, 66, 193, 0.5) !important;
    }
    
    .custom-spinner {
        color: #6f42c1 !important;
    }

    .hover-primary {
        transition: all 0.2s ease;
    }
    .hover-primary:hover {
        background-color: rgba(111, 66, 193, 0.1) !important;
        color: #6f42c1 !important;
        border-color: rgba(111, 66, 193, 0.2) !important;
    }
    
    .hover-danger {
        transition: all 0.2s ease;
    }
    .hover-danger:hover {
        background-color: rgba(220, 53, 69, 0.1) !important;
        color: #dc3545 !important;
        border-color: rgba(220, 53, 69, 0.2) !important;
    }
    
    .custom-table-row:hover {
        background-color: #f8f9fc !important;
    }
    
    .custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .flex-grow-2 {
        flex-grow: 2 !important;
    }

    /* Custom Switch */
    .custom-switch-primary .form-check-input:checked {
        background-color: #6610f2;
        border-color: #6610f2;
    }
    .custom-switch-primary .form-check-input:focus {
        box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.25);
    }

/* Pages/MyKitchen.razor */
.custom-hero-card {
        background: linear-gradient(135deg, #1e293b, #0f172a) !important;
        min-height: 280px;
    }
    .custom-hero-blob-1 {
        width: 300px; 
        height: 300px; 
        background: rgba(13, 110, 253, 0.15); 
        filter: blur(80px); 
        border-radius: 50%; 
        margin-right: -100px; 
        margin-top: -100px;
    }
    .custom-hero-blob-2 {
        width: 250px; 
        height: 250px; 
        background: rgba(111, 66, 193, 0.1); 
        filter: blur(80px); 
        border-radius: 50%; 
        margin-left: -80px; 
        margin-bottom: -80px;
    }
    .text-gradient-info {
        background: linear-gradient(135deg, #0dcaf0, #0d6efd);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .glass-card {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .custom-stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05) !important;
    }

    .custom-asset-card {
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    }
    .custom-asset-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 1.5rem 4rem rgba(13, 110, 253, 0.1) !important;
    }
    .custom-asset-card:hover .title-hover {
        color: #0d6efd !important;
    }
    .custom-asset-accent {
        width: 150px; 
        height: 150px; 
        background: rgba(13, 110, 253, 0.03); 
        border-radius: 50%; 
        margin-right: -75px; 
        margin-top: -75px;
    }
    .custom-asset-card:hover .custom-asset-accent {
        transform: scale(1.5);
    }

    .status-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
    }
    .status-dot-pulse {
        animation: statusPulse 1.5s infinite;
    }
    @@keyframes statusPulse {
        0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
        70% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
        100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
    }

    .bg-gradient-warranty-ok {
        background: linear-gradient(90deg, #198754, #20c997) !important;
    }
    .bg-gradient-warranty-low {
        background: linear-gradient(90deg, #dc3545, #ffc107) !important;
    }
    .bg-gradient-warranty-expired {
        background-color: #dee2e6 !important;
    }

    .custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/NotFound.razor */
.custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/PMScheduler.razor */
.custom-table th {
        font-weight: 800;
    }
    
    .custom-tr {
        transition: background-color 0.2s ease;
    }
    .custom-tr:hover {
        background-color: rgba(0, 0, 0, 0.02) !important;
    }
    
    .custom-hover {
        transition: all 0.2s ease;
        background-color: white !important;
    }
    .custom-hover:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.05) !important;
    }
    
    .custom-active-scale:active {
        transform: scale(0.96);
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/PosTerminal2.razor */
.no-scrollbar::-webkit-scrollbar {
        display: none;
    }
    .no-scrollbar {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .text-navy-elite { color: #001f3f !important; }
    .bg-navy-elite { background-color: #001f3f !important; }
    
    .custom-scrollbar::-webkit-scrollbar {
        width: 6px;
    }
    .custom-scrollbar::-webkit-scrollbar-track {
        background: transparent;
    }
    .custom-scrollbar::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }
    
    .focus-within-ring:focus-within {
        border-color: rgba(255,255,255,0.2) !important;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
        background-color: rgba(0,0,0,0.4) !important;
    }
    
    .custom-hover {
        transition: all 0.2s ease;
    }
    .custom-hover:hover {
        opacity: 0.8 !important;
    }
    
    .custom-outline-hover:hover {
        border-color: #0d6efd !important;
        color: #0d6efd !important;
    }
    
    .custom-hover-bg:hover {
        background-color: #f8f9fa !important;
    }
    
    .active-scale:active {
        transform: scale(0.97);
    }
    
    .custom-product-card:hover {
        border-color: #0d6efd !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
    }
    .custom-product-card:hover .custom-product-img-wrapper {
        background-color: #eef2ff !important;
    }
    .custom-product-card:hover .info-btn {
        color: #0d6efd !important;
        background-color: white !important;
    }
    
    .hover-danger:hover {
        color: #dc3545 !important;
    }
    
    .custom-btn-arrow {
        transition: transform 0.2s ease;
    }
    .btn:hover .custom-btn-arrow {
        transform: translateX(4px);
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .custom-cart-item:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
        border-color: #dee2e6 !important;
    }
    .custom-qty-btn:hover {
        background-color: #eef2ff !important;
        border-color: #0d6efd !important;
    }
    
    .bg-elite-gold { 
        background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%) !important; 
        color: #001f3f !important; 
        border: none !important; 
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
    }

    .pos-cat-btn-hover:hover {
        background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%) !important; 
        color: #001f3f !important;
        box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3) !important;
    }
    
    .hover-danger:hover {
        background-color: #fff1f2 !important;
        color: #e11d48 !important;
        border-radius: 4px;
    }

/* Pages/ReportingDashboard.razor */
.bg-navy-elite { background-color: #001f3f !important; }
    .bg-navy-transparent { background-color: rgba(0, 31, 63, 0.15) !important; }
    .text-navy-elite { color: #001f3f !important; }

    .custom-header-icon {
        background: linear-gradient(135deg, #001f3f, #003366);
        color: #d4af37 !important;
    }
    
    .custom-btn-primary {
        background: linear-gradient(135deg, #d4af37, #aa7c11) !important;
        color: #001f3f !important;
        border: none !important;
    }
    .custom-btn-primary:hover {
        box-shadow: 0 0.5rem 1rem rgba(212, 175, 55, 0.3) !important;
    }

    .hover-bg-navy:hover {
        background-color: #001f3f !important;
    }

    .group-hover-opacity {
        transition: opacity 0.2s ease;
    }
    .group:hover .group-hover-opacity {
        opacity: 1 !important;
    }

    .group-hover-gold { transition: color 0.2s ease; }
    .group:hover .group-hover-gold { color: #d4af37 !important; }

    .group-hover-white { transition: color 0.2s ease; }
    .group:hover .group-hover-white { color: #ffffff !important; }

    .min-vh-40 {
        min-height: 400px;
    }

    .circular-chart {
        display: block;
        margin: 10px auto;
        max-width: 100%;
        max-height: 250px;
    }
    .circle-bg {
        fill: none;
        stroke: #f8f9fc;
        stroke-width: 3.8;
    }
    .circle {
        fill: none;
        stroke-width: 2.8;
        stroke-linecap: round;
        animation: progress 1s ease-out forwards;
    }
    .circular-chart.elite .circle {
        stroke: #001f3f;
    }
    @@keyframes progress {
        0% { stroke-dasharray: 0 100; }
    }

    .custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/RewardsCatalog.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #6f42c1, #0d6efd);
    }
    .custom-btn-primary {
        background: linear-gradient(135deg, #6f42c1, #0d6efd) !important;
        border: none !important;
    }
    .custom-btn-primary:hover:not(:disabled) {
        box-shadow: 0 0.5rem 1rem rgba(111, 66, 193, 0.3) !important;
        transform: translateY(-2px);
    }
    
    .hover-primary:hover {
        color: #6f42c1 !important;
    }
    .hover-light:hover {
        background-color: #f8f9fa !important;
    }
    
    .custom-glass-nav {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .custom-glass {
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
    
    .custom-card-hover {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .custom-card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
    }
    .custom-card-hover:hover .custom-text-hover {
        color: #6f42c1 !important;
    }
    
    .custom-active-scale:active:not(:disabled) {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .text-truncate-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    /* Category Gradients */
    .bg-gradient-merch { background: linear-gradient(135deg, #6610f2, #d63384); }
    .bg-gradient-beverages { background: linear-gradient(135deg, #20c997, #198754); }
    .bg-gradient-discount { background: linear-gradient(135deg, #ffc107, #fd7e14); }
    .bg-gradient-electronics { background: linear-gradient(135deg, #0d6efd, #0dcaf0); }
    .bg-gradient-experience { background: linear-gradient(135deg, #e83e8c, #dc3545); }
    .bg-gradient-default { background: linear-gradient(135deg, #adb5bd, #6c757d); }

/* Pages/SalesOrderEntry.razor */
.no-scrollbar::-webkit-scrollbar {
        display: none;
    }
    .no-scrollbar {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    
    .custom-scrollbar::-webkit-scrollbar {
        width: 6px;
    }
    .custom-scrollbar::-webkit-scrollbar-track {
        background: transparent;
    }
    .custom-scrollbar::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }
    
    .hide-spinners::-webkit-outer-spin-button,
    .hide-spinners::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }
    
    .focus-within-ring:focus-within {
        border-color: #0d6efd !important;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
        background-color: #fff !important;
    }
    
    .custom-dropdown-item:hover {
        background-color: #0d6efd;
        color: white;
    }
    .custom-dropdown-item:hover .item-title,
    .custom-dropdown-item:hover .item-subtitle {
        color: white !important;
    }
    .custom-dropdown-item:hover .item-icon {
        opacity: 1 !important;
        color: white !important;
        transform: translateX(4px);
    }
    
    .custom-active-scale:active {
        transform: scale(0.96);
    }
    
    .custom-hover:hover {
        opacity: 0.7;
    }
    
    .custom-product-card {
        transition: all 0.2s ease;
    }
    .custom-product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
    }
    .custom-product-card:hover .title-hover {
        color: #0d6efd !important;
    }
    .custom-product-card:active {
        transform: scale(0.97);
    }
    
    .custom-product-card:hover .custom-add-btn {
        background-color: #0d6efd !important;
        transform: scale(1.1) rotate(5deg);
    }
    
    .custom-cart-item:hover {
        border-color: #dee2e6 !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    }
    
    .custom-select-card:hover {
        border-color: #0d6efd !important;
        background-color: rgba(13, 110, 253, 0.05) !important;
        opacity: 1 !important;
    }
    
    .blur-effect {
        filter: blur(50px);
    }

    .animate-zoom-in {
        animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }
    
    @@keyframes zoomIn {
        from { opacity: 0; transform: scale(0.95); }
        to { opacity: 1; transform: scale(1); }
    }
    
    .animate-fade-slide-down {
        animation: fadeSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    @@keyframes fadeSlideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/SMSBlackListPage.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #dc3545, #a71d2a);
    }
    
    .custom-btn-danger {
        background: linear-gradient(135deg, #dc3545, #a71d2a) !important;
        border: none !important;
    }
    .custom-btn-danger:hover:not(:disabled) {
        box-shadow: 0 0.5rem 1rem rgba(220, 53, 69, 0.3) !important;
    }

    .custom-focus-primary:focus {
        box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.2) !important;
    }
    
    .custom-focus-danger:focus {
        box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
        border-color: #dc3545 !important;
    }

    .hover-danger {
        transition: all 0.2s ease;
    }
    .hover-danger:hover {
        background-color: rgba(220, 53, 69, 0.1) !important;
        color: #dc3545 !important;
        border-color: rgba(220, 53, 69, 0.2) !important;
    }
    
    .hover-success-solid {
        transition: all 0.2s ease;
    }
    .hover-success-solid:hover {
        background-color: #198754 !important;
        color: white !important;
    }
    
    .custom-table-row:hover {
        background-color: #f8f9fc !important;
    }
    
    .custom-active-scale:active:not(:disabled) {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .group:hover .custom-glow-circle {
        transform: scale(1.5);
    }

/* Pages/SMSDashboard.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #6f42c1, #4e2a84);
    }
    .custom-btn-primary {
        background: linear-gradient(135deg, #6f42c1, #4e2a84) !important;
        border: none !important;
    }
    .custom-btn-primary:hover:not(:disabled) {
        box-shadow: 0 0.5rem 1rem rgba(111, 66, 193, 0.3) !important;
    }
    
    .custom-focus-primary:focus {
        box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.2) !important;
    }
    
    .custom-spinner {
        color: #6f42c1 !important;
    }
    
    .custom-pulse-dot {
        animation: pulseDot 2s infinite;
    }
    @@keyframes pulseDot {
        0% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7); }
        70% { box-shadow: 0 0 0 10px rgba(25, 135, 84, 0); }
        100% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0); }
    }
    
    .hover-primary:hover {
        background-color: rgba(111, 66, 193, 0.1) !important;
        color: #6f42c1 !important;
    }
    
    .custom-table-row:hover {
        background-color: #f8f9fc !important;
    }
    
    .custom-active-scale:active:not(:disabled) {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-spin {
        animation: spin 1s linear infinite;
    }
    @@keyframes spin {
        100% { transform: rotate(360deg); }
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); transform: scale(0.95); }
        to { opacity: 1; transform: translateY(0); transform: scale(1); }
    }
    
    .text-truncate-1 {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

/* Pages/SMSLogs.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #6f42c1, #4e2a84);
    }
    
    .custom-focus-primary:focus {
        box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.2) !important;
        border-color: rgba(111, 66, 193, 0.5) !important;
    }
    
    .custom-icon-transition i {
        transition: color 0.2s ease;
    }
    .group:focus-within .custom-icon-transition i {
        color: #6f42c1 !important;
    }
    
    .custom-spinner {
        color: #6f42c1 !important;
    }
    
    .hover-primary {
        transition: all 0.2s ease;
    }
    .hover-primary:hover {
        background-color: rgba(111, 66, 193, 0.1) !important;
        color: #6f42c1 !important;
        border-color: rgba(111, 66, 193, 0.2) !important;
    }
    
    .custom-table-row:hover {
        background-color: #f8f9fc !important;
    }
    
    .custom-active-scale:active:not(:disabled) {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-spin {
        animation: spin 1s linear infinite;
    }
    @@keyframes spin {
        100% { transform: rotate(360deg); }
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .text-truncate-1 {
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .text-truncate-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .badge-urgent {
        background: linear-gradient(135deg, #dc3545, #e83e8c);
        color: white;
        box-shadow: 0 0.25rem 0.5rem rgba(220, 53, 69, 0.2);
    }

/* Pages/SMSReminders.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #6f42c1, #4e2a84);
    }
    
    .bg-gradient-warning {
        background: linear-gradient(135deg, #fd7e14, #ffc107) !important;
    }
    .bg-gradient-success {
        background: linear-gradient(135deg, #198754, #20c997) !important;
    }
    .bg-gradient-dark {
        background: linear-gradient(135deg, #212529, #343a40) !important;
    }
    
    .custom-focus-primary:focus {
        box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.2) !important;
        border-color: rgba(111, 66, 193, 0.5) !important;
    }
    
    .custom-spinner {
        color: #6f42c1 !important;
    }
    
    .custom-pulse-dot {
        animation: pulseDot 2s infinite;
    }
    @@keyframes pulseDot {
        0% { box-shadow: 0 0 0 0 rgba(111, 66, 193, 0.7); }
        70% { box-shadow: 0 0 0 10px rgba(111, 66, 193, 0); }
        100% { box-shadow: 0 0 0 0 rgba(111, 66, 193, 0); }
    }
    
    .custom-card-hover {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .custom-card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
    }
    .group:hover .custom-glow-circle {
        transform: scale(1.5);
    }
    
    .hover-primary {
        transition: all 0.2s ease;
    }
    .hover-primary:hover {
        background-color: rgba(111, 66, 193, 0.1) !important;
        color: #6f42c1 !important;
        border-color: rgba(111, 66, 193, 0.2) !important;
    }
    
    .hover-danger {
        transition: all 0.2s ease;
    }
    .hover-danger:hover {
        background-color: rgba(220, 53, 69, 0.1) !important;
        color: #dc3545 !important;
        border-color: rgba(220, 53, 69, 0.2) !important;
    }
    
    .hover-dark {
        transition: all 0.2s ease;
    }
    .hover-dark:hover {
        background-color: rgba(33, 37, 41, 0.1) !important;
        color: #212529 !important;
        border-color: rgba(33, 37, 41, 0.2) !important;
    }
    
    .custom-table-row:hover {
        background-color: #f8f9fc !important;
    }
    
    .custom-active-scale:active:not(:disabled) {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-spin {
        animation: spin 1s linear infinite;
    }
    @@keyframes spin {
        100% { transform: rotate(360deg); }
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .text-truncate-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .status-pulse {
        animation: statusPulse 2s infinite;
    }
    @@keyframes statusPulse {
        0% { opacity: 1; }
        50% { opacity: 0.6; }
        100% { opacity: 1; }
    }

/* Pages/SMSTemplateMgmt.razor */
.custom-table-row:hover {
        background-color: #f8f9fc !important;
    }
    
    .custom-active-scale:active:not(:disabled) {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .flex-grow-2 {
        flex-grow: 2 !important;
    }

    /* Elite Switch */
    .custom-switch-primary .form-check-input:checked {
        background-color: #001f3f;
        border-color: #001f3f;
    }
    .custom-switch-primary .form-check-input:focus {
        box-shadow: 0 0 0 0.25rem rgba(0, 31, 63, 0.25);
    }

/* Pages/SpecialDays.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #6610f2, #6f42c1);
    }
    
    .custom-btn-primary {
        background: linear-gradient(135deg, #6610f2, #6f42c1) !important;
        border: none !important;
    }
    .custom-btn-primary:hover {
        box-shadow: 0 0.5rem 1rem rgba(111, 66, 193, 0.3) !important;
    }

    .custom-focus-primary:focus {
        box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.2) !important;
        border-color: rgba(111, 66, 193, 0.5) !important;
    }
    
    .custom-spinner {
        color: #6f42c1 !important;
    }

    .hover-primary {
        transition: all 0.2s ease;
    }
    .hover-primary:hover {
        background-color: rgba(111, 66, 193, 0.1) !important;
        color: #6f42c1 !important;
        border-color: rgba(111, 66, 193, 0.2) !important;
    }
    
    .hover-danger {
        transition: all 0.2s ease;
    }
    .hover-danger:hover {
        background-color: rgba(220, 53, 69, 0.1) !important;
        color: #dc3545 !important;
        border-color: rgba(220, 53, 69, 0.2) !important;
    }
    
    .custom-table-row:hover {
        background-color: #f8f9fc !important;
    }
    
    .custom-active-scale:active {
        transform: scale(0.96);
        transition: transform 0.1s;
    }
    
    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .flex-grow-2 {
        flex-grow: 2 !important;
    }

/* Pages/WarrantyList.razor */
.custom-table th {
        font-weight: 800;
    }
    
    .custom-tr {
        transition: background-color 0.2s ease;
    }
    .custom-tr:hover {
        background-color: rgba(0, 0, 0, 0.02) !important;
    }
    
    .custom-hover {
        transition: all 0.2s ease;
        background-color: white !important;
    }
    .custom-hover:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.05) !important;
    }
    
    .hover-danger:hover {
        background-color: #dc3545 !important;
        color: white !important;
    }
    
    .custom-active-scale:active {
        transform: scale(0.96);
    }
    
    .cursor-pointer {
        cursor: pointer;
    }
    
    .custom-grad-bg {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    }
    
    .custom-placeholder::placeholder {
        color: rgba(255, 255, 255, 0.5) !important;
    }
    
    /* Target the option elements using select */
    .custom-select option {
        background: white;
        color: #212529;
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Pages/Weather.razor */
.custom-header-icon {
        background: linear-gradient(135deg, #0dcaf0, #0d6efd);
    }
    
    .custom-table-row:hover {
        background-color: #f8fafc !important;
        transform: scale(1.002);
    }

    .animate-pulse {
        animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    }
    @@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: .5; }
    }
    
    .animate-fade-slide-up {
        animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @@keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }

/* Deduplicated component utility styles. */
.clm-style-00bc3d6c76 { letter-spacing: 0.1em; }
.clm-style-00bc4dbe18 { width: 20px; height: 20px; left: -11px; top: 12px; font-size: 8px; }
.clm-style-01b84ad359 { width: 15rem; height: 15rem; filter: blur(3rem); transform: translate(-30%, 30%); }
.clm-style-01e52f0c92 { color: #001f3f !important; }
.clm-style-048e9971e5 { height: 16px; }
.clm-style-04c2155cab { height: 320px; }
.clm-style-061aae1ab3 { font-size: 0.65rem }
.clm-style-069114531e { font-size: 0.70rem; letter-spacing: 0.15rem; }
.clm-style-07734b383e { width: 38px; height: 38px; }
.clm-style-08724256bd { font-size: 0.7rem; }
.clm-style-08aec67817 { max-width: 140px; }
.clm-style-09acf07d2c { font-size: 0.75rem; max-width: 250px; }
.clm-style-0a7475d91c { background: linear-gradient(135deg, #f8f9fa 0%, rgba(111, 66, 193, 0.05) 50%, rgba(13, 110, 253, 0.05) 100%); }
.clm-style-0df1735228 { width: 6px; }
.clm-style-0e3c1e8fdf { font-size: 2.2rem; letter-spacing: -1.5px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.clm-style-0f6ba93d4a { max-width: 500px; }
.clm-style-10385f2b57 { font-size: 2.8rem; letter-spacing: -2px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.clm-style-115d7cee14 { width: 140px; height: 140px; }
.clm-style-12ed82a10a { font-size: 0.6rem; opacity: 0.6; }
.clm-style-1327aa36e6 { font-size: 0.75rem; font-family: monospace; }
.clm-style-13485173ba { height: 10px; }
.clm-style-13a632ca4b { font-size: 0.55rem; letter-spacing: 0.1em; color: rgba(0, 31, 63, 0.5) !important; }
.clm-style-147af99167 { max-width: 200px; }
.clm-style-147fc07294 { font-size: 0.65rem; border: 1px solid rgba(255,255,255,0.1); letter-spacing: 0.05em; }
.clm-style-17517deb50 { max-width: 250px; font-size: 0.75rem; }
.clm-style-17debd5075 { width: 72px; height: 72px; border-width: 2px !important; }
.clm-style-17fc63717c { background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important; box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.5), 0 20px 40px -10px rgba(16, 185, 129, 0.4) !important; color: white !important; border-radius: 2rem !important; border-top: 1px solid rgba(255,255,255,0.2) !important; border-left: 1px solid rgba(255,255,255,0.1) !important; }
.clm-style-1856bb7ead { max-height: 100%; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.clm-style-1ab2629aa5 { width: 150px; height: 150px; bottom: -30px; right: -30px; filter: blur(20px); }
.clm-style-1b9a28a1eb { width: 96px; height: 96px; }
.clm-style-1be58912b6 { max-width: 280px; }
.clm-style-1c2a0cf6a4 { width: 120px; height: 120px; }
.clm-style-1c93be278e { width: 80px; height: 80px; border: 2px solid rgba(255,255,255,0.15); }
.clm-style-1cd991d7a7 { width: 36px; height: 36px; color: #d4af37 !important; }
.clm-style-1db16eda3d { background-color: rgba(0, 31, 63, 0.05) !important; }
.clm-style-1ec7a3efe5 { font-size: 0.65rem; width: 80px; }
.clm-style-1ecca7b434 { font-size: 0.6rem; letter-spacing: 0.15em; }
.clm-style-1ef422d516 { width: 150px; height: 150px; bottom: -30px; right: -30px; filter: blur(20px); background-color: #6f42c1 !important; }
.clm-style-1f37ac5b06 { width: 36px; height: 36px; font-size: 0.7rem; }
.clm-style-1f9d08cf36 { background: rgba(255,255,255,0.08) !important; }
.clm-style-203370412f { font-size: 0.65rem; letter-spacing: 0.1em; opacity: 0.8; }
.clm-style-215b4a9e4a { font-size: 0.4rem; letter-spacing: 0.2em; margin-top: 2px; }
.clm-style-21733da9d4 { width: 8rem; height: 8rem; transform: translate(30%, -30%); }
.clm-style-217cd6f5a2 { border-radius: 1.5rem; }
.clm-style-21986e8fec { width: 56px; height: 40px; }
.clm-style-21a0cc8b56 { background: linear-gradient(180deg, #001f3f 0%, #000c1a 100%) !important; }
.clm-style-22c20ad479 { letter-spacing: 0.1em; font-size: 0.75rem; }
.clm-style-241e43da9a { width: 6px; height: 16px; }
.clm-style-2470a4539b { font-size: 0.96rem; }
.clm-style-24789f0cb7 { width: 70px; }
.clm-style-2678c9e8b3 { font-size: 0.5rem; }
.clm-style-27f4b12aa1 { width: 40px; height: 40px; }
.clm-style-280cf4440d { width: 1.25rem; height: 1.25rem; }
.clm-style-29f45548d2 { position: fixed; top: 0; right: 0; z-index: 10000; pointer-events: none; width: 360px; }
.clm-style-2a5618a87d { max-height: 500px; }
.clm-style-2d2b9d4e96 { max-width: 900px; }
.clm-style-2e3b02b794 { width: 48px; height: 48px; font-size: 1.1rem; border-radius: 12px !important; }
.clm-style-2e72acd647 { font-size: 1rem; }
.clm-style-31f2510de3 { font-size: 0.65rem; color: #001f3f !important; }
.clm-style-325112a35e { font-size: 0.65rem; color: #6f42c1 !important; }
.clm-style-328c202b65 { width: 48px; height: 48px; background-color: rgba(0, 31, 63, 0.1) !important; color: #001f3f !important; }
.clm-style-32a32ca058 { font-size: 0.55rem; }
.clm-style-32ed358fab { width: 300px; height: 300px; bottom: -100px; left: -100px; filter: blur(40px); }
.clm-style-33e94a5a2c { max-width: 450px; }
.clm-style-33fbc4ebfc { font-size: 0.65rem; color: #cc8400 !important; }
.clm-style-3476ab9fcc { width: 80px; }
.clm-style-35b29be523 { height: 6px; border-radius: 10px; }
.clm-style-367d2409f1 { width: 50px; font-size: 0.65rem; }
.clm-style-36a7573cd2 { font-size: 0.85rem; max-width: 150px; }
.clm-style-36f5090ec0 { background: linear-gradient(135deg, #0d6efd, #6610f2); }
.clm-style-378150294d { background-color: rgba(225, 29, 72, 0.1); }
.clm-style-37d9a1df2c { font-size: 0.6rem; color: #fd7e14 !important; }
.clm-style-38716357db { width:36px;height:36px;font-size:0.85rem;font-weight:900; }
.clm-style-3877adf015 { width: 48px; height: 48px; font-size: 1.1rem; border: 1px solid rgba(255,255,255,0.1); }
.clm-style-3928620234 { height: 8px; }
.clm-style-3969c06cf3 { max-width: 280px; width: 100%; }
.clm-style-39aa393d63 { height: 1.25rem; }
.clm-style-3b92f08938 { max-width: 350px; }
.clm-style-3c25a8825b { width: 48px; height: 48px; font-size: 0.9rem; }
.clm-style-3ebc3a5a2e { border-color: rgba(111, 66, 193, 0.25) !important; }
.clm-style-3fdda005cb { width: 40px; height: 20px; }
.clm-style-40e1e16563 { max-width: 100px; }
.clm-style-412689575e { font-size: 0.6rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.7) !important; }
.clm-style-41ac4a71d0 { min-width: 200px; font-size: 0.85rem; }
.clm-style-4256235394 { width: 3.5rem; height: 3.5rem; }
.clm-style-4275ad26aa { color: #6f42c1 !important; width: 3rem; height: 3rem; }
.clm-style-42a35fb542 { font-size: 0.5rem; color: #6f42c1 !important; }
.clm-style-435aaeaa88 { font-size: 0.75rem; max-width: 300px; }
.clm-style-43af325d3d { width: 200px; height: 200px; }
.clm-style-4507bf206c { height: 40px; }
.clm-style-45ed1fb2da { width: 32px; height: 32px; font-size: 0.9rem; }
.clm-style-4603302de9 { font-size: 0.65rem; width: 60px; }
.clm-style-4681e0a039 { font-size: 0.6rem; opacity: 0.9; }
.clm-style-46c64fa78a { width: 80px; height: 80px; border-radius: 18px; font-size: 2rem; box-shadow: 0 0 0 6px rgba(255,255,255,0.1); }
.clm-style-472e95d0f1 { font-size: 0.72rem; }
.clm-style-47648fbed5 { font-size: 0.65rem; z-index: 10; }
.clm-style-47e10d80f3 { font-size: 0.5rem; letter-spacing: 0.1em; }
.clm-style-487a095011 { font-size: 0.6rem; letter-spacing: 0.1em; }
.clm-style-48ab9a3869 { z-index: 100; }
.clm-style-4908cb0a13 { font-size: 0.85rem; }
.clm-style-4915ee7951 { min-width: 240px; }
.clm-style-4963658da3 { font-size: 3rem; line-height: 0.8; }
.clm-style-49b5c43d45 { width: 48px; height: 48px; font-size: 1.1rem; }
.clm-style-49e766a844 { background-color: #6366f1; width: 24px; height: 24px; left: -13px; top: 12px; font-size: 10px; }
.clm-style-4a229dacf2 { width: 200px; height: 200px; bottom: -50px; right: -50px; filter: blur(20px); }
.clm-style-4ab4bd0a66 { z-index: 70; }
.clm-style-4b897dc562 { width: 36px; height: 36px; font-size: 0.75rem; background-color: #eef2ff !important; color: #4f46e5 !important; }
.clm-style-4cc0c883c5 { width: 72px; height: 72px; border: 4px solid rgba(255,255,255,0.2); }
.clm-style-4cd1ccd727 { width: 8px; height: 8px; }
.clm-style-4dae3473f5 { font-size: 0.6rem; }
.clm-style-502f72944f { font-size: 0.7rem; opacity: 0.7; }
.clm-style-50e63891eb { font-size: 0.6rem; letter-spacing: 0.1em; opacity: 0.6; }
.clm-style-51bb3cef14 { min-width: 280px; }
.clm-style-51bd5e1af5 { min-height: 2.2rem; }
.clm-style-53082ce8d3 { width: 150px; height: 150px; bottom: -50px; right: -50px; }
.clm-style-5367986d55 { color: #fd7e14 !important; }
.clm-style-54e3ff46a5 { backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.05); }
.clm-style-5514fd85b0 { font-size: 0.6rem; letter-spacing: 0.05em; }
.clm-style-55436c28b8 { border-radius: 1.5rem; background: linear-gradient(135deg, #001f3f 0%, #002b55 100%); }
.clm-style-55487fd3a3 { font-size: 0.60rem; letter-spacing: 0.1em; border: none; }
.clm-style-565e86bc13 { font-size: 0.65rem; letter-spacing: 0.2em; opacity: 0.7; }
.clm-style-56b0b3a6db { font-size: 1.8rem; letter-spacing: -1px; }
.clm-style-56d9ef8628 { min-height: 48px; }
.clm-style-5860e58666 { width: 48px; height: 48px; }
.clm-style-586ca4bdd0 { background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%) !important; box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.5), 0 20px 40px -10px rgba(225, 29, 72, 0.4) !important; color: white !important; border-radius: 2rem !important; border-top: 1px solid rgba(255,255,255,0.2) !important; border-left: 1px solid rgba(255,255,255,0.1) !important; }
.clm-style-58abcd6ed0 { width: 6px; height: 16px; background-color: #6f42c1 !important; }
.clm-style-58f0dbded0 { transform: rotate(90deg); display: inline-block; }
.clm-style-597e39b8e1 { font-size: 0.7rem; color: #e11d48; }
.clm-style-5a1701a0e7 { width: 32px; height: 32px; padding: 0; }
.clm-style-5ab1ec1728 { letter-spacing: -2px; }
.clm-style-5b172b1253 { width: 36px; height: 36px; }
.clm-style-5b5527df72 { width: 180px; }
.clm-style-5cc2ff4154 { font-size: 0.55rem; color: #64748b !important; }
.clm-style-5cc3f9b800 { background: linear-gradient(90deg, #d4af37 0%, transparent 100%); mix-blend-mode: overlay; }
.clm-style-5cf1062b21 { font-size: 0.65rem; line-height: 1.2; }
.clm-style-5defade8b4 { right: 15px; top: 15px; font-size: 60px; }
.clm-style-5f890c690e { color: #4f46e5; font-size: 0.9rem; }
.clm-style-5ff6f6315d { font-size: 0.55rem; z-index: 10; }
.clm-style-6077b4dc25 { width: 200px; height: 200px; top: -50px; right: -50px; filter: blur(40px); }
.clm-style-61f497df6a { width: 10px; height: 10px; background-color: #6f42c1 !important; }
.clm-style-62065d876f { font-size:0.6rem }
.clm-style-62e78e81df { width: 4px; height: 4px; }
.clm-style-644a3635b5 { height: 64px; }
.clm-style-6455bf9356 { width: 300px; height: 300px; top: -100px; right: -100px; filter: blur(60px); opacity: 0.2; background-color: #d4af37; }
.clm-style-66c5d5552a { font-size: 0.6rem; max-width: 200px; opacity: 0.6; }
.clm-style-66d105d2ff { min-width: 250px; }
.clm-style-670ccee146 { font-size: 0.95rem; line-height: 1.6; }
.clm-style-6857e3d21a { font-size: 0.65rem; letter-spacing: 0.1em; }
.clm-style-68fa866c3d { font-family: 'Inter', sans-serif; }
.clm-style-698b086c19 { width: 220px; letter-spacing: 0.3em; }
.clm-style-69a2919a91 { font-size: 0.6rem; opacity: 0.5; }
.clm-style-6a8dbf2dc5 { font-size: 0.60rem; letter-spacing: 0.1em; }
.clm-style-6bba8a5ba1 { font-size: 0.5rem; letter-spacing: 0.05em; }
.clm-style-6bcc675c0f { font-size: 0.6rem; font-family: monospace; }
.clm-style-6c06a12f9a { right: 1.25rem; font-size: 0.75rem; color: #cc8400 !important; }
.clm-style-6c07f82a9c { color: #6f42c1 !important; }
.clm-style-6e6a3de59a { width: 48px; height: 48px; background-color: #001f3f !important; color: #d4af37 !important; }
.clm-style-6eb824453a { max-height: 250px; }
.clm-style-6f47e3a4b8 { width: 36px; height: 36px; background-color: rgba(0, 31, 63, 0.1) !important; color: #001f3f !important; border-color: rgba(0, 31, 63, 0.25) !important; }
.clm-style-6f82c087b8 { font-size: 0.7rem; letter-spacing: -0.5px; }
.clm-style-6f87b904bb { font-size: 2.2rem; letter-spacing: -1px; }
.clm-style-6f8f35e17c { width: 40px; height: 40px; background: linear-gradient(135deg, #0d6efd, #6610f2); }
.clm-style-6fd8dad4b3 { width: 20px; height: 20px; font-size: 0.7rem; }
.clm-style-6fdd6821ed { font-size: 1.1rem; }
.clm-style-704a45f2c7 { width: 6px; height: 24px; }
.clm-style-705dfac9c4 { width: 32px; height: 32px; font-size: 0.8rem; }
.clm-style-709bfe68e7 { height: 140px; }
.clm-style-73ce8d1dc0 { background: linear-gradient(135deg, #d4af37, #b8860b); }
.clm-style-7447c2d2be { width: 1.1em; height: 1.1em; border-color: #dee2e6; }
.clm-style-74a012e143 { width: 200px; height: 200px; top: -100px; right: -100px; }
.clm-style-751d7e54ca { width: 300px; height: 300px; bottom: -50px; left: -50px; }
.clm-style-7539ea5c84 { font-size: 2.5rem; letter-spacing: -1px; }
.clm-style-76a5789aae { font-size: 0.65rem; letter-spacing: 0.15em; }
.clm-style-76feffe992 { width: 52px; height: 52px; background-color: #001f3f; color: #d4af37; }
.clm-style-770254ca0b { font-size: 0.6rem; letter-spacing: 0.1em; opacity: 0.7; }
.clm-style-7702ba13c2 { background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important; box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.5), 0 20px 40px -10px rgba(217, 119, 6, 0.4) !important; color: white !important; border-radius: 2rem !important; border-top: 1px solid rgba(255,255,255,0.2) !important; border-left: 1px solid rgba(255,255,255,0.1) !important; }
.clm-style-78dccdabe8 { width: 140px; }
.clm-style-79e1ad73d5 { width: 420px; flex-shrink: 0; }
.clm-style-7a33c5d148 { height: 36px; }
.clm-style-7a3955e4f0 { height: 4px; }
.clm-style-7a9ce15a79 { background: linear-gradient(90deg, #001f3f 0%, #001122 100%); }
.clm-style-7ab1763b03 { width: 36px; height: 36px; padding: 0; }
.clm-style-7af4efdba9 { background: #f1f3f5 !important; }
.clm-style-7b0b519706 { background: rgba(255,255,255,0.08) !important; font-size: 0.75rem; letter-spacing: 0.1em; }
.clm-style-7b77109be3 { background: linear-gradient(135deg, #4f46e5, #7e22ce); }
.clm-style-7b9d182d0e { height: 180px; }
.clm-style-7c06feb77b { backdrop-filter: blur(4px); }
.clm-style-7c0f86ab54 { cursor: pointer; }
.clm-style-7cde0af0c8 { font-size: 0.65rem; color: #000c1a !important; border: 1px solid rgba(0,0,0,0.1); }
.clm-style-7d26620e35 { font-size: 0.7rem; letter-spacing: -0.2px; }
.clm-style-7d8f9e11ee { font-size: 0.75rem; color: #6f42c1 !important; }
.clm-style-7d96bfc7bc { font-size: 0.45rem; }
.clm-style-7e24a16a51 { color: #4f46e5; font-size: 0.6rem; }
.clm-style-7e5bbfd373 { background-color: rgba(111, 66, 193, 0.1); color: #6f42c1; border: 1px solid rgba(111, 66, 193, 0.25); padding: 0.25rem 0.5rem; font-size: 1rem; font-weight: 900; }
.clm-style-7f0dc43e71 { transform: rotate(-90deg); }
.clm-style-7fade915ee { width: 100px; height: 100px; }
.clm-style-7fdd606c34 { height: 120px; }
.clm-style-8033cbf024 { width: 400px; height: 400px; top: -50px; right: -50px; }
.clm-style-81bcb7dd74 { border-radius: 2rem !important; }
.clm-style-8288fddd2c { backdrop-filter: blur(8px); min-width: 280px; }
.clm-style-830453838f { color: #a461d8 !important; }
.clm-style-86fa9763b1 { font-size: 0.55rem; letter-spacing: 0.2em; }
.clm-style-894dcf3e3b { width: 48px; height: 48px; backdrop-filter: blur(4px); }
.clm-style-89e88cd069 { font-size: 0.75rem; width: 20px; }
.clm-style-8b511f076f { font-size: 0.75rem; }
.clm-style-8c6874961e { word-break: break-all; }
.clm-style-8ca94b6696 { width: 20rem; height: 20rem; filter: blur(3rem); transform: translate(30%, -30%); }
.clm-style-8d3d67e694 { font-size: 0.7rem; letter-spacing: 0.2em; }
.clm-style-8d8a98d8e9 { max-width: 600px; }
.clm-style-8dc7419cee { top: 2rem; }
.clm-style-8dcda22d37 { font-size: 0.9rem; lh-1 }
.clm-style-8e44f3ca85 { border-radius: 1.5rem; border-top-color: var(--bs-primary) !important; border-top-width: 3px !important; }
.clm-style-8edb3409ac { font-size: 0.85rem; letter-spacing: 0.1em; }
.clm-style-8f16685ce9 { height: 60px; }
.clm-style-8f190be743 { width: 44px; height: 44px; font-size: 0.9rem; }
.clm-style-8f461c1ff3 { background-color: rgba(111, 66, 193, 0.1); width: 52px; height: 52px; }
.clm-style-8ffd47232e { border-left-color: #d4af37 !important; }
.clm-style-90008478c1 { left: 32px; top: 0; bottom: 0; width: 4px; }
.clm-style-91269935bd { width:80px }
.clm-style-91cca5857b { width: 36px; }
.clm-style-92008727d4 { background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 11000; }
.clm-style-9291d4b6c2 { height: 12px; }
.clm-style-92951960c6 { height: 6px; }
.clm-style-9412aab190 { width: 400px; height: 400px; top: -150px; right: -150px; filter: blur(50px); }
.clm-style-943fbd174f { font-size: 0.8rem; appearance: none; background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg%20fill%3D%22white%22%20viewBox%3D%220 0 24 24%22%20width%3D%2212%22%20height%3D%2212%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M7 10l5 5 5-5z%22%2F%3E%3C%2Fsvg%3E'); background-repeat: no-repeat; background-position: right center; }
.clm-style-94daefbea8 { background: linear-gradient(135deg, #001f3f 0%, #003366 100%) !important; box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.5), 0 20px 40px -10px rgba(0, 40, 80, 0.4) !important; color: white !important; border-radius: 2rem !important; border-top: 1px solid rgba(255,255,255,0.15) !important; border-left: 1px solid rgba(255,255,255,0.05) !important; }
.clm-style-952250ea36 { font-size: 0.8rem; letter-spacing: 0.15rem; border: none; }
.clm-style-9690f78210 { font-size: 0.62rem; letter-spacing: 0.08em; }
.clm-style-9709480e56 { font-size: 0.65rem; font-family: monospace; }
.clm-style-98dbc8915c { letter-spacing: -1.5px; }
.clm-style-998b1eeba7 { font-size: 0.85rem; line-height: 1.3; }
.clm-style-9b501a426d { font-size: 0.50rem; letter-spacing: 0.05em; }
.clm-style-9b77c4e4a3 { width: 48px; height: 48px; background-color: rgba(212, 175, 55, 0.25) !important; color: #d4af37 !important; }
.clm-style-9be7441361 { font-size: 0.9rem; }
.clm-style-9c0adb3278 { font-size: 0.65rem; letter-spacing: 0.2rem; }
.clm-style-9c8d59f862 { font-size: 0.62rem; }
.clm-style-9dc5f0b465 { font-size: 0.6rem; color: #d4af37 !important; }
.clm-style-9e1180c71f { font-size: 0.7rem; letter-spacing: 0.05em; }
.clm-style-9eb11332ca { font-size: 0.8rem; max-width: 250px; }
.clm-style-9f4db3ac2e { font-size: 0.6rem; letter-spacing: 0.2em; }
.clm-style-9f6f3737f0 { width: 36px; height: 36px; font-size: 0.75rem; }
.clm-style-9fc026e78c { font-size: 8rem; line-height: 0.8; opacity: 0.1; }
.clm-style-a17ef31db5 { pointer-events: auto; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
.clm-style-a1b8f1b105 { letter-spacing: 0.05em; }
.clm-style-a2c86defc6 { width: 2.5rem; height: 1.25rem; }
.clm-style-a3c6ae3a7d { font-size: 0.75rem; width: auto; min-width: 180px; }
.clm-style-a3f13b98e6 { max-width: 150px; font-size: 0.55rem; }
.clm-style-a43690e7b3 { width: 40px; height: 40px; font-size: 0.9rem; }
.clm-style-a5165eec3a { width: 16px; height: 16px; }
.clm-style-a526e31b6d { max-height: 400px; }
.clm-style-a53febcd02 { background: #f1f3f5 !important; width: 140px; font-size: 0.8rem; }
.clm-style-a683e7cd2c { width: 2.5rem; height: 2.5rem; }
.clm-style-a68cbf3163 { font-size: 0.70rem; letter-spacing: -0.2px; line-height: 1.2; }
.clm-style-a6b33e7415 { max-height: 200px; overflow-y: auto; }
.clm-style-a6c62bdf93 { font-size: 0.65rem; }
.clm-style-a82b3cf518 { max-width: 400px; }
.clm-style-a89e3f0bad { font-size: 0.8rem; letter-spacing: 0.15em; }
.clm-style-a91bcf2ca9 { width: 120px; height: 120px; border-style: dashed !important; border-width: 2px !important; }
.clm-style-a951cfe5e5 { width: 44px; height: 44px; font-size: 0.85rem; }
.clm-style-a98891df09 { letter-spacing: -1px; }
.clm-style-aa211485f0 { letter-spacing: 0.5em; }
.clm-style-aae30f4ce1 { font-size: 0.8rem; }
.clm-style-ab7e0f04c1 { font-size: 0.65rem; color: #6f42c1; }
.clm-style-abcd7061d2 { background: transparent !important; }
.clm-style-ad321a50db { font-size: 1.5rem; letter-spacing: -1px; }
.clm-style-ad8c93e5fe { width: 15% }
.clm-style-ae28122bc1 { width: 120px; }
.clm-style-afe90a4e8f { width: 50px; }
.clm-style-b07581571a { width: 200px; }
.clm-style-b0a387c66f { font-size: 0.55rem; color: #fd7e14 !important; }
.clm-style-b258c3e162 { width: 7% }
.clm-style-b2cf557c36 { letter-spacing: 0.05em; font-size: 0.75rem; }
.clm-style-b381c89df8 { width: 34px; height: 34px; }
.clm-style-b4ef15fd39 { border: 1px solid rgba(0,0,0,0.05); }
.clm-style-b501c9cf5b { background: #f8f9fa !important; }
.clm-style-b56ed835a3 { width: 80px; height: 80px; }
.clm-style-b64ff26385 { width: 42px; height: 42px; }
.clm-style-b75bd4170d { width: 40px; height: 40px; backdrop-filter: blur(4px); }
.clm-style-b7d9fe3ce4 { font-size: 0.75rem; letter-spacing: 0.05em; }
.clm-style-b7dd1a6a52 { max-width: 800px; }
.clm-style-b8088cadb2 { font-size: 0.95rem; }
.clm-style-b974f60c39 { font-size:0.65rem;letter-spacing:0.08em;text-transform:uppercase; }
.clm-style-b993043ed4 { width: 48px; height: 48px; background: linear-gradient(135deg, #6f42c1, #0d6efd); }
.clm-style-ba4b2eaf19 { min-width: 200px; font-size: 0.75rem; }
.clm-style-bb0279f37e { width: 56px; height: 56px; }
.clm-style-bb7db8922f { font-size: 0.75rem; letter-spacing: 0.1em; color: rgba(0, 31, 63, 0.6) !important; }
.clm-style-bba17f2652 { background-color: rgba(0,0,0,0.5); }
.clm-style-bc13b37373 { height: 300px; }
.clm-style-bc4e3d66f5 { width: 52px; height: 52px; }
.clm-style-bccc632544 { font-size: 3rem; letter-spacing: -1px; }
.clm-style-bd2f1c9041 { width: 10px; height: 10px; background-color: #e11d48; }
.clm-style-bd8fd5cc34 { font-size: 0.55rem; color: #cc8400 !important; }
.clm-style-bdd8116a16 { height: auto; }
.clm-style-bebbc62e87 { font-size: 0.65rem; letter-spacing: 0.2em; }
.clm-style-bed8029bcb { width: 6px; height: 6px; }
.clm-style-bef6e3332c { max-height: 68vh; overflow-y: auto; overflow-x: hidden; }
.clm-style-bf43e56416 { background: linear-gradient(135deg, #6f42c1, #4e2a84); border: none; }
.clm-style-bf99a49614 { max-width: 400px; font-size: 0.7rem; }
.clm-style-c036c09e57 { font-size: 0.8rem; letter-spacing: 0.1em; }
.clm-style-c0536688c8 { font-size: 0.65rem; letter-spacing: 0.2em; backdrop-filter: blur(4px); }
.clm-style-c05bb32810 { width: 8px; height: 8px; animation: pulse 2s infinite; }
.clm-style-c1119fed36 { width: 78% }
.clm-style-c1135a306b { width:70px;height:70px;font-size:1.8rem;border: 1px solid rgba(255,255,255,0.1); }
.clm-style-c27ad155d8 { width: 40px; height: 40px; color: #6f42c1 !important; }
.clm-style-c2cd843d0a { margin-left: 1px; }
.clm-style-c349026606 { font-size: 0.6rem; letter-spacing: 0.5em; }
.clm-style-c401d274aa { font-size: 0.85rem; color: #6f42c1 !important; }
.clm-style-c444d042aa { font-size: 4rem; line-height: 1; letter-spacing: -3px; }
.clm-style-c467a3ad65 { width: 150px; height: 150px; top: -50px; right: -50px; }
.clm-style-c53e751c98 { width: 56px; height: 56px; color: #0d6efd !important; }
.clm-style-c5979be373 { min-height: 350px; }
.clm-style-c5da802e54 { font-size: 0.65rem; background: rgba(255,255,255,0.2) !important; }
.clm-style-c5f00268a7 { width: 10px; height: 10px; }
.clm-style-c642dd4156 { width: 28px; height: 28px; font-size: 0.75rem; }
.clm-style-c97fa65cd0 { width: 4px; height: 16px; }
.clm-style-c9ae46ce31 { height: 32px; }
.clm-style-ca1e42808e { font-size: 0.7rem; letter-spacing: 0.1em; }
.clm-style-cb43f89838 { min-width: 140px; }
.clm-style-cc7f1436d7 { color: #6f42c1; }
.clm-style-cc9ddd2e8e { width: 10rem; height: 10rem; transform: translate(30%, -30%); }
.clm-style-ccfb6175fd { font-size: 0.75rem; width: auto; min-width: 150px; }
.clm-style-cd254e1ab4 { width: 44px; height: 44px; }
.clm-style-cd45831908 { letter-spacing: -4px; }
.clm-style-cee6336443 { font-size: 0.95rem; letter-spacing: 0.05em; }
.clm-style-d151795aaf { font-size: 0.70rem; }
.clm-style-d1772f011e { width: 28px; height: 28px; }
.clm-style-d27cc6deb5 { transform: scale(0.5); }
.clm-style-d2d3df7b55 { font-size: 1rem; letter-spacing: 0.2em; }
.clm-style-d366c7f65d { font-size: 1.1rem; line-height: 1.2; }
.clm-style-d3e3075f16 { max-width: 450px; width: 100%; }
.clm-style-d3f3b08214 { max-width: 250px; font-size: 0.7rem; }
.clm-style-d3ff868450 { width: 100px; height: 100px; bottom: -20px; right: -20px; filter: blur(15px); }
.clm-style-d406ae77d5 { height: 160px; }
.clm-style-d4f3926602 { font-size: 0.65rem; letter-spacing: 0.3em; }
.clm-style-d51c9f6055 { max-width: 220px; }
.clm-style-d5a900db68 { font-size: 0.75rem; letter-spacing: 0.1em; }
.clm-style-d6bfebacad { font-size: 0.65rem; letter-spacing: 0.05em; }
.clm-style-d79e0d77bf { background-color: #000c1a !important; }
.clm-style-d82423ee72 { color: #4f46e5; }
.clm-style-dab29de8a1 { width: 48px; height: 48px; font-size: 0.8rem; }
.clm-style-db3aea6fb7 { font-size: 0.55rem; letter-spacing: 0.15em; }
.clm-style-db6582d5cf { letter-spacing: -0.5px; }
.clm-style-dbb859dc89 { font-size: 0.68rem; letter-spacing: 0.08em; }
.clm-style-dd604e3a3e { width: 16rem; height: 16rem; transform: translate(30%, -30%); }
.clm-style-ddc228b957 { letter-spacing: -0.2px; }
.clm-style-de67d20909 { width: 6px; height: 24px; background-color: #6f42c1; }
.clm-style-dee324ed16 { width: 32px; height: 32px; }
.clm-style-df41d85bf9 { font-size:0.7rem;font-weight:700;text-transform:uppercase;letter-spacing:0.05em; }
.clm-style-df9ac5df83 { font-size: 0.55rem; letter-spacing: 0.1em; }
.clm-style-df9fe50511 { background: linear-gradient(135deg, #6f42c1, #0d6efd); }
.clm-style-e02956c3d3 { width: 400px; z-index: 60; }

/* POS transaction workspace */
.pos-transaction-panel {
    width: 440px;
    min-width: 420px;
    z-index: 60;
}

.pos-settlement-strip {
    min-height: 54px;
    padding: 10px 14px;
    border: 1px solid rgba(7, 43, 76, .14);
    background: #f5f8fb;
    color: #082b4c;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.pos-settlement-strip span {
    display: flex;
    flex-direction: column;
}

.pos-settlement-strip small {
    color: #6c7885;
    margin-top: 2px;
}

.pos-cart-scroll {
    min-height: 270px;
}

.pos-cart-item {
    min-height: 128px;
}

.pos-serial-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.pos-serial-list input {
    min-width: 0;
    height: 34px;
    font-size: 11px;
}

.pos-serial-not-required {
    color: #7c8792;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.pos-settlement-modal .modal-body {
    background: #f5f7fa;
    padding: 20px;
}

.pos-settlement-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.pos-settlement-section {
    background: #fff;
    border: 1px solid #e2e8ef;
    border-radius: 14px;
    padding: 18px;
}

.pos-settlement-section h6,
.pos-agreement-box > label {
    color: #082b4c;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pos-payment-options,
.pos-delivery-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0;
}

.pos-payment-options .btn,
.pos-delivery-options .btn {
    border: 1px solid #d8e0e8;
    min-height: 48px;
    color: #52606d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
}

.pos-payment-options .btn.active,
.pos-delivery-options .btn.active {
    background: #082b4c;
    border-color: #082b4c;
    color: #fff;
}

.pos-agreement-box {
    margin-top: 16px;
    padding: 14px;
    border-radius: 12px;
    background: #edf3f8;
    border: 1px solid #cbd9e5;
}

.pos-agreement-box > label {
    display: block;
    margin: 10px 0 6px;
}

.pos-agreement-box > label:first-child {
    margin-top: 0;
}

.pos-advance-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.pos-advance-summary span,
.pos-server-totals span {
    display: flex;
    flex-direction: column;
    color: #66727e;
    font-size: 12px;
}

.pos-advance-summary strong,
.pos-server-totals strong {
    color: #082b4c;
    font-size: 15px;
}

.pos-loyalty-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    background: #fff8df;
    border: 1px solid #f1d889;
}

.pos-loyalty-box div {
    display: flex;
    flex-direction: column;
}

.pos-server-totals {
    display: grid;
    gap: 9px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e2e8ef;
}

.pos-server-totals span {
    flex-direction: row;
    justify-content: space-between;
}

.pos-server-totals .total {
    font-size: 15px;
    font-weight: 900;
}

.pos-server-totals .total strong {
    color: #b7892d;
    font-size: 20px;
}

.pos-validation-errors {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff0f0;
    border: 1px solid #efb0b0;
    color: #9c2525;
}

.pos-validation-errors div {
    display: flex;
    gap: 8px;
    margin: 4px 0;
}

@media (max-width: 1200px) {
    .pos-transaction-panel {
        width: 410px;
        min-width: 390px;
    }
}

@media (max-width: 900px) {
    .pos-settlement-grid {
        grid-template-columns: 1fr;
    }
}

.boot-status {
    margin-top: 18px;
    color: #52606d;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.boot-status-error {
    max-width: 520px;
    margin-inline: auto;
    color: #9c2525;
}

.boot-status-error button {
    margin-left: 8px;
    padding: 6px 14px;
    border: 0;
    border-radius: 6px;
    background: #082b4c;
    color: #fff;
    font-weight: 800;
}

.driver-portal-search-wrap {
    position: relative;
    flex: 1 1 420px;
    max-width: 620px;
}

.driver-portal-search-wrap > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #778493;
    z-index: 2;
}

.driver-portal-search-wrap .form-control {
    min-height: 42px;
    padding-left: 40px;
    padding-right: 42px;
    border: 1px solid #dbe3eb;
    border-radius: 999px;
    background: #fff;
    font-weight: 700;
}

.driver-portal-search-wrap .btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: #778493;
    border: 0;
}
.clm-style-e03609198a { max-width: 400px; width: 100%; }
.clm-style-e07d53c919 { font-size: 0.6rem; padding: 0.2rem 0.5rem; }
.clm-style-e120415b69 { max-width: 400px; width: 100%; border: 1px solid rgba(0,0,0,0.05) !important; }
.clm-style-e1a152aab9 { color: #d4af37 !important; }
.clm-style-e1bf491339 { width: 48px; height: 48px; background: var(--clm-accent); }
.clm-style-e25fdac508 { background: linear-gradient(135deg, #059669 0%, #065f46 100%) !important; box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.5), 0 20px 40px -10px rgba(5, 150, 105, 0.4) !important; border-radius: 2rem !important; border-top: 1px solid rgba(255,255,255,0.2) !important; border-left: 1px solid rgba(255,255,255,0.1) !important; }
.clm-style-e35c3d0b8c { font-size: 0.7rem; letter-spacing: 0.2em; color: #6f42c1 !important; }
.clm-style-e3cd114f12 { font-size: 0.85rem; letter-spacing: 0.15em; }
.clm-style-e42dc5bee3 { max-width: 250px; }
.clm-style-e496bd5b9d { width: 24px; height: 24px; left: -13px; top: 12px; font-size: 10px; }
.clm-style-e4ad7e0dc1 { font-size: 0.55rem; letter-spacing: -0.5px; }
.clm-style-e4ebe03c6a { background: linear-gradient(135deg, #f8f9fa 0%, rgba(13, 110, 253, 0.05) 50%, rgba(102, 16, 242, 0.05) 100%); }
.clm-style-e50b30d92f { width: 64px; height: 64px; }
.clm-style-e54563138a { color: white !important; }
.clm-style-e620b98c86 { width: 32px; height: 6px; }
.clm-style-e6d362e54c { width: 260px; height: 260px; right: -80px; bottom: -80px; filter: blur(50px); }
.clm-style-e6ef5e8b2d { min-width: 100px; }
.clm-style-e7438ef813 { font-size: 0.55rem; color: #6f42c1 !important; }
.clm-style-e74aa846db { width: 50px; height: 50px; }
.clm-style-e7cb1ab8ae { max-width: 300px; }
.clm-style-e7eb4aa9ca { font-size: 0.7rem; border-color: rgba(0,0,0,0.05); }
.clm-style-e95a617680 { font-size: 0.55rem; letter-spacing: 0.05em; }
.clm-style-ea01e09be4 { font-size: 3rem; }
.clm-style-ecfa7f15eb { font-size: 0.65rem; letter-spacing: 0.15em; opacity: 0.7; }
.clm-style-ed08e28b31 { width: 100%; height: 100%; }
.clm-style-ed501f1393 { background: linear-gradient(135deg, #3730a3 0%, #6366f1 100%) !important; box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.5), 0 20px 40px -10px rgba(99, 102, 241, 0.4) !important; color: white !important; border-radius: 2rem !important; border-top: 1px solid rgba(255,255,255,0.2) !important; border-left: 1px solid rgba(255,255,255,0.1) !important; }
.clm-style-ed55e5720f { width: 100px; }
.clm-style-ed79b7f1a3 { background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #312e81 100%); border-radius: 2.5rem; }
.clm-style-ee151aaa5c { width: 50px; height: 50px; background: rgba(255,255,255,0.2) !important; border: 1px solid rgba(255,255,255,0.3) !important; }
.clm-style-ee8c20421b { height: 12px; padding: 2px; }
.clm-style-ef2b040574 { background: linear-gradient(135deg, #e11d48 0%, #9f1239 100%) !important; box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.5), 0 20px 40px -10px rgba(225, 29, 72, 0.4) !important; border-radius: 2rem !important; border-top: 1px solid rgba(255,255,255,0.2) !important; border-left: 1px solid rgba(255,255,255,0.1) !important; }
.clm-style-f001673268 { min-height: 400px; }
.clm-style-f02dbe200b { background-color: #f1f5f9; }
.clm-style-f0b30add06 { max-height: 400px; overflow-y: auto; }

.proforma-actions-cell {
    min-width: 270px;
}

.proforma-action-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
}

.proforma-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 38px;
    border-radius: var(--brand-radius-md);
    white-space: nowrap;
}

.proforma-create-modal {
    height: min(760px, calc(100dvh - 3rem));
    max-height: calc(100dvh - 3rem);
}

.proforma-create-layout {
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.proforma-cart-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.proforma-empty-cart {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.proforma-cart-summary {
    flex-shrink: 0;
    background: #fff;
    box-shadow: 0 -12px 24px rgba(var(--brand-navy-rgb), 0.04);
}

.clm-modal-layer {
    z-index: 2000;
}

.clm-modal-layer .modal-dialog {
    margin: 1.5rem auto;
    max-height: calc(100dvh - 3rem);
}

.clm-modal-layer .modal-xl {
    width: min(1040px, calc(100vw - 3rem));
    max-width: min(1040px, calc(100vw - 3rem));
}

.proforma-workflow-modal {
    width: min(860px, calc(100vw - 3rem));
    max-width: min(860px, calc(100vw - 3rem));
    margin-inline: auto;
}

.clm-modal-layer .modal-content {
    max-height: calc(100dvh - 3rem);
}

@media (max-width: 1599.98px), (max-height: 900px) {
    .clm-modal-layer .modal-xl {
        width: min(900px, calc(100vw - 2rem));
        max-width: min(900px, calc(100vw - 2rem));
    }

    .proforma-create-modal {
        height: calc(100dvh - 2rem);
        max-height: calc(100dvh - 2rem);
    }

    .clm-modal-layer .modal-dialog,
    .clm-modal-layer .modal-content {
        max-height: calc(100dvh - 2rem);
    }

    .clm-modal-layer .modal-dialog {
        margin-block: 1rem;
    }

    .proforma-create-layout > .p-4,
    .proforma-cart-content,
    .proforma-cart-summary {
        padding: 1rem !important;
    }

    .proforma-empty-cart {
        min-height: 150px;
    }

    .proforma-cart-summary .mt-4 {
        margin-top: 0.75rem !important;
    }
}

@media (max-width: 1199.98px) {
    .clm-modal-layer .modal-xl {
        width: calc(100vw - 1.5rem);
        max-width: calc(100vw - 1.5rem);
    }
}

@media (max-width: 991.98px) {
    .proforma-actions-cell {
        min-width: 150px;
    }

    .proforma-action-button span {
        display: none;
    }

    .proforma-action-button {
        width: 38px;
        padding-inline: 0;
    }

    .clm-modal-layer .modal-dialog {
        width: calc(100vw - 1rem);
        max-width: calc(100vw - 1rem);
        margin: 0.5rem auto;
        max-height: calc(100dvh - 1rem);
    }

    .clm-modal-layer .modal-content,
    .proforma-create-modal {
        height: calc(100dvh - 1rem);
        max-height: calc(100dvh - 1rem);
    }

    .proforma-create-layout {
        height: 100%;
    }
}

@media (max-width: 575.98px) {
    .clm-modal-layer .modal-dialog {
        width: 100vw;
        max-width: 100vw;
        height: 100dvh;
        max-height: 100dvh;
        margin: 0;
    }

    .clm-modal-layer .modal-content,
    .proforma-create-modal {
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0 !important;
    }

    .proforma-create-layout > .p-4,
    .proforma-cart-content,
    .proforma-cart-summary {
        padding: 0.75rem !important;
    }

    .proforma-cart-content .d-flex.justify-content-between {
        align-items: flex-start !important;
        gap: 0.75rem;
    }

    .proforma-cart-summary .d-flex.justify-content-end {
        flex-direction: column-reverse;
    }

    .proforma-cart-summary .btn {
        width: 100%;
        justify-content: center;
    }
}

.clm-style-f0dff62b86 { border-style: dashed !important; }
.clm-style-f1e54e893f { font-size: 0.8rem; height: auto; }
.clm-style-f3a9c9febb { background-color: #F8FAFC; }
.clm-style-f45d82cc7b { font-size:1.6rem; }
.clm-style-f490b04e52 { width: 2rem; height: 2rem; }
.clm-style-f4d92deb31 { width: 3rem; height: 3rem; }
.clm-style-f4f338bc05 { background: linear-gradient(135deg, #001f3f 0%, #003366 100%); }
.clm-style-f61535959f { width: 40px; height: 1px; background-color: currentColor; }
.clm-style-f7aed996af { font-size: 0.85rem; letter-spacing: 0.05em; }
.clm-style-f7b0da5303 { font-size: 0.75rem; width: auto; min-width: 120px; }
.clm-style-f8de2f308c { font-size: 0.75rem; color: #cc8400 !important; }
.clm-style-f8fffccd9b { font-size: 0.6rem; background-color: rgba(102, 16, 242, 0.1) !important; color: #6610f2 !important; }
.clm-style-fa93aacbff { width: 32px; height: 32px; font-size: 0.75rem; }
.clm-style-fc3d718571 { font-size: 0.75rem; letter-spacing: 0.05em; opacity: 0.9; }
.clm-style-fc46a9548e { font-size:0.85rem; }
.clm-style-fcdf0e0d06 { transform: rotate(15deg); }
.clm-style-ffe32190ca { width: 8px; height: 8px; color: #001f3f !important; }

/* Runtime component values are supplied through data attributes. */
.clm-dynamic-width {
    width: attr(data-width type(<percentage>), 0%);
}

.clm-dynamic-height {
    height: attr(data-height type(<percentage>), 0%);
}

.clm-dynamic-max-width {
    max-width: attr(data-max-width type(<percentage>), 100%);
}

.clm-progress-height-4 {
    height: 4px;
}

.clm-progress-full-height {
    height: 100%;
}

.clm-progress-rounded {
    border-radius: 10px;
}

.clm-progress-success-glow {
    box-shadow: 0 0 10px rgba(25, 135, 84, 0.4);
}

.clm-progress-gold {
    background-color: #d4af37 !important;
}

.clm-progress-indigo {
    background-color: #4f46e5 !important;
}

.clm-dynamic-background {
    background-color: attr(data-color type(<color>), #6f42c1);
}

.clm-loyalty-level-icon-sm {
    width: 40px;
    height: 40px;
}

.clm-loyalty-level-icon-lg {
    width: 80px;
    height: 80px;
    border-radius: 1rem;
}

.clm-loyalty-level-badge {
    --level-color: attr(data-color type(<color>), #6f42c1);
    color: var(--level-color);
    background-color: color-mix(in srgb, var(--level-color) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--level-color) 19%, transparent);
}

.clm-driver-status-pending { background-color: #b9934b; }
.clm-driver-status-unassigned { background-color: #6f7a88; }
.clm-driver-status-progress { background-color: #0a2f5f; }
.clm-driver-status-completed { background-color: #0d3a73; }
.clm-driver-status-failed { background-color: #dc3545; }

.clm-driver-gradient-pending { background: linear-gradient(135deg, #c7a765, #a98137); }
.clm-driver-gradient-progress { background: linear-gradient(135deg, #103f7a, #0a2f5f); }
.clm-driver-gradient-failed { background: linear-gradient(135deg, #dc3545, #b02a37); }

.clm-gauge-shadow-success { filter: drop-shadow(0 0 5px #198754); }
.clm-gauge-shadow-danger { filter: drop-shadow(0 0 5px #dc3545); }
.clm-gauge-shadow-primary { filter: drop-shadow(0 0 5px #667eea); }

.clm-chart-color-0 { background-color: #001f3f; }
.clm-chart-color-1 { background-color: #d4af37; }
.clm-chart-color-2 { background-color: #10b981; }
.clm-chart-color-3 { background-color: #e11d48; }
.clm-chart-color-4 { background-color: #6b7280; }
.clm-chart-color-fallback { background-color: #94a3b8; }

.clm-chart-key {
    width: 12px;
    height: 12px;
}

.clm-loyalty-expiry-badge {
    font-size: 0.55rem;
}

.clm-loyalty-expiry-badge-pending {
    color: #cc8400 !important;
}

.clm-reward-affordable {
    color: #6f42c1 !important;
}

.clm-advance-summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 0.65rem;
    background: rgba(197, 160, 89, 0.08);
    color: #001f3f;
    font-size: 0.78rem;
    font-weight: 700;
}

.clm-advance-summary-amount {
    margin-left: auto;
    color: #9a762f;
    font-weight: 800;
}

body.theme-clm-navy-gold {
    background: #07111f !important;
}

body.theme-clm-navy-gold .app-wrapper {
    min-height: 100vh;
    background: #07111f;
}

body.theme-clm-navy-gold .app-main {
    background: radial-gradient(circle at top left, rgba(197, 160, 89, 0.13), transparent 28rem),
        linear-gradient(180deg, #07111f 0%, #0b1727 42%, #f4f7fb 42%, #eef3f8 100%) !important;
}

body.theme-clm-navy-gold .app-header-dark {
    background: linear-gradient(90deg, #050b14, #001f3f 55%, #050b14) !important;
    border-bottom: 1px solid rgba(197, 160, 89, 0.35) !important;
}

body.theme-clm-navy-gold .clm-sidebar-premium {
    background: linear-gradient(180deg, #050b14 0%, #001f3f 48%, #000814 100%) !important;
    border-right: 1px solid rgba(197, 160, 89, 0.28) !important;
    box-shadow: 8px 0 28px rgba(0, 0, 0, 0.25) !important;
}

body.theme-clm-navy-gold .sidebar-brand {
    border-bottom: 1px solid rgba(197, 160, 89, 0.22);
}

body.theme-clm-navy-gold .brand-link {
    color: #f8fafc !important;
}

body.theme-clm-navy-gold .sidebar-menu .nav-link {
    color: rgba(255, 255, 255, 0.72) !important;
    border-radius: 8px !important;
}

body.theme-clm-navy-gold .sidebar-menu .nav-link:hover {
    background: rgba(197, 160, 89, 0.12) !important;
    color: #ffffff !important;
}

body.theme-clm-navy-gold .sidebar-menu .nav-link.active {
    background: linear-gradient(135deg, #c5a059, #f2d38a) !important;
    color: #07111f !important;
}

.clm-main-dashboard {
    padding: 0.25rem 0 1.5rem;
}

.clm-main-dashboard .small-box {
    min-height: 142px;
    border: 1px solid rgba(197, 160, 89, 0.24) !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 38px rgba(0, 31, 63, 0.14) !important;
    overflow: hidden;
}

.clm-main-dashboard .small-box .inner {
    position: relative;
    z-index: 1;
    padding: 1.15rem 1.05rem;
}

.clm-main-dashboard .small-box h3 {
    color: inherit !important;
    font-size: 2rem;
    font-weight: 900;
}

.clm-main-dashboard .small-box p {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.78rem;
}

.clm-main-dashboard .small-box-footer {
    background: rgba(0, 0, 0, 0.18) !important;
    color: inherit !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.clm-main-dashboard .small-box.bg-warning {
    background: linear-gradient(135deg, #c5a059, #f2d38a) !important;
    color: #07111f !important;
}

.clm-main-dashboard .small-box.bg-info {
    background: linear-gradient(135deg, #001f3f, #00447c) !important;
    color: #ffffff !important;
}

.clm-main-dashboard .small-box.bg-success {
    background: linear-gradient(135deg, #065f46, #10b981) !important;
    color: #ffffff !important;
}

.clm-main-dashboard .small-box.bg-gradient-orange {
    background: linear-gradient(135deg, #050b14, #c5a059) !important;
    color: #ffffff !important;
}

.clm-main-dashboard .small-box.bg-primary {
    background: linear-gradient(135deg, #001f3f, #07111f) !important;
    color: #f2d38a !important;
}

.clm-main-dashboard .small-box.bg-danger {
    background: linear-gradient(135deg, #7f1d1d, #dc2626) !important;
    color: #ffffff !important;
}

.clm-main-dashboard .card {
    border-radius: 8px !important;
    border: 1px solid rgba(0, 31, 63, 0.12) !important;
    box-shadow: 0 18px 38px rgba(0, 31, 63, 0.10) !important;
}

.clm-main-dashboard .card-header {
    background: linear-gradient(90deg, #07111f, #001f3f) !important;
    color: #f2d38a !important;
    border-bottom: 2px solid #c5a059 !important;
}

.clm-main-dashboard .card-title,
.clm-main-dashboard .card-header strong {
    color: #f2d38a !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.clm-dashboard-charts .card-body {
    min-height: 340px;
    background: #ffffff;
}

@media (max-width: 991.98px) {
    .clm-main-dashboard .small-box {
        min-height: 128px;
    }
}

body.theme-clm-navy-gold .app-main {
    background: linear-gradient(180deg, #07111f 0, #0b1727 180px, #eef3f8 181px, #eef3f8 100%) !important;
}

body.theme-clm-navy-gold .app-content {
    min-height: calc(100vh - 57px);
}

body.theme-clm-navy-gold .app-content .container-fluid {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

body.theme-clm-navy-gold .card:not(.small-box) {
    border: 1px solid rgba(0, 31, 63, 0.12);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(0, 31, 63, 0.10);
}

body.theme-clm-navy-gold .card-header {
    border-radius: 8px 8px 0 0;
}

.clm-main-dashboard {
    max-width: 100%;
}

.clm-main-dashboard .row {
    margin-left: 0;
    margin-right: 0;
}

.clm-main-dashboard .card .nav-pills .nav-link {
    border-radius: 6px;
    color: #001f3f;
}

.clm-main-dashboard .card .nav-pills .nav-link.active {
    background: #001f3f;
    color: #ffffff;
}

.clm-main-dashboard .card-body canvas {
    max-width: 100%;
}

@media (max-width: 575.98px) {
    body.theme-clm-navy-gold .app-content .container-fluid {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}
