.contents {
    display: contents !important;
}

.justify-between {
    justify-content: space-between !important;
}

.ml-auto {
    margin-left: auto !important;
}

/* Walkthrough Header */
.wt-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

.wt-header-right {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
}

/* Walkthrough Tour Card - Completed Light Green Theme */
.wt-completed-card {
    border-color: rgba(16, 185, 129, 0.25) !important;
    background-color: rgba(16, 185, 129, 0.035) !important;
}
.wt-completed-card:hover {
    border-color: rgba(16, 185, 129, 0.45) !important;
    background-color: rgba(16, 185, 129, 0.07) !important;
}
.wt-completed-badge {
    background-color: rgba(16, 185, 129, 0.12) !important;
    color: #065f46 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
}
.wt-completed-btn {
    background-color: #ffffff !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #047857 !important;
}
.wt-completed-btn:hover {
    background-color: rgba(16, 185, 129, 0.08) !important;
}
.wt-completed-divider {
    border-color: rgba(16, 185, 129, 0.18) !important;
}

/* Walkthrough Tour Card - Smooth Orange Pending Theme */
.wt-pending-card {
    border-color: rgba(249, 115, 22, 0.25) !important;
    background-color: rgba(249, 115, 22, 0.04) !important;
}
.wt-pending-card:hover {
    border-color: rgba(249, 115, 22, 0.45) !important;
    background-color: rgba(249, 115, 22, 0.07) !important;
}
.wt-pending-badge {
    background-color: #ffedd5 !important;
    color: #9a3412 !important;
    border: 1px solid #fed7aa !important;
}
.wt-pending-pill {
    background-color: rgba(249, 115, 22, 0.12) !important;
    color: #c2410c !important;
    border: 1px solid rgba(249, 115, 22, 0.25) !important;
}
.wt-pending-dot {
    background-color: #f97316 !important;
}
.wt-pending-btn {
    background-color: #f97316 !important;
    color: #ffffff !important;
    border: 1px solid rgba(234, 88, 12, 0.3) !important;
    box-shadow: 0 1px 3px rgba(249, 115, 22, 0.25) !important;
}
.wt-pending-btn:hover {
    background-color: #ea580c !important;
    color: #ffffff !important;
}
.wt-pending-divider {
    border-color: #fed7aa !important;
}
.wt-pending-chevron {
    color: #fb923c !important;
}

/* Walkthrough Responsive Layout - Single Row on Desktop (>=1024px), Top to Bottom on Mobile & Tab (<1024px) */
@media (min-width: 1024px) {
    .wt-container-row {
        flex-direction: row !important;
        align-items: center !important;
    }
    .wt-card-row {
        flex: 1 1 0% !important;
        min-width: 0 !important;
        align-self: stretch !important;
        width: auto !important;
    }
    .wt-chevron-desktop {
        display: block !important;
    }
    .wt-chevron-mobile {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    .wt-container-row {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .wt-card-row {
        width: 100% !important;
    }
    .wt-chevron-desktop {
        display: none !important;
    }
    .wt-chevron-mobile {
        display: block !important;
    }
}

.min-h-0 {
    min-height: 0px !important;
}

.overflow-y-auto {
    overflow-y: auto !important;
}

.list-disc {
    list-style-type: disc;
}

.pl-9 {
    padding-left: 2.25rem !important;
}

.bg-secondary\/15 {
    background-color: color-mix(in oklab, var(--secondary) 15%, transparent) !important;
}

.border-border\/60 {
    border-color: color-mix(in oklab, var(--border) 60%, transparent) !important;
}

.gap-2\.5 {
    gap: 0.625rem !important;
}

.p-2\.5 {
    padding: 0.625rem !important;
}

.hover\:bg-muted\/30:hover {
    background-color: color-mix(in oklab, var(--muted) 30%, transparent) !important;
}

.gap-0\.5 {
    gap: 0.125rem !important;
}

.border-gray-300 {
    border-color: #d1d5db !important;
}

.focus\:ring-secondary:focus {
    --tw-ring-color: var(--secondary) !important;
    box-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;
}

/* Timeline Custom Styles */
.-left-\[30px\] {
    left: -30px !important;
}

.bg-muted\/40 {
    background-color: color-mix(in oklab, var(--muted) 40%, transparent) !important;
}

.border-border\/50 {
    border-color: color-mix(in oklab, var(--border) 50%, transparent) !important;
}

.mt-0\.5 {
    margin-top: 0.125rem !important;
}

.mt-1\.5 {
    margin-top: 0.375rem !important;
}

.h-1\.5 {
    height: 0.375rem !important;
}

.w-1\.5 {
    width: 0.375rem !important;
}

.pl-6 {
    padding-left: 1.5rem !important;
}

.ml-2 {
    margin-left: 0.5rem !important;
}

.ml-3 {
    margin-left: 0.75rem !important;
}

/* Category Delete Confirmation Modal Utilities */
.bg-background\/80 {
    background: color-mix(in oklab, var(#000, #000) 10%, transparent) !important;
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter !important;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-duration: 150ms !important;
}

.ease-in {
    transition-timing-function: cubic-bezier(0.4, 0, 1, 1) !important;
}

.ease-out {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1) !important;
}

.ease-in-out {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.duration-200 {
    transition-duration: 200ms !important;
}

.duration-300 {
    transition-duration: 300ms !important;
}

.scale-95 {
    transform: scale(0.95) !important;
}

.scale-100 {
    transform: scale(1) !important;
}

.translate-x-full {
    transform: translateX(100%) !important;
}

.translate-x-0 {
    transform: translateX(0) !important;
}

.border-l-4 {
    border-left-width: 4px !important;
}

.bg-destructive\/15 {
    background-color: color-mix(in oklab, var(--destructive, #d91c1c) 15%, transparent) !important;
}

.hover\:bg-muted:hover {
    background-color: var(--muted, #f3f4f6) !important;
}

.hover\:bg-destructive\/90:hover {
    background-color: color-mix(in oklab, var(--destructive, #d91c1c) 90%, transparent) !important;
}

.capitalize {
    text-transform: capitalize !important;
}

.bg-success\/15 {
    background-color: color-mix(in oklab, var(--success, #063532) 15%, transparent) !important;
}

.text-success {
    color: var(--success, #063532) !important;
}

/* Import Summary Panel Utility Classes */
.border-l-success {
    border-left-color: var(--success, #063532) !important;
}

.border-l-warning {
    border-left-color: var(--warning, #f59e0b) !important;
}

.border-l-destructive {
    border-left-color: var(--destructive, #d91c1c) !important;
}

.bg-success\/10 {
    background-color: color-mix(in oklab, var(--success, #063532) 10%, transparent) !important;
}

.bg-warning\/10 {
    background-color: color-mix(in oklab, var(--warning, #f59e0b) 10%, transparent) !important;
}

.bg-destructive\/10 {
    background-color: color-mix(in oklab, var(--destructive, #d91c1c) 10%, transparent) !important;
}

.bg-destructive\/5 {
    background-color: color-mix(in oklab, var(--destructive, #d91c1c) 5%, transparent) !important;
}

.border-destructive\/20 {
    border-color: color-mix(in oklab, var(--destructive, #d91c1c) 20%, transparent) !important;
}

.text-warning {
    color: var(--warning, #d97706) !important;
}

.bg-primary\/10 {
    background-color: color-mix(in oklab, var(--primary, #0f172a) 10%, transparent) !important;
}

.bg-muted\/30 {
    background-color: color-mix(in oklab, var(--muted, #f3f4f6) 30%, transparent) !important;
}

.rotate-90 {
    transform: rotate(90deg) !important;
}

.scrollbar-thin::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track {
    background: transparent;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
    background: var(--border, #e5e7eb);
    border-radius: 3px;
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: var(--muted-foreground, #9ca3af);
}

.hover\:text-primary:hover {
    color: var(--primary, #063532) !important;
}

@media (min-width: 768px) {
    .md\:p-6 {
        padding: 1.5rem !important;
    }
}

.mb-5 {
    margin-bottom: 1.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.font-sans {
    font-family: var(--font-sans, "Google Sans", system-ui, -apple-system, sans-serif) !important;
}

.inline-block {
    display: inline-block !important;
}

.gap-3\.5 {
    gap: 0.875rem !important;
}

.space-y-1\.5 > * + * {
    margin-top: 0.375rem !important;
}

/* Premium Tab Bar Redesign */
.admin-vouchers-tab {
    display: inline-flex !important;
    flex-direction: column !important;
    padding: 0.75rem 0.5rem !important;
    text-align: left !important;
    text-decoration: none !important;
}

.admin-vouchers-tab .tab-title {
    font-display: var(--font-display, "Google Sans", sans-serif);
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: inherit;
}

.admin-vouchers-tab .tab-desc {
    font-size: 0.6875rem !important;
    font-weight: 400 !important;
    color: var(--muted-foreground, #6b7280) !important;
    margin-top: 0.125rem !important;
    transition: color 0.15s ease;
    white-space: normal !important;
}

.admin-vouchers-tab.is-active .tab-desc {
    color: var(--primary, #063532) !important;
    opacity: 0.8;
}

/* Spinner Animation for Loader */
.animate-spin {
    animation: spin 1s linear infinite !important;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Custom layout & utility classes for Order Details */
.space-y-2 > * + * {
    margin-top: 0.5rem !important;
}

.border-muted {
    border-color: var(--border, #e5e7eb) !important;
}

.pb-1\.5 {
    padding-bottom: 0.375rem !important;
}

.pt-8 {
    padding-top: 2rem !important;
}

.pb-6 {
    padding-bottom: 1.5rem !important;
}

.pb-8 {
    padding-bottom: 2rem !important;
}

.admin-merchant-drawer {
    height: 100%;
}

.gap-2\.5 {
    gap: 0.625rem !important;
}

.p-2\.5 {
    padding: 0.625rem !important;
}

/* -- Notification-list custom scrollbar ------------------------------------ */
#admin-notifications-list,
#customer-notifications-list {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--color-border) transparent;
}

#admin-notifications-list::-webkit-scrollbar,
#customer-notifications-list::-webkit-scrollbar {
    width: 4px;
}

#admin-notifications-list::-webkit-scrollbar-track,
#customer-notifications-list::-webkit-scrollbar-track {
    background: transparent;
}

#admin-notifications-list::-webkit-scrollbar-thumb,
#customer-notifications-list::-webkit-scrollbar-thumb {
    background-color: var(--color-border);
    border-radius: 9999px;
}

#admin-notifications-list::-webkit-scrollbar-thumb:hover,
#customer-notifications-list::-webkit-scrollbar-thumb:hover {
    background-color: color-mix(in srgb, var(--color-secondary) 60%, transparent);
}

.overflow-y-scroll {
    overflow-y: scroll !important;
}

.max-h-80 {
    max-height: 20rem !important;
}

/* -- Payment State Banner Utilities (order-detail, send page) -------------- */
/* Red palette ------------------------------------------------ */
.bg-red-50 {
    background-color: #fef2f2 !important;
}

.bg-red-100 {
    background-color: #fee2e2 !important;
}

.bg-red-600 {
    background-color: #dc2626 !important;
}

.bg-red-100\/60 {
    background-color: rgba(254, 226, 226, 0.6) !important;
}

.border-red-100 {
    border-color: #fee2e2 !important;
}

.border-red-200 {
    border-color: #fecaca !important;
}

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

.text-red-700 {
    color: #b91c1c !important;
}

.text-red-900 {
    color: #7f1d1d !important;
}

.hover\:bg-red-50:hover {
    background-color: #fef2f2 !important;
}

.hover\:bg-red-700:hover {
    background-color: #b91c1c !important;
}

/* Amber palette ----------------------------------------------- */
.bg-amber-50 {
    background-color: #fffbeb !important;
}

.bg-amber-100 {
    background-color: var(--color-amber-100, #fef3c7) !important;
}

.bg-amber-500 {
    background-color: #f59e0b !important;
}

.bg-amber-100\/60 {
    background-color: rgba(254, 243, 199, 0.6) !important;
}

.border-amber-100 {
    border-color: var(--color-amber-100, #fef3c7) !important;
}

.border-amber-200 {
    border-color: #fde68a !important;
}

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

.text-amber-800 {
    color: #92400e !important;
}

.text-amber-900 {
    color: #78350f !important;
}

.hover\:bg-amber-50:hover {
    background-color: #fffbeb !important;
}

.hover\:bg-amber-600:hover {
    background-color: #d97706 !important;
}

/* Blue palette ------------------------------------------------ */
.bg-blue-50 {
    background-color: #eff6ff !important;
}

.bg-blue-100 {
    background-color: var(--color-blue-100, #dbeafe) !important;
}

.border-blue-200 {
    border-color: #bfdbfe !important;
}

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

.text-blue-900 {
    color: #1e3a8a !important;
}

/* Emerald palette --------------------------------------------- */
.text-emerald-200 {
    color: #a7f3d0 !important;
}

/* Spacing ----------------------------------------------------- */
.py-2\.5 {
    padding-top: 0.625rem !important;
    padding-bottom: 0.625rem !important;
}

.ml-1\.5 {
    margin-left: 0.375rem !important;
}

#admin-notification-empty {
    border-bottom: none;
}

.mb-6 {
    margin-bottom: 1.5rem !important;
}

/* -- NID / OCR upload loading states ------------------------------ */
/* Shimmer overlay sits on top of the thumbnail while OCR runs */
.nid-ocr-loading-overlay {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
            100deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.55) 50%,
            rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: nid-shimmer 1.4s infinite linear;
    pointer-events: none;
}

@keyframes nid-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Spinning icon next to the status text */
.nid-ocr-spinner {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    animation: nid-spin 0.9s linear infinite;
    color: inherit;
}

@keyframes nid-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Slim progress bar track */
.nid-ocr-progress-track {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--secondary, #f5a623) 20%, transparent);
    overflow: hidden;
}

.nid-ocr-progress-bar {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--secondary, #f5a623);
    transition: width 0.15s ease-out;
    min-width: 4px;
}

.ocr-loading-status {
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.mr-1\.5 {
    margin-right: 0.375rem !important;
}

.bg-muted {
    background-color: var(--muted, #f3f4f6) !important;
}

.pl-9 {
    padding-left: 2.25rem !important;
}

/* -----------------------------------------------------------------------------
   Merchant Panel Enhanced UI/UX Utility Classes
   ----------------------------------------------------------------------------- */

/* Alpine.js Cloak */
[x-cloak] {
    display: none !important;
}

/* Z-Index */
.z-\[100\] {
    z-index: 100 !important;
}

/* Colors - Emerald Palette */
.bg-emerald-50 {
    background-color: #ecfdf5 !important;
}

.bg-emerald-100 {
    background-color: #d1fae5 !important;
}

.bg-emerald-500 {
    background-color: #10b981 !important;
}

.bg-blue-500 {
    background-color: #3b82f6 !important;
}

.border-emerald-100 {
    border-color: #d1fae5 !important;
}

.border-emerald-200 {
    border-color: #a7f3d0 !important;
}

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

.text-emerald-700 {
    color: #047857 !important;
}

.text-emerald-800 {
    color: #065f46 !important;
}

.text-emerald-900 {
    color: #064e3b !important;
}

/* Colors - Purple Palette */
.bg-purple-50 {
    background-color: #faf5ff !important;
}

.text-purple-600 {
    color: #9333ea !important;
}

/* Colors - Slate Dark Console Palette */
.bg-slate-900 {
    background-color: #0f172a !important;
}

.border-slate-800 {
    border-color: #1e293b !important;
}

.text-slate-100 {
    color: #f8fafc !important;
}

.text-slate-300 {
    color: #cbd5e1 !important;
}

.text-amber-400 {
    color: #fbbf24 !important;
}

.text-amber-700 {
    color: #b45309 !important;
}

.border-amber-500 {
    border-color: #f59e0b !important;
}

/* Transparencies & Hover States */
.border-destructive\/30 {
    border-color: color-mix(in oklab, var(--destructive, #d91c1c) 30%, transparent) !important;
}

.bg-destructive\/30 {
    background-color: color-mix(in oklab, var(--destructive, #d91c1c) 30%, transparent) !important;
}

.hover\:bg-destructive\/20:hover {
    background-color: color-mix(in oklab, var(--destructive, #d91c1c) 20%, transparent) !important;
}

.bg-secondary\/5 {
    background-color: color-mix(in oklab, var(--secondary, #ee2327) 5%, transparent) !important;
}

.border-secondary\/50 {
    border-color: color-mix(in oklab, var(--secondary, #ee2327) 50%, transparent) !important;
}

.hover\:border-secondary\/50:hover {
    border-color: color-mix(in oklab, var(--secondary, #ee2327) 50%, transparent) !important;
}

.disabled\:opacity-50:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

/* Padding & Spacing Utilities */
.py-3\.5 {
    padding-top: 0.875rem !important;
    padding-bottom: 0.875rem !important;
}

.px-3\.5 {
    padding-left: 0.875rem !important;
    padding-right: 0.875rem !important;
}

.px-2\.5 {
    padding-left: 0.625rem !important;
    padding-right: 0.625rem !important;
}

.py-1\.5 {
    padding-top: 0.375rem !important;
    padding-bottom: 0.375rem !important;
}

/* Border Radius & Shadows */
.rounded-xl {
    border-radius: 0.75rem !important;
}

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

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1) !important;
}

.shadow-inner {
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06) !important;
}

/* Heights & Max Heights */
.h-72 {
    height: 18rem !important;
}

.max-h-56 {
    max-height: 14rem !important;
}

.max-h-60 {
    max-height: 15rem !important;
}

/* Max Widths */
.max-w-xs {
    max-width: 20rem !important;
}

.max-w-sm {
    max-width: 24rem !important;
}

.max-w-md {
    max-width: 28rem !important;
}

.max-w-lg {
    max-width: 32rem !important;
}

.max-w-xl {
    max-width: 36rem !important;
}

/* Badge Color Utilities */
.bg-purple-100 {
    background-color: #f3e8ff !important;
}

.text-purple-700 {
    color: #7e22ce !important;
}

.bg-gray-100 {
    background-color: #f3f4f6 !important;
}

.text-gray-800 {
    color: #1f2937 !important;
}

.bg-amber-100 {
    background-color: #fef3c7 !important;
}

.text-amber-800 {
    color: #92400e !important;
}

.text-amber-700 {
    color: #b45309 !important;
}

.bg-blue-100 {
    background-color: #dbeafe !important;
}

.text-blue-800 {
    color: #1e40af !important;
}

.text-blue-700 {
    color: #1d4ed8 !important;
}

.opacity-90 {
    opacity: 0.9 !important;
}

.gap-x-3 {
    gap: 0.75rem !important;
}

.gap-y-1 {
    gap: 0.25rem !important;
}

.space-y-2\.5 {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.625rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.625rem * var(--tw-space-y-reverse));
}

.space-y-4 {
    --tw-space-y-reverse: 0;
    margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
}

.text-foreground\/80 {
    color: #6b7280 !important;
}

.pl-5 {
    padding-left: 1.25rem !important;
}

.space-y-5 {
    --tw-space-y-reverse: 0;
    margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
}

.p-3\.5 {
    padding: 0.875rem !important;
}

.space-y-1 {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}

/* Partner Profile & Audit Trail Utility Classes */
.bg-amber-500\/15 {
    background-color: color-mix(in oklab, #f59e0b 15%, transparent) !important;
}

.bg-destructive\/15 {
    background-color: color-mix(in oklab, var(--destructive) 15%, transparent) !important;
}

.border-destructive\/30 {
    border-color: color-mix(in oklab, var(--destructive) 30%, transparent) !important;
}

.hover\:bg-destructive\/5:hover {
    background-color: color-mix(in oklab, var(--destructive) 5%, transparent) !important;
}

.-left-\[27px\] {
    left: -27px !important;
}

.top-1\.5 {
    top: 0.375rem !important;
}

.h-3\.5 {
    height: 0.875rem !important;
}

.w-3\.5 {
    width: 0.875rem !important;
}

.shadow-2xs {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.border-border\/80 {
    border-color: color-mix(in oklab, var(--border) 80%, transparent) !important;
}

.hover\:border-border\/80:hover {
    border-color: color-mix(in oklab, var(--border) 80%, transparent) !important;
}

.border-border\/40 {
    border-color: color-mix(in oklab, var(--border) 40%, transparent) !important;
}

.border-border\/30 {
    border-color: color-mix(in oklab, var(--border) 30%, transparent) !important;
}

.divide-border\/40 > :not([hidden]) ~ :not([hidden]) {
    border-color: color-mix(in oklab, var(--border) 40%, transparent) !important;
}

.hover\:bg-muted\/20:hover {
    background-color: color-mix(in oklab, var(--muted) 20%, transparent) !important;
}

.bg-muted\/50 {
    background-color: color-mix(in oklab, var(--muted) 50%, transparent) !important;
}

.bg-rose-500\/10 {
    background-color: rgba(244, 63, 94, 0.1) !important;
}

.text-rose-700 {
    color: #be123c !important;
}

.bg-emerald-500\/10 {
    background-color: rgba(16, 185, 129, 0.1) !important;
}

.text-emerald-700 {
    color: #047857 !important;
}

.text-\[11px\] {
    font-size: 11px !important;
    line-height: 16px !important;
}

.max-w-\[150px\] {
    max-width: 150px !important;
}

.max-w-\[200px\] {
    max-width: 200px !important;
}

.py-1\.5 {
    padding-top: 0.375rem !important;
    padding-bottom: 0.375rem !important;
}

.px-1\.5 {
    padding-left: 0.375rem !important;
    padding-right: 0.375rem !important;
}

.pb-2 {
    padding-bottom: 0.5rem !important;
}

/* --------------------------------------------------------------------------
 * Error Pages Utilities (403 & 404)
 * -------------------------------------------------------------------------- */
.bg-gradient-to-b {
    background-image: linear-gradient(to bottom, var(--tw-gradient-stops, transparent)) !important;
}

.from-amber-500\/5 {
    --tw-gradient-from: rgba(245, 158, 11, 0.05) !important;
    --tw-gradient-to: rgba(245, 158, 11, 0) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.from-primary\/5 {
    --tw-gradient-from: color-mix(in oklab, var(--primary) 5%, transparent) !important;
    --tw-gradient-to: transparent !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

.via-background {
    --tw-gradient-to: transparent !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--background) 50%, var(--tw-gradient-to) !important;
}

.to-background {
    --tw-gradient-to: var(--background) !important;
}

.bg-amber-500\/10 {
    background-color: rgba(245, 158, 11, 0.1) !important;
}

.bg-amber-500\/5 {
    background-color: rgba(245, 158, 11, 0.05) !important;
}

.bg-secondary\/10 {
    background-color: color-mix(in oklab, var(--secondary) 10%, transparent) !important;
}

.bg-primary\/10 {
    background-color: color-mix(in oklab, var(--primary) 10%, transparent) !important;
}

.bg-background\/60 {
    background-color: color-mix(in oklab, var(--background) 60%, transparent) !important;
}

.border-amber-500\/30 {
    border-color: rgba(245, 158, 11, 0.3) !important;
}

.border-secondary\/30 {
    border-color: color-mix(in oklab, var(--secondary) 30%, transparent) !important;
}

.border-border\/80 {
    border-color: color-mix(in oklab, var(--border) 80%, transparent) !important;
}

.hover\:border-secondary\/50:hover {
    border-color: color-mix(in oklab, var(--secondary) 50%, transparent) !important;
}

.hover\:bg-accent\/40:hover {
    background-color: color-mix(in oklab, var(--accent) 40%, transparent) !important;
}

.text-amber-500 {
    color: #f59e0b !important;
}

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

.dark\:text-amber-400 {
    color: #fbbf24 !important;
}

.text-7xl {
    font-size: 4.5rem !important;
    line-height: 1 !important;
}

.text-8xl {
    font-size: 6rem !important;
    line-height: 1 !important;
}

.text-9xl {
    font-size: 8rem !important;
    line-height: 1 !important;
}

@media (min-width: 640px) {
    .sm\:text-8xl {
        font-size: 6rem !important;
        line-height: 1 !important;
    }
}

@media (min-width: 768px) {
    .md\:text-9xl {
        font-size: 8rem !important;
        line-height: 1 !important;
    }
}

.tracking-wider {
    letter-spacing: 0.05em !important;
}

.blur-3xl {
    filter: blur(64px) !important;
    -webkit-filter: blur(64px) !important;
}

.hover\:scale-105:hover {
    transform: scale(1.05) !important;
}

.hover\:scale-110:hover {
    transform: scale(1.1) !important;
}

.hover\:rotate-12:hover {
    transform: rotate(12deg) scale(1.1) !important;
}

.duration-300 {
    transition-duration: 300ms !important;
}

.shrink-0 {
    flex-shrink: 0 !important;
}

.group:hover .group-hover\:bg-secondary {
    background-color: var(--secondary) !important;
}

.group:hover .group-hover\:text-secondary-foreground {
    color: var(--secondary-foreground) !important;
}

.group:hover .group-hover\:text-secondary {
    color: var(--secondary) !important;
}

.mt-14 {
    margin-top: 3.5rem !important;
}

/* -- Icon Button Tooltips (Partners page action buttons) ------------------- */
.left-1\/2 {
    left: 50% !important;
}

.-translate-x-1\/2 {
    transform: translateX(-50%) !important;
}

.-top-8 {
    top: -2rem !important;
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1 !important;
}

.opacity-0 {
    opacity: 0 !important;
}

.transition-opacity {
    transition-property: opacity !important;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-duration: 150ms !important;
}

.duration-150 {
    transition-duration: 150ms !important;
}

.pointer-events-none {
    pointer-events: none !important;
}

.whitespace-nowrap {
    white-space: nowrap !important;
}

.hover\:bg-secondary\/10:hover {
    background-color: color-mix(in oklab, var(--secondary, #ee2327) 10%, transparent) !important;
}

.hover\:bg-blue-50:hover {
    background-color: #eff6ff !important;
}

.hover\:text-blue-600:hover {
    color: #2563eb !important;
}

.text-blue-500 {
    color: #3b82f6 !important;
}

.hover\:text-amber-600:hover {
    color: #d97706 !important;
}

.text-amber-500 {
    color: #f59e0b !important;
}

/* =====================================================================
   Commission & Settlement Management - Custom CSS Utilities
   ===================================================================== */

/* Z-index for modals */
.z-\[90\] {
    z-index: 90 !important;
}

/* Modal backdrop */
.backdrop-blur-sm {
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

.bg-black\/50 {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.fixed {
    position: fixed !important;
}

.inset-0 {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
}

/* ------ Orange palette (change-request badges) ------------------------------------------------------------------------------ */
.bg-orange-50 {
    background-color: #fff7ed !important;
}

.bg-orange-100 {
    background-color: #ffedd5 !important;
}

.text-orange-700 {
    color: #c2410c !important;
}

.border-orange-200 {
    border-color: #fed7aa !important;
}

.hover\:bg-orange-100:hover {
    background-color: #ffedd5 !important;
}

/* ------ Indigo palette (sent-to-merchant badge) --------------------------------------------------------------------------- */
.bg-indigo-100 {
    background-color: #e0e7ff !important;
}

.text-indigo-700 {
    color: #4338ca !important;
}

/* ------ Amber extras ------------------------------------------------------------------------------------------------------------------------------------------------------------ */
.border-amber-300 {
    border-color: #fcd34d !important;
}

.border-amber-400 {
    border-color: #fbbf24 !important;
}

/* ------ Success palette --------------------------------------------------------------------------------------------------------------------------------------------------- */
.bg-success {
    background-color: var(--success, #059669) !important;
}

.bg-success\/90 {
    background-color: color-mix(in oklab, var(--success, #059669) 90%, transparent) !important;
}

.hover\:bg-success:hover {
    background-color: var(--success, #059669) !important;
}

.hover\:bg-success\/90:hover {
    background-color: color-mix(in oklab, var(--success, #059669) 90%, transparent) !important;
}

.hover\:bg-success\/20:hover {
    background-color: color-mix(in oklab, var(--success, #059669) 20%, transparent) !important;
}

.border-success\/20 {
    border-color: color-mix(in oklab, var(--success, #059669) 20%, transparent) !important;
}

/* ------ Secondary alpha variants ------------------------------------------------------------------------------------------------------------------------ */
.bg-secondary\/20 {
    background-color: color-mix(in oklab, var(--secondary, #ee2327) 20%, transparent) !important;
}

.hover\:bg-secondary\/20:hover {
    background-color: color-mix(in oklab, var(--secondary, #ee2327) 20%, transparent) !important;
}

.hover\:bg-secondary\/90:hover {
    background-color: color-mix(in oklab, var(--secondary, #ee2327) 90%, transparent) !important;
}

.border-secondary\/20 {
    border-color: color-mix(in oklab, var(--secondary, #ee2327) 20%, transparent) !important;
}

/* ------ Primary alpha variants ------------------------------------------------------------------------------------------------------------------------------ */
.bg-primary\/5 {
    background-color: color-mix(in oklab, var(--primary) 5%, transparent) !important;
}

.bg-primary\/15 {
    background-color: color-mix(in oklab, var(--primary) 15%, transparent) !important;
}

.hover\:border-primary\/40:hover {
    border-color: color-mix(in oklab, var(--primary) 40%, transparent) !important;
}

.border-primary {
    border-color: var(--primary, #063532) !important;
}

/* ------ Muted alpha variants ------------------------------------------------------------------------------------------------------------------------------------ */
.bg-muted\/20 {
    background-color: color-mix(in oklab, var(--muted) 20%, transparent) !important;
}

.bg-muted\/40 {
    background-color: color-mix(in oklab, var(--muted) 40%, transparent) !important;
}

/* ------ Accent hover ------------------------------------------------------------------------------------------------------------------------------------------------------------ */
.hover\:bg-accent:hover {
    background-color: var(--accent, #f3f4f6) !important;
}

.hover\:text-accent-foreground:hover {
    color: var(--accent-foreground, #111827) !important;
}

/* ------ Spinner top border accent --------------------------------------------------------------------------------------------------------------------- */
.border-t-secondary {
    border-top-color: var(--secondary, #ee2327) !important;
}

/* ------ Min-width utilities --------------------------------------------------------------------------------------------------------------------------------------- */
.min-w-8 {
    min-width: 2rem !important;
}

.min-w-48 {
    min-width: 12rem !important;
}

.min-w-0 {
    min-width: 0 !important;
}

/* ------ border-2 (pending alert) ------------------------------------------------------------------------------------------------------------------------ */
.border-2 {
    border-width: 2px !important;
}

/* ------ Grid columns ------------------------------------------------------------------------------------------------------------------------------------------------------------ */
.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.col-span-2 {
    grid-column: span 2 / span 2;
}

/* ------ resize-none --------------------------------------------------------------------------------------------------------------------------------------------------------------- */
.resize-none {
    resize: none !important;
}

/* ------ sr-only (hidden radio inputs) ------------------------------------------------------------------------------------------------------ */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border-width: 0 !important;
}

/* ------ Commission type & frequency card transitions ------------------------------------------------------------ */
.cs-type-btn {
    transition: border-color 0.15s ease, background-color 0.15s ease !important;
}

.cs-freq-btn {
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease !important;
}

/* ------ select-none (sortable headers) --------------------------------------------------------------------------------------------------- */
.select-none {
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* ------ Timeline ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
.-left-\[22px\] {
    left: -22px !important;
}

.pl-8 {
    padding-left: 2rem !important;
}

.pl-2 {
    padding-left: 0.5rem !important;
}

.space-y-0 > * + * {
    margin-top: 0 !important;
}

.space-y-3 > * + * {
    margin-top: 0.75rem !important;
}

/* ------ Drawer body scroll ------------------------------------------------------------------------------------------------------------------------------------------ */
.admin-merchant-drawer-body {
    overflow-y: auto;
    flex: 1 1 auto;
    padding: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border, #e5e7eb) transparent;
}

.admin-merchant-drawer-body::-webkit-scrollbar {
    width: 4px;
}

.admin-merchant-drawer-body::-webkit-scrollbar-track {
    background: transparent;
}

.admin-merchant-drawer-body::-webkit-scrollbar-thumb {
    background-color: var(--border, #e5e7eb);
    border-radius: 9999px;
}

/* ------ border-b / border-t (drawer dividers) --------------------------------------------------------------------------------- */
.border-t {
    border-top-width: 1px !important;
    border-top-style: solid !important;
}

.border-b {
    border-bottom-width: 1px !important;
    border-bottom-style: solid !important;
}

/* ------ Disabled states --------------------------------------------------------------------------------------------------------------------------------------------------- */
.disabled\:opacity-40:disabled {
    opacity: 0.4 !important;
}

.disabled\:opacity-60:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* ------ Transition utilities ------------------------------------------------------------------------------------------------------------------------------------ */
.transition-all {
    transition-property: all !important;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-duration: 150ms !important;
}

.transition-colors {
    transition-property: color, background-color, border-color !important;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-duration: 150ms !important;
}

/* ------ hover:bg-muted/30 (table row hover) --------------------------------------------------------------------------------------- */
.hover\:bg-muted\/30:hover {
    background-color: color-mix(in oklab, var(--muted) 30%, transparent) !important;
}

/* ------ divide-y / divide-border (table tbody separators) --------------------------------------------- */
.divide-y > :not([hidden]) ~ :not([hidden]) {
    border-top-width: 1px !important;
    border-top-style: solid !important;
}

.divide-border > :not([hidden]) ~ :not([hidden]) {
    border-color: var(--border, #e5e7eb) !important;
}

/* ------ Layout utilities ------------------------------------------------------------------------------------------------------------------------------------------------ */
.text-right {
    text-align: right !important;
}

.ml-auto {
    margin-left: auto !important;
}

.mx-4 {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
}

.pt-2 {
    padding-top: 0.5rem !important;
}

.pt-6 {
    padding-top: 1.5rem !important;
}

.gap-1 {
    gap: 0.25rem !important;
}

.select-none {
    user-select: none !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

.overflow-x-auto {
    overflow-x: auto !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.flex-1 {
    flex: 1 1 0% !important;
}

.text-left {
    text-align: left !important;
}

.font-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace !important;
}

/* ------ focus-visible ring for inputs / selects / textareas --------------------------------------- */
.focus-visible\:outline-none:focus-visible {
    outline: 2px solid transparent !important;
    outline-offset: 2px !important;
}

.focus-visible\:ring-1:focus-visible {
    box-shadow: 0 0 0 1px var(--secondary, #ee2327) !important;
}

/* ------ Commission summary card hover lift --------------------------------------------------------------------------------------------- */
#commission-summary-cards > div {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#commission-summary-cards > div:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.08);
}

/* ------ Pending alert pulse animation (merchant) --------------------------------------------------------------------------- */
#mc-pending-alert {
    animation: cs-pending-pulse 2.5s ease-in-out infinite;
}

@keyframes cs-pending-pulse {
    0%, 100% {
        border-color: #fcd34d;
    }
    50% {
        border-color: #f59e0b;
    }
}

.bg-destructive\/90 {
    background-color: color-mix(in oklab, var(--destructive, #d91c1c) 90%, transparent) !important;
}

.hover\:bg-destructive\/90:hover {
    background-color: color-mix(in oklab, var(--destructive, #d91c1c) 90%, transparent) !important;
}

.bg-indigo-600 {
    background-color: #4f46e5 !important;
}

.bg-indigo-50 {
    background-color: #eef2ff !important;
}

.bg-indigo-100 {
    background-color: #e0e7ff !important;
}

.hover\:bg-indigo-50:hover {
    background-color: #eef2ff !important;
}

.hover\:bg-indigo-700:hover {
    background-color: #4338ca !important;
}

.border-indigo-200 {
    border-color: #c7d2fe !important;
}

.text-indigo-700 {
    color: #4338ca !important;
}

/* Green Palette */
.bg-green-50 {
    background-color: #f0fdf4 !important;
}

.bg-green-100 {
    background-color: #dcfce7 !important;
}

.bg-green-600 {
    background-color: #16a34a !important;
}

.hover\:bg-green-700:hover {
    background-color: #15803d !important;
}

.border-green-300 {
    border-color: #86efac !important;
}

.text-green-800 {
    color: #166534 !important;
}

/* Emerald Palette */
.bg-emerald-600 {
    background-color: #059669 !important;
}

.hover\:bg-emerald-700:hover {
    background-color: #047857 !important;
}

/* Rose Palette */
.bg-rose-50 {
    background-color: #fff1f2 !important;
}

.bg-rose-100 {
    background-color: #ffe4e6 !important;
}

.bg-rose-600 {
    background-color: #e11d48 !important;
}

.hover\:bg-rose-700:hover {
    background-color: #be123c !important;
}

.border-rose-200 {
    border-color: #fecdd3 !important;
}

.text-rose-600 {
    color: #e11d48 !important;
}

.text-rose-700 {
    color: #be123c !important;
}

/* Purple Palette */
.bg-purple-100 {
    background-color: #f3e8ff !important;
}

.bg-purple-600 {
    background-color: #9333ea !important;
}

.hover\:bg-purple-700:hover {
    background-color: #7e22ce !important;
}

.text-purple-700 {
    color: #7e22ce !important;
}

/* Blue Palette */
.bg-blue-600 {
    background-color: #2563eb !important;
}

.hover\:bg-blue-700:hover {
    background-color: #1d4ed8 !important;
}

.border-blue-200 {
    border-color: #bfdbfe !important;
}

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

.text-blue-700 {
    color: #1d4ed8 !important;
}

/* Amber Palette */
.bg-amber-50 {
    background-color: #fffbeb !important;
}

.bg-amber-100 {
    background-color: #fef3c7 !important;
}

.hover\:bg-amber-100:hover {
    background-color: #fef3c7 !important;
}

.border-amber-200 {
    border-color: #fde68a !important;
}

.border-amber-300 {
    border-color: #fcd34d !important;
}

.text-amber-800 {
    color: #92400e !important;
}

/* Slate Palette */
.bg-slate-100 {
    background-color: #f1f5f9 !important;
}

.border-slate-200 {
    border-color: #e2e8f0 !important;
}

.text-slate-700 {
    color: #334155 !important;
}

/* Additional UI Utilities */
.-left-\[31px\] {
    left: -31px !important;
}

.shadow-xs {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.gap-1\.5 {
    gap: 0.375rem !important;
}

.bg-amber-600 {
    background-color: #d97706 !important;
}

/* Settlement Approval Modal & Timeline Utilities */
.-left-\[21px\] {
    left: -21px !important;
}

.max-h-48 {
    max-height: 12rem !important;
}

.max-h-60 {
    max-height: 15rem !important;
}

.max-h-64 {
    max-height: 16rem !important;
}

.max-h-\[80vh\] {
    max-height: 80vh !important;
}

.max-h-\[85vh\] {
    max-height: 85vh !important;
}

.bg-muted\/20 {
    background-color: color-mix(in oklab, var(--muted) 20%, transparent) !important;
}

.bg-muted\/30 {
    background-color: color-mix(in oklab, var(--muted) 30%, transparent) !important;
}

.border-border\/60 {
    border-color: color-mix(in oklab, var(--border) 60%, transparent) !important;
}

.border-border\/80 {
    border-color: color-mix(in oklab, var(--border) 80%, transparent) !important;
}

.bg-black\/50 {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.shrink-0 {
    flex-shrink: 0 !important;
}

.wrap-anywhere {
    overflow-wrap: anywhere !important;
}

/* Settlement Action Dropdown & Table Utilities */
.bottom-full {
    bottom: 100% !important;
}

.top-full {
    top: 100% !important;
}

.mb-1\.5 {
    margin-bottom: 0.375rem !important;
}

.mt-1\.5 {
    margin-top: 0.375rem !important;
}

.mt-2\.5 {
    margin-top: 0.625rem !important;
}

.origin-bottom-right {
    transform-origin: bottom right !important;
}

.origin-top-right {
    transform-origin: top right !important;
}

.rotate-180 {
    transform: rotate(180deg) !important;
}

.min-h-\[250px\] {
    min-height: 250px !important;
}

.min-h-\[320px\] {
    min-height: 320px !important;
}

/* Proof Document Upload Control Utilities */
.bg-muted\/40 {
    background-color: color-mix(in oklab, var(--muted) 40%, transparent) !important;
}

.hover\:bg-muted\/40:hover {
    background-color: color-mix(in oklab, var(--muted) 40%, transparent) !important;
}

.hover\:border-primary:hover {
    border-color: var(--primary) !important;
}

.text-rose-500 {
    color: #e11d48 !important;
}

/* Partner Sidebar & Portal Custom Utilities */
.partner-sidebar-logo-img {
    object-fit: cover !important;
}

.text-\[10px\] {
    font-size: 10px !important;
    line-height: 14px !important;
}

.text-\[11px\] {
    font-size: 11px !important;
    line-height: 15px !important;
}

.w-36 {
    width: 9rem !important;
}

.w-44 {
    width: 11rem !important;
}

.max-w-\[140px\] {
    max-width: 140px !important;
}

.min-h-\[320px\] {
    min-height: 320px !important;
}

.-left-\[9px\] {
    left: -9px !important;
}

.top-1 {
    top: 0.25rem !important;
}

.border-l-2 {
    border-left-width: 2px !important;
}

.max-h-72 {
    max-height: 18rem !important;
}

.pl-10 {
    padding-left: 2.5rem !important;
}

.w-screen {
    width: 100vw !important;
}

.opacity-75 {
    opacity: 0.75 !important;
}

.text-green-700 {
    color: #15803d !important;
}

.hover\:text-rose-700:hover {
    color: #be123c !important;
}

/* Background Color Mix Utilities */
.bg-muted\/20 {
    background-color: color-mix(in oklab, var(--muted) 20%, transparent) !important;
}

.bg-muted\/30 {
    background-color: color-mix(in oklab, var(--muted) 30%, transparent) !important;
}

.bg-muted\/40 {
    background-color: color-mix(in oklab, var(--muted) 40%, transparent) !important;
}

.bg-muted\/50 {
    background-color: color-mix(in oklab, var(--muted) 50%, transparent) !important;
}

.bg-amber-50\/70 {
    background-color: color-mix(in oklab, #fffbeb 70%, transparent) !important;
}

.bg-sidebar-accent\/50 {
    background-color: color-mix(in oklab, var(--sidebar-accent, var(--muted)) 50%, transparent) !important;
}

/* Hover States */
.hover\:bg-primary\/90:hover {
    background-color: color-mix(in oklab, var(--primary) 90%, transparent) !important;
}

.hover\:bg-secondary\/90:hover {
    background-color: color-mix(in oklab, var(--secondary) 90%, transparent) !important;
}

.hover\:bg-success\/90:hover {
    background-color: color-mix(in oklab, var(--success, #16a34a) 90%, transparent) !important;
}

.hover\:bg-destructive\/90:hover {
    background-color: color-mix(in oklab, var(--destructive, #dc2626) 90%, transparent) !important;
}

.hover\:bg-muted\/20:hover {
    background-color: color-mix(in oklab, var(--muted) 20%, transparent) !important;
}

.hover\:bg-muted\/30:hover {
    background-color: color-mix(in oklab, var(--muted) 30%, transparent) !important;
}

.hover\:bg-emerald-50:hover {
    background-color: #ecfdf5 !important;
}

.hover\:bg-emerald-100:hover {
    background-color: #d1fae5 !important;
}

.hover\:bg-rose-50:hover {
    background-color: #fff1f2 !important;
}

.hover\:bg-indigo-50:hover {
    background-color: #e0e7ff !important;
}

.hover\:bg-purple-50:hover {
    background-color: #f3e8ff !important;
}

.hover\:bg-blue-50:hover {
    background-color: #eff6ff !important;
}

.hover\:bg-destructive\/5:hover {
    background-color: color-mix(in oklab, var(--destructive, #dc2626) 5%, transparent) !important;
}

.border-destructive\/30 {
    border-color: color-mix(in oklab, var(--destructive, #dc2626) 30%, transparent) !important;
}

/* Dark Hover Fallbacks */
.dark .dark\:hover\:bg-indigo-950\/30:hover {
    background-color: rgba(30, 27, 75, 0.3) !important;
}

.dark .dark\:hover\:bg-emerald-950\/30:hover {
    background-color: rgba(6, 78, 59, 0.3) !important;
}

.dark .dark\:hover\:bg-rose-950\/30:hover {
    background-color: rgba(136, 19, 55, 0.3) !important;
}

.dark .dark\:hover\:bg-amber-950\/30:hover {
    background-color: rgba(120, 53, 15, 0.3) !important;
}

.dark .dark\:hover\:bg-blue-950\/30:hover {
    background-color: rgba(30, 58, 138, 0.3) !important;
}

.dark .dark\:hover\:bg-purple-950\/30:hover {
    background-color: rgba(88, 28, 135, 0.3) !important;
}

/* File Input Custom Pseudo-element Utilities */
input[type="file"]::file-selector-button {
    margin-right: 0.75rem !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    border-radius: 0.5rem !important;
    border-width: 0 !important;
    font-size: 0.75rem !important;
    line-height: 1rem !important;
    font-weight: 600 !important;
    background-color: var(--muted, #f3f4f6) !important;
    color: var(--foreground, #111827) !important;
    cursor: pointer !important;
    transition: background-color 150ms ease !important;
}

input[type="file"]::file-selector-button:hover {
    background-color: color-mix(in oklab, var(--accent, #e5e7eb) 80%, transparent) !important;
}

/* Grid Layout Custom Extension */
@media (min-width: 1024px) {
    .lg\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 640px) {
    .sm\:col-span-2 {
        grid-column: span 2 / span 2 !important;
    }
}

/* Missing Utilities & JS Target Class Markers */
.align-top {
    vertical-align: top !important;
}

.backdrop-blur-xs {
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
}

.text-indigo-600 {
    color: #4f46e5 !important;
}

.focus\:ring-primary\/20:focus {
    --tw-ring-color: color-mix(in oklab, var(--primary) 20%, transparent) !important;
    box-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;
}

/* Event Delegation Marker Classes */
.ajax-filter-form,
.ajax-filter-input,
.ajax-pagination-link {
    /* JS Target Hook Classes */
}

/* Missing Utility Classes for Partner Commission & Alerts */
.shadow-xs {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.bg-amber-50\/70 {
    background-color: rgba(255, 251, 235, 0.7) !important;
}

.border-amber-300 {
    border-color: #fcd34d !important;
}

.hover\:bg-amber-100:hover {
    background-color: #fef3c7 !important;
}

.bg-rose-50 {
    background-color: #fff1f2 !important;
}

.bg-rose-100 {
    background-color: #ffe4e6 !important;
}

.bg-rose-600 {
    background-color: #e11d48 !important;
}

.border-rose-200 {
    border-color: #fecdd3 !important;
}

.text-rose-600 {
    color: #e11d48 !important;
}

.text-rose-700 {
    color: #be123c !important;
}

.hover\:bg-rose-50:hover {
    background-color: #fff1f2 !important;
}

.hover\:bg-rose-100:hover {
    background-color: #ffe4e6 !important;
}

.hover\:bg-rose-700:hover {
    background-color: #be123c !important;
}

.bg-emerald-600 {
    background-color: #059669 !important;
}

.hover\:bg-emerald-700:hover {
    background-color: #047857 !important;
}


/* ─────────────────────────────────────────────────────────────────────────────
 * Custom Dropdown Visibility & Display Overrides
 * ────────────────────────────────────────────────────────────────────────── */

.custom-dropdown.is-open .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
    pointer-events: auto !important;
}

.custom-dropdown.is-open .dropdown-trigger i,
.custom-dropdown.is-open .dropdown-trigger lucide-icon,
.custom-dropdown.is-open .dropdown-trigger [data-lucide] {
    transform: rotate(180deg) !important;
}

.custom-dropdown .dropdown-menu {
    transition: all 0.15s ease-in-out !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
 * Custom Utility Classes & Opacity Modifiers
 * ────────────────────────────────────────────────────────────────────────── */

/* Text Sizes & Colors */
.text-\[10px\] {
    font-size: 10px !important;
    line-height: 14px !important;
}

.text-\[11px\] {
    font-size: 11px !important;
    line-height: 15px !important;
}

.text-2xs {
    font-size: 0.65rem !important;
    line-height: 0.85rem !important;
}

.text-teal-600 {
    color: #0d9488 !important;
}

.text-teal-700 {
    color: #0f766e !important;
}

.text-indigo-600 {
    color: #4f46e5 !important;
}

.text-indigo-700 {
    color: #4338ca !important;
}

.text-indigo-800 {
    color: #3730a3 !important;
}

.text-violet-600 {
    color: #7c3aed !important;
}

.text-violet-700 {
    color: #6d28d9 !important;
}

.text-sky-700 {
    color: #0369a1 !important;
}

.text-sky-800 {
    color: #075985 !important;
}

.text-emerald-700\/80 {
    color: rgba(4, 120, 87, 0.8) !important;
}

.text-emerald-800\/80 {
    color: rgba(6, 95, 70, 0.8) !important;
}

/* Background Colors & Opacities */
.bg-teal-50 {
    background-color: #f0fdf4 !important;
}

.bg-sky-50 {
    background-color: #f0f9ff !important;
}

.bg-emerald-500\/10 {
    background-color: rgba(16, 185, 129, 0.10) !important;
}

.bg-emerald-500\/15 {
    background-color: rgba(16, 185, 129, 0.15) !important;
}

.bg-emerald-500\/20 {
    background-color: rgba(16, 185, 129, 0.20) !important;
}

.bg-amber-500\/10 {
    background-color: rgba(245, 158, 11, 0.10) !important;
}

.bg-amber-500\/15 {
    background-color: rgba(245, 158, 11, 0.15) !important;
}

.bg-amber-500\/20 {
    background-color: rgba(245, 158, 11, 0.20) !important;
}

.bg-rose-500\/10 {
    background-color: rgba(244, 63, 94, 0.10) !important;
}

.bg-rose-500\/15 {
    background-color: rgba(244, 63, 94, 0.15) !important;
}

.bg-blue-500\/10 {
    background-color: rgba(59, 130, 246, 0.10) !important;
}

.bg-blue-500\/15 {
    background-color: rgba(59, 130, 246, 0.15) !important;
}

.bg-purple-500\/10 {
    background-color: rgba(168, 85, 247, 0.10) !important;
}

.bg-purple-500\/15 {
    background-color: rgba(168, 85, 247, 0.15) !important;
}

.bg-sky-500\/15 {
    background-color: rgba(14, 165, 233, 0.15) !important;
}

.bg-destructive\/5 {
    background-color: color-mix(in oklab, var(--destructive) 5%, transparent) !important;
}

.bg-destructive\/10 {
    background-color: color-mix(in oklab, var(--destructive) 10%, transparent) !important;
}

.bg-destructive\/15 {
    background-color: color-mix(in oklab, var(--destructive) 15%, transparent) !important;
}

.bg-secondary\/10 {
    background-color: color-mix(in oklab, var(--secondary) 10%, transparent) !important;
}

.bg-secondary\/15 {
    background-color: color-mix(in oklab, var(--secondary) 15%, transparent) !important;
}

.bg-secondary\/20 {
    background-color: color-mix(in oklab, var(--secondary) 20%, transparent) !important;
}

.bg-muted\/20 {
    background-color: color-mix(in oklab, var(--muted) 20%, transparent) !important;
}

.bg-muted\/30 {
    background-color: color-mix(in oklab, var(--muted) 30%, transparent) !important;
}

.bg-muted\/40 {
    background-color: color-mix(in oklab, var(--muted) 40%, transparent) !important;
}

.bg-muted\/50 {
    background-color: color-mix(in oklab, var(--muted) 50%, transparent) !important;
}

.bg-muted\/60 {
    background-color: color-mix(in oklab, var(--muted) 60%, transparent) !important;
}

/* Borders & Dividers */
.border-border\/40 {
    border-color: color-mix(in oklab, var(--border) 40%, transparent) !important;
}

.border-border\/50 {
    border-color: color-mix(in oklab, var(--border) 50%, transparent) !important;
}

.border-border\/60 {
    border-color: color-mix(in oklab, var(--border) 60%, transparent) !important;
}

.border-border\/70 {
    border-color: color-mix(in oklab, var(--border) 70%, transparent) !important;
}

.border-border\/80 {
    border-color: color-mix(in oklab, var(--border) 80%, transparent) !important;
}

.border-destructive\/20 {
    border-color: color-mix(in oklab, var(--destructive) 20%, transparent) !important;
}

.border-destructive\/30 {
    border-color: color-mix(in oklab, var(--destructive) 30%, transparent) !important;
}

.border-amber-500\/30 {
    border-color: rgba(245, 158, 11, 0.3) !important;
}

.border-emerald-500\/30 {
    border-color: rgba(16, 185, 129, 0.3) !important;
}

.border-emerald-200\/80 {
    border-color: rgba(167, 243, 208, 0.8) !important;
}

.divide-border\/40 > :not([hidden]) ~ :not([hidden]) {
    border-color: color-mix(in oklab, var(--border) 40%, transparent) !important;
}

.divide-border\/60 > :not([hidden]) ~ :not([hidden]) {
    border-color: color-mix(in oklab, var(--border) 60%, transparent) !important;
}

/* Hover Effects */
.hover\:bg-muted\/20:hover {
    background-color: color-mix(in oklab, var(--muted) 20%, transparent) !important;
}

.hover\:bg-muted\/30:hover {
    background-color: color-mix(in oklab, var(--muted) 30%, transparent) !important;
}

.hover\:bg-muted\/40:hover {
    background-color: color-mix(in oklab, var(--muted) 40%, transparent) !important;
}

.hover\:bg-muted\/50:hover {
    background-color: color-mix(in oklab, var(--muted) 50%, transparent) !important;
}

.hover\:bg-muted\/60:hover {
    background-color: color-mix(in oklab, var(--muted) 60%, transparent) !important;
}

.hover\:bg-emerald-50:hover {
    background-color: #ecfdf5 !important;
}

.hover\:bg-amber-50:hover {
    background-color: #fffbeb !important;
}

.hover\:bg-blue-50:hover {
    background-color: #eff6ff !important;
}

.hover\:bg-rose-50:hover {
    background-color: #fff1f2 !important;
}

.hover\:bg-purple-50:hover {
    background-color: #faf5ff !important;
}

.hover\:bg-indigo-50:hover {
    background-color: #eef2ff !important;
}

/* Gradients */
.from-emerald-500\/10 {
    --tw-gradient-from: rgba(16, 185, 129, 0.10) var(--tw-gradient-from-position);
    --tw-gradient-to: rgba(16, 185, 129, 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-card {
    --tw-gradient-to: var(--card) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--card) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-card {
    --tw-gradient-to: var(--card) var(--tw-gradient-to-position);
}

/* Shadows & Transitions */
.shadow-xs {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

.transition-shadow {
    transition-property: box-shadow !important;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    transition-duration: 150ms !important;
}

/* ─────────────────────────────────────────────────────────────────────────────
 * State, Pseudo, and Responsive Modifier CSS Classes
 * ────────────────────────────────────────────────────────────────────────── */

/* Text Opacity Utilities */
.text-muted-foreground\/30 {
    color: color-mix(in oklab, var(--muted-foreground) 30%, transparent) !important;
}

.text-muted-foreground\/40 {
    color: color-mix(in oklab, var(--muted-foreground) 40%, transparent) !important;
}

.text-muted-foreground\/50 {
    color: color-mix(in oklab, var(--muted-foreground) 50%, transparent) !important;
}

.text-muted-foreground\/60 {
    color: color-mix(in oklab, var(--muted-foreground) 60%, transparent) !important;
}

.text-muted-foreground\/70 {
    color: color-mix(in oklab, var(--muted-foreground) 70%, transparent) !important;
}

.text-muted-foreground\/80 {
    color: color-mix(in oklab, var(--muted-foreground) 80%, transparent) !important;
}

.text-foreground\/70 {
    color: color-mix(in oklab, var(--foreground) 70%, transparent) !important;
}

.text-foreground\/80 {
    color: color-mix(in oklab, var(--foreground) 80%, transparent) !important;
}

.text-primary\/80 {
    color: color-mix(in oklab, var(--primary) 80%, transparent) !important;
}

/* Background Opacity Utilities */
.bg-primary\/10 {
    background-color: color-mix(in oklab, var(--primary) 10%, transparent) !important;
}

.bg-primary\/15 {
    background-color: color-mix(in oklab, var(--primary) 15%, transparent) !important;
}

.bg-background\/60 {
    background-color: color-mix(in oklab, var(--background) 60%, transparent) !important;
}

.bg-background\/80 {
    background-color: color-mix(in oklab, var(--background) 80%, transparent) !important;
}

.bg-background\/85 {
    background-color: color-mix(in oklab, var(--background) 85%, transparent) !important;
}

.bg-background\/90 {
    background-color: color-mix(in oklab, var(--background) 90%, transparent) !important;
}

.bg-black\/40 {
    background-color: rgba(0, 0, 0, 0.40) !important;
}

.bg-black\/50 {
    background-color: rgba(0, 0, 0, 0.50) !important;
}

.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.bg-white\/50 {
    background-color: rgba(255, 255, 255, 0.50) !important;
}

.bg-white\/60 {
    background-color: rgba(255, 255, 255, 0.60) !important;
}

.bg-white\/70 {
    background-color: rgba(255, 255, 255, 0.70) !important;
}

.bg-white\/80 {
    background-color: rgba(255, 255, 255, 0.80) !important;
}

.bg-white\/90 {
    background-color: rgba(255, 255, 255, 0.90) !important;
}

/* Group Hover States */
.group:hover .group-hover\:bg-secondary {
    background-color: var(--secondary) !important;
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1 !important;
}

.group:hover .group-hover\:text-primary {
    color: var(--primary) !important;
}

.group:hover .group-hover\:text-secondary {
    color: var(--secondary) !important;
}

.group:hover .group-hover\:text-white {
    color: #ffffff !important;
}

.group:hover .group-hover\:visible {
    visibility: visible !important;
}

/* Disabled States */
.disabled\:bg-muted:disabled {
    background-color: var(--muted) !important;
}

.disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed !important;
}

.disabled\:opacity-40:disabled {
    opacity: 0.40 !important;
}

.disabled\:opacity-50:disabled {
    opacity: 0.50 !important;
}

.disabled\:opacity-60:disabled {
    opacity: 0.60 !important;
}

.disabled\:opacity-70:disabled {
    opacity: 0.70 !important;
}

.disabled\:pointer-events-none:disabled {
    pointer-events: none !important;
}

/* Last Child Utilities */
.last\:border-0:last-child {
    border-width: 0px !important;
}

.last\:pb-0:last-child {
    padding-bottom: 0px !important;
}

/* Additional Hover States */
.hover\:bg-emerald-100:hover {
    background-color: #d1fae5 !important;
}

.hover\:bg-amber-100:hover {
    background-color: #fef3c7 !important;
}

.hover\:bg-blue-100:hover {
    background-color: #dbeafe !important;
}

.hover\:bg-indigo-100:hover {
    background-color: #e0e7ff !important;
}

.hover\:bg-rose-100:hover {
    background-color: #ffe4e6 !important;
}

.hover\:bg-emerald-700:hover {
    background-color: #047857 !important;
}

.hover\:bg-amber-600:hover {
    background-color: #d97706 !important;
}

.hover\:bg-rose-700:hover {
    background-color: #be123c !important;
}

.hover\:bg-red-700:hover {
    background-color: #b91c1c !important;
}

.hover\:bg-orange-600:hover {
    background-color: #ea580c !important;
}

.hover\:bg-destructive\/5:hover {
    background-color: color-mix(in oklab, var(--destructive) 5%, transparent) !important;
}

.hover\:bg-destructive\/20:hover {
    background-color: color-mix(in oklab, var(--destructive) 20%, transparent) !important;
}

.hover\:bg-destructive\/90:hover {
    background-color: color-mix(in oklab, var(--destructive) 90%, transparent) !important;
}

.hover\:bg-secondary\/10:hover {
    background-color: color-mix(in oklab, var(--secondary) 10%, transparent) !important;
}

.hover\:bg-secondary\/20:hover {
    background-color: color-mix(in oklab, var(--secondary) 20%, transparent) !important;
}

.hover\:bg-secondary\/90:hover {
    background-color: color-mix(in oklab, var(--secondary) 90%, transparent) !important;
}

.hover\:bg-primary\/90:hover {
    background-color: color-mix(in oklab, var(--primary) 90%, transparent) !important;
}

.hover\:border-primary\/30:hover {
    border-color: color-mix(in oklab, var(--primary) 30%, transparent) !important;
}

.hover\:border-primary\/40:hover {
    border-color: color-mix(in oklab, var(--primary) 40%, transparent) !important;
}

.hover\:border-secondary\/50:hover {
    border-color: color-mix(in oklab, var(--secondary) 50%, transparent) !important;
}

/* Responsive Media Queries (sm, md, lg, xl) */
@media (min-width: 640px) {
    .sm\:flex {
        display: flex !important;
    }

    .sm\:hidden {
        display: none !important;
    }

    .sm\:inline {
        display: inline !important;
    }

    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .sm\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .sm\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .sm\:col-span-1 {
        grid-column: span 1 / span 1 !important;
    }

    .sm\:col-span-2 {
        grid-column: span 2 / span 2 !important;
    }
}

@media (min-width: 768px) {
    .md\:block {
        display: block !important;
    }

    .md\:hidden {
        display: none !important;
    }

    .md\:flex {
        display: flex !important;
    }

    .md\:flex-row {
        flex-direction: row !important;
    }

    .md\:items-center {
        align-items: center !important;
    }

    .md\:justify-between {
        justify-content: space-between !important;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .md\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .md\:col-span-1 {
        grid-column: span 1 / span 1 !important;
    }

    .md\:col-span-2 {
        grid-column: span 2 / span 2 !important;
    }

    .md\:col-span-4 {
        grid-column: span 4 / span 4 !important;
    }
}

@media (min-width: 1024px) {
    .lg\:block {
        display: block !important;
    }

    .lg\:hidden {
        display: none !important;
    }

    .lg\:flex {
        display: flex !important;
    }

    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .lg\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }

    .lg\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }

    .lg\:grid-cols-7 {
        grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    }

    .lg\:col-span-1 {
        grid-column: span 1 / span 1 !important;
    }

    .lg\:col-span-2 {
        grid-column: span 2 / span 2 !important;
    }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .xl\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .xl\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }

    .xl\:grid-cols-7 {
        grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    }
}

/* API Audit Filter & Status Utility Classes */
.rotate-180 {
    transform: rotate(180deg) !important;
}

.pt-3\.5 {
    padding-top: 0.875rem !important;
}

.left-2\.5 {
    left: 0.625rem !important;
}

.pr-2\.5 {
    padding-right: 0.625rem !important;
}

.px-2\.5 {
    padding-left: 0.625rem !important;
    padding-right: 0.625rem !important;
}

.hover\:text-destructive:hover {
    color: var(--destructive) !important;
}

.border-emerald-500\/20 {
    border-color: rgba(16, 185, 129, 0.20) !important;
}

.border-blue-500\/20 {
    border-color: rgba(59, 130, 246, 0.20) !important;
}

.border-amber-500\/20 {
    border-color: rgba(245, 158, 11, 0.20) !important;
}

.border-rose-500\/20 {
    border-color: rgba(244, 63, 94, 0.20) !important;
}

.text-emerald-700 {
    color: #047857 !important;
}

.text-blue-700 {
    color: #1d4ed8 !important;
}

.text-amber-700 {
    color: #b45309 !important;
}

.text-rose-700 {
    color: #be123c !important;
}

/* Additional Merchant & Partner Panel Utility Classes */
.h-5\.5 {
    height: 1.375rem !important;
}

.w-5\.5 {
    width: 1.375rem !important;
}

.pl-8\.5 {
    padding-left: 2.125rem !important;
}

.bg-indigo-500\/10 {
    background-color: rgba(99, 102, 241, 0.10) !important;
}

.opacity-30 {
    opacity: 0.3 !important;
}

.bg-muted-foreground {
    background-color: var(--muted-foreground) !important;
}

.bg-red-500 {
    background-color: #ef4444 !important;
}

.pl-7 {
    padding-left: 1.75rem !important;
}

.pl-12 {
    padding-left: 3rem !important;
}

/* ─── Merchant Sidebar / Panel ─────────────────────────────────────────── */
.merchant-panel-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    padding: 0 0.5rem;
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
    opacity: 1;
}

.merchant-panel-merchant-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.5rem;
    padding: 0.5rem 0.625rem;
    margin-top: 0.25rem;
    background: white;
}

.merchant-panel-merchant-chip .name {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    truncate: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: var(--primary);
}

.merchant-panel-merchant-chip .meta {
    font-size: 0.75rem;
    color: #070e1d;
    line-height: 1.2;
    overflow: hidden;
    white-space: nowrap;
}

.merchant-sidebar-logo-img {
    object-fit: cover;
    border-radius: 9999px;
    flex-shrink: 0;
}

/* ─── Merchant Card (index page) ───────────────────────────────────────── */
.merchant-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background-color: var(--card);
    padding: 1.25rem;
    transition: transform 200ms, box-shadow 200ms;
}

.merchant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);
}

/* ─── Merchant Denominations Container ─────────────────────────────────── */
.merchant-denoms-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* ─── Admin Vouchers Tab Panel ──────────────────────────────────────────── */
.admin-vouchers-tab-panel {
    display: block;
}

.admin-vouchers-tab-panel.hidden {
    display: none;
}

/* ─── Admin Profile View Grid ───────────────────────────────────────────── */
.admin-profile-view-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .admin-profile-view-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ─── Admin Merchants Pagination / Page-size / Status-filter ────────────── */
.admin-merchants-page-size {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.admin-merchants-pagination {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.admin-merchants-status-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ─── Admin Merchant Upload Field ───────────────────────────────────────── */
.admin-merchant-upload-field {
    display: grid;
    gap: 0.5rem;
}

/* ─── Admin Merchant Doc Upload Label ──────────────────────────────────── */
.admin-merchant-doc-upload-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--foreground);
    cursor: pointer;
}

/* ─── Ajax Filter / Tab Hooks ───────────────────────────────────────────── */
/* These are primarily used as JS selector hooks; minimal style definitions */
.ajax-filter-input-text {
    display: block;
}

.ajax-clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ajax-tab-link {
    cursor: pointer;
}

/* ─── Dropdown Item ─────────────────────────────────────────────────────── */
.dropdown-item {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
    transition: background-color 150ms;
}

/* ─── Tab Controls (Customer Dashboard / Notifications) ─────────────────── */
.tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: color 150ms, border-color 150ms;
}

.tab-content {
    display: block;
}

.tab-content.hidden {
    display: none;
}

/* ─── Send Gift Wizard Steps ─────────────────────────────────────────────── */
.step-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 500;
}

.step-content {
    display: block;
}

.step-content.hidden {
    display: none;
}

/* ─── Period Selector Buttons (Reports) ─────────────────────────────────── */
.period-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 150ms, color 150ms, border-color 150ms;
}

/* ─── Partner Voucher Page Buttons ───────────────────────────────────────── */
.pv-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 150ms;
}

/* ─── Password Strength Segments ─────────────────────────────────────────── */
.pwd-strength-seg {
    height: 0.25rem;
    flex: 1;
    border-radius: 9999px;
    background-color: var(--border);
    transition: background-color 300ms;
}

/* ─── Profile Channel Button (Admin Merchant Profile) ───────────────────── */
.profile-channel-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 150ms, border-color 150ms;
    background-color: var(--background);
    color: var(--foreground);
}

.profile-channel-btn:hover {
    background-color: var(--muted);
}

.profile-channel-btn.is-active {
    border-color: var(--secondary);
    background-color: color-mix(in oklab, var(--secondary) 10%, transparent);
    color: var(--secondary);
}

/* ─── Phone Number Input Box ─────────────────────────────────────────────── */
.phone-number-input-box {
    display: grid;
    gap: 0.5rem;
}

/* ─── Edit Phone Input / Error ────────────────────────────────────────────── */
.edit-phone-input {
    display: flex;
    width: 100%;
}

.error-edit-phone {
    display: none;
    font-size: 0.75rem;
    color: var(--destructive);
    margin-top: 0.25rem;
}

.error-edit-phone.is-visible {
    display: block;
}

/* ─── Merchant Password Input ─────────────────────────────────────────────── */
.merchant-pwd-input {
    display: flex;
    width: 100%;
}

/* ─── Merchant Profile Export Button ─────────────────────────────────────── */
.merchant-profile-export-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 150ms;
}

/* ─── Commission Proposal Buttons (Merchant) ─────────────────────────────── */
.mc-prop-type-btn {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.75rem;
    border: 2px solid var(--border);
    background-color: var(--background);
    padding: 0.875rem;
    cursor: pointer;
    transition: border-color 150ms, background-color 150ms;
}

.mc-prop-type-btn.is-active,
.mc-prop-type-btn:has(input:checked) {
    border-color: var(--secondary);
    background-color: color-mix(in oklab, var(--secondary) 5%, transparent);
}

.mc-prop-freq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    background-color: var(--background);
    cursor: pointer;
    transition: border-color 150ms, background-color 150ms;
}

.mc-prop-freq-btn.is-active,
.mc-prop-freq-btn:has(input:checked) {
    border-color: var(--secondary);
    background-color: color-mix(in oklab, var(--secondary) 10%, transparent);
    color: var(--secondary);
}

/* ─── Status / Review Action Buttons (Admin Panels) ─────────────────────── */
/* These are JS selector hooks; styling provided by co-existing utility classes */
.status-action-btn {
    cursor: pointer;
}

.review-action-btn {
    cursor: pointer;
}

/* ─── Table Row / Detail Button Hooks ────────────────────────────────────── */
/* JS targeting hooks; styling via co-existing utility classes */
.order-row {
    cursor: pointer;
}

.order-detail-btn {
    cursor: pointer;
}

.redemption-row {
    cursor: pointer;
}

.redemption-detail-btn {
    cursor: pointer;
}

/* ─── Admin CRUD Button Hooks ─────────────────────────────────────────────── */
/* Primarily JS selector hooks; any visual styling is in co-existing classes */
.cat-btn {
    cursor: pointer;
}

.category-edit-btn,
.category-delete-btn {
    cursor: pointer;
}

.role-edit-btn,
.role-view-btn,
.role-delete-btn {
    cursor: pointer;
}

.user-edit-btn,
.user-delete-btn {
    cursor: pointer;
}

/* ─── FAQ Nav (Help Page) ─────────────────────────────────────────────────── */
.faq-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

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

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

/* ─── Dropdown dropUp modifier (used with :class binding) ───────────────── */
/* .dropUp is toggled via Alpine.js :class; position is set via co-existing classes */
.dropUp {
    /* JS state class — no additional styles needed */
}

/* ─── Dragging state (file upload dropzone) ─────────────────────────────── */
.dragging {
    border-color: var(--secondary) !important;
    background-color: color-mix(in oklab, var(--secondary) 5%, transparent) !important;
}

/* ─── Gift Card Hero Header ───────────────────────────────────────────────── */
.gift-card__head {
    margin-bottom: 0.5rem;
}

/* ─── API Docs Code Content Panel ─────────────────────────────────────────── */
.api-code-content {
    display: block;
}

.api-code-content.hidden {
    display: none;
}

/* ─── Checkout Confirm Panel (drawer modifier) ─────────────────────────────── */
/* Inherits styles from .admin-merchant-drawer-panel; used as a modifier class */
.checkout-confirm-panel {
    /* Modifier-only class; base styles from .admin-merchant-drawer-panel */
}

/* ─── Avatar wrapper (merchant table logo container) ──────────────────────── */
.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.375rem;
    border: 1px solid var(--border);
    background-color: var(--background);
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
}

/* ─── Data Deletion & Information Pages Utilities ──────────────────────────── */
.tracking-\[0\.18em\] {
    letter-spacing: 0.18em;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

.list-decimal {
    list-style-type: decimal;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Custom Fallbacks & Utilities for Missing Classes
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Typography & Text Utilities ────────────────────────────────────────── */
.whitespace-pre-line {
    white-space: pre-line !important;
}

.break-all {
    word-break: break-all !important;
}

.line-clamp-1 {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
}

.no-underline {
    text-decoration-line: none !important;
}

.antialiased {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.font-extrabold {
    font-weight: 800 !important;
}

.font-light {
    font-weight: 300 !important;
}

.leading-normal {
    line-height: 1.5 !important;
}

.leading-snug {
    line-height: 1.375 !important;
}

.list-inside {
    list-style-position: inside !important;
}

.select-all {
    user-select: all !important;
}

.cursor-not-allowed {
    cursor: not-allowed !important;
}

.duration-500 {
    transition-duration: 500ms !important;
}

.opacity-100 {
    opacity: 1 !important;
}

.opacity-40 {
    opacity: 0.4 !important;
}

.backdrop-blur-\[1px\] {
    backdrop-filter: blur(1px) !important;
    -webkit-backdrop-filter: blur(1px) !important;
}

.text-\[9px\] {
    font-size: 9px !important;
}

.text-\[\#1877F2\] {
    color: #1877F2 !important;
}

.text-destructive\/80 {
    color: color-mix(in oklab, var(--destructive) 80%, transparent) !important;
}

.text-emerald-500 {
    color: #10b981 !important;
}

.text-indigo-500 {
    color: #6366f1 !important;
}

.text-indigo-950 {
    color: #1e1b4b !important;
}

.text-muted-foreground\/35 {
    color: color-mix(in oklab, var(--muted-foreground) 35%, transparent) !important;
}

.text-muted-foreground\/45 {
    color: color-mix(in oklab, var(--muted-foreground) 45%, transparent) !important;
}

.text-navy {
    color: #0d2b25 !important;
}

.text-red-950 {
    color: #450a0a !important;
}

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

.text-violet-500 {
    color: #8b5cf6 !important;
}

.text-white\/90 {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ─── Backgrounds ────────────────────────────────────────────────────────── */
.bg-amber-50\/60 {
    background-color: color-mix(in oklab, #fffbeb 60%, transparent) !important;
}

.bg-card\/50 {
    background-color: color-mix(in oklab, var(--card) 50%, transparent) !important;
}

.bg-card\/60 {
    background-color: color-mix(in oklab, var(--card) 60%, transparent) !important;
}

.bg-cream\/20 {
    background-color: color-mix(in oklab, #fbf7ee 20%, transparent) !important;
}

.bg-green-500\/10 {
    background-color: rgba(34, 197, 94, 0.1) !important;
}

.bg-indigo-50\/70 {
    background-color: color-mix(in oklab, #eef2ff 70%, transparent) !important;
}

.bg-orange-500 {
    background-color: #f97316 !important;
}

.bg-red-500\/10 {
    background-color: rgba(239, 68, 68, 0.1) !important;
}

.bg-slate-50\/70 {
    background-color: color-mix(in oklab, #f8fafc 70%, transparent) !important;
}

.bg-violet-500\/10 {
    background-color: rgba(139, 92, 246, 0.1) !important;
}

/* ─── Borders ────────────────────────────────────────────────────────────── */
.border-4 {
    border-width: 4px !important;
}

.border-b-2 {
    border-bottom-width: 2px !important;
}

.border-background {
    border-color: var(--background) !important;
}

.border-card {
    border-color: var(--card) !important;
}

.border-current {
    border-color: currentColor !important;
}

.border-indigo-100 {
    border-color: #e0e7ff !important;
}

.border-indigo-500 {
    border-color: #6366f1 !important;
}

.border-primary\/10 {
    border-color: color-mix(in oklab, var(--primary) 10%, transparent) !important;
}

.border-purple-500\/20 {
    border-color: rgba(168, 85, 247, 0.2) !important;
}

.border-red-500\/20 {
    border-color: rgba(239, 68, 68, 0.2) !important;
}

.border-sky-200 {
    border-color: #bae6fd !important;
}

/* ─── Sizing & Dimensions ────────────────────────────────────────────────── */
.w-28 {
    width: 7rem !important;
}

.w-48 {
    width: 12rem !important;
}

.w-96 {
    width: 24rem !important;
}

.h-64 {
    height: 16rem !important;
}

.h-96 {
    height: 24rem !important;
}

.h-\[18px\] {
    height: 18px !important;
}

.min-w-\[18px\] {
    min-width: 18px !important;
}

.min-w-\[120px\] {
    min-width: 120px !important;
}

.min-w-\[150px\] {
    min-width: 150px !important;
}

.min-w-\[160px\] {
    min-width: 160px !important;
}

.min-w-\[200px\] {
    min-width: 200px !important;
}

.min-h-\[80px\] {
    min-height: 80px !important;
}

.min-h-\[120px\] {
    min-height: 120px !important;
}

.min-h-\[2\.25rem\] {
    min-height: 2.25rem !important;
}

.max-w-4xl {
    max-width: 56rem !important;
}

.max-w-\[180px\] {
    max-width: 180px !important;
}

.max-w-\[260px\] {
    max-width: 260px !important;
}

.max-h-\[160px\] {
    max-height: 160px !important;
}

.max-h-\[350px\] {
    max-height: 350px !important;
}

.max-h-\[500px\] {
    max-height: 500px !important;
}

.max-h-\[90vh\] {
    max-height: 90vh !important;
}

.max-h-full {
    max-height: 100% !important;
}

.max-h-screen {
    max-height: 100vh !important;
}

/* ─── Spacing ────────────────────────────────────────────────────────────── */
.mb-0\.5 {
    margin-bottom: 0.125rem !important;
}

.ml-2\.5 {
    margin-left: 0.625rem !important;
}

.ml-4 {
    margin-left: 1rem !important;
}

.-ml-1 {
    margin-left: -0.25rem !important;
}

.-mt-2 {
    margin-top: -0.5rem !important;
}

.my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

.my-4 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.my-8 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

.my-auto {
    margin-top: auto !important;
    margin-bottom: auto !important;
}

.p-0\.5 {
    padding: 0.125rem !important;
}

.p-1\.5 {
    padding: 0.375rem !important;
}

.pl-0 {
    padding-left: 0 !important;
}

.pr-10 {
    padding-right: 2.5rem !important;
}

.pt-1 {
    padding-top: 0.25rem !important;
}

.pt-5 {
    padding-top: 1.25rem !important;
}

.space-y-0\.5 > * + * {
    margin-top: 0.125rem !important;
}

.space-y-3\.5 > * + * {
    margin-top: 0.875rem !important;
}

.space-y-16 > * + * {
    margin-top: 4rem !important;
}

.gap-y-0\.5 {
    row-gap: 0.125rem !important;
}

/* ─── Positioning ────────────────────────────────────────────────────────── */
.top-1\/3 {
    top: 33.333333% !important;
}

.top-24 {
    top: 6rem !important;
}

.-top-24 {
    top: -6rem !important;
}

.right-10 {
    right: 2.5rem !important;
}

.left-10 {
    left: 2.5rem !important;
}

/* ─── Flex & Grid ────────────────────────────────────────────────────────── */
.items-baseline {
    align-items: baseline !important;
}

.justify-start {
    justify-content: flex-start !important;
}

.self-end {
    align-self: flex-end !important;
}

.self-start {
    align-self: flex-start !important;
}

.flex-shrink-0 {
    flex-shrink: 0 !important;
}

.object-contain {
    object-fit: contain !important;
}

.origin-top-left {
    transform-origin: top left !important;
}

/* ─── Pseudo-elements (Timeline / Stepper) ────────────────────────────────── */
.before\:absolute::before {
    content: "" !important;
    position: absolute !important;
}

.before\:bg-border::before {
    background-color: var(--border) !important;
}

.before\:bottom-2::before {
    bottom: 0.5rem !important;
}

.before\:left-2\.5::before {
    left: 0.625rem !important;
}

.before\:left-3\.5::before {
    left: 0.875rem !important;
}

.before\:top-2::before {
    top: 0.5rem !important;
}

.before\:w-px::before {
    width: 1px !important;
}

.disabled\:no-underline:disabled {
    text-decoration-line: none !important;
}

.disabled\:opacity-75:disabled {
    opacity: 0.75 !important;
}

.group:hover .group-hover\:underline {
    text-decoration-line: underline !important;
}

/* ─── Hover States ───────────────────────────────────────────────────────── */
.hover\:bg-destructive\/10:hover {
    background-color: color-mix(in oklab, var(--destructive) 10%, transparent) !important;
}

.hover\:bg-emerald-500\/10:hover {
    background-color: rgba(16, 185, 129, 0.1) !important;
}

.hover\:border-amber-500\/30:hover {
    border-color: rgba(245, 158, 11, 0.3) !important;
}

.hover\:border-blue-500\/30:hover {
    border-color: rgba(59, 130, 246, 0.3) !important;
}

.hover\:border-destructive\/30:hover {
    border-color: color-mix(in oklab, var(--destructive) 30%, transparent) !important;
}

.hover\:border-emerald-500\/30:hover {
    border-color: rgba(16, 185, 129, 0.3) !important;
}

.hover\:border-green-600\/30:hover {
    border-color: rgba(22, 163, 74, 0.3) !important;
}

.hover\:border-indigo-500\/30:hover {
    border-color: rgba(99, 102, 241, 0.3) !important;
}

.hover\:border-muted-foreground\/30:hover {
    border-color: color-mix(in oklab, var(--muted-foreground) 30%, transparent) !important;
}

.hover\:border-primary\/20:hover {
    border-color: color-mix(in oklab, var(--primary) 20%, transparent) !important;
}

.hover\:border-red-500\/30:hover {
    border-color: rgba(239, 68, 68, 0.3) !important;
}

.hover\:no-underline:hover {
    text-decoration-line: none !important;
}

.hover\:opacity-90:hover {
    opacity: 0.9 !important;
}

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

.hover\:shadow-sm:hover {
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;
}

.hover\:text-emerald-700:hover {
    color: #047857 !important;
}

.hover\:text-emerald-900:hover {
    color: #064e3b !important;
}

.hover\:text-inherit:hover {
    color: inherit !important;
}

.hover\:text-rose-800:hover {
    color: #9f1239 !important;
}

.hover\:text-secondary:hover {
    color: var(--secondary) !important;
}

/* ─── Custom UI & JS Hook Classes ────────────────────────────────────────── */
.notification-item {
    cursor: pointer;
    transition: background-color 150ms ease;
}

.notification-item:hover {
    background-color: var(--muted);
}

.customer-notif-item {
    cursor: pointer;
}

.toast-close-btn,
.toast-content,
.toast-icon-wrapper,
.toast-progress {
    /* Handled by toast components; selectors defined for clarity */
}

.text-denom-range {
    display: inline-block;
}

.no-result-msg {
    text-align: center;
    color: var(--muted-foreground);
    padding: 2rem 0;
}

.cat-edit-btn,
.cat-view-btn,
.cat-delete-form {
    cursor: pointer;
}

.cs-approve-proposal-btn,
.cs-approve-proposal-btn-view,
.cs-edit-btn,
.cs-edit-btn-view,
.cs-history-btn,
.cs-reject-proposal-btn,
.cs-reject-proposal-btn-view,
.cs-review-btn,
.cs-review-btn-view,
.cs-send-btn,
.cs-send-btn-view,
.cs-view-btn,
.mc-accept-btn-view,
.mc-change-btn-view,
.mc-download-btn,
.mc-reject-btn-view,
.mc-view-btn {
    cursor: pointer;
}

.brand-option {
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease;
}

.admin-merchant-save-success-progress {
    height: 3px;
    background-color: var(--secondary);
    transition: width 2s linear;
}

@media (min-width: 640px) {
    .sm\:w-auto {
        width: auto !important;
    }

    .sm\:text-sm {
        font-size: 0.875rem !important;
        line-height: 1.25rem !important;
    }

    .sm\:text-base {
        font-size: 1rem !important;
        line-height: 1.5rem !important;
    }

    .sm\:text-lg {
        font-size: 1.125rem !important;
        line-height: 1.75rem !important;
    }

    .sm\:text-xl {
        font-size: 1.25rem !important;
        line-height: 1.75rem !important;
    }

    .sm\:text-2xl {
        font-size: 1.5rem !important;
        line-height: 2rem !important;
    }
}

