* {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a8a8a8; }

.dark ::-webkit-scrollbar-track { background: #1a1a2e; }
.dark ::-webkit-scrollbar-thumb { background: #2d2d44; }
.dark ::-webkit-scrollbar-thumb:hover { background: #3d3d5c; }

/* SPINNER */
.spinner {
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* FADE IN */
.fade-in {
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* HOVER CARD */
.hover-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.dark .hover-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* SIDEBAR */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    z-index: 50;
    transition: transform 0.3s ease;
}
.sidebar.closed {
    transform: translateX(-100%);
}
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 40;
    display: none;
}
.sidebar-overlay.active {
    display: block;
}

.main-content {
    margin-left: 260px;
    transition: margin-left 0.3s ease;
}
.main-content.expanded {
    margin-left: 0;
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0 !important;
    }
}

/* NAVIGATION - ENHANCED EFFECTS */

/* Nav link base */
.nav-link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Left border indicator */
.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    width: 3px;
    height: 60%;
    background: linear-gradient(to bottom, #3b82f6, #8b5cf6);
    border-radius: 0 4px 4px 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover border effect */
.nav-link:hover::before {
    transform: translateY(-50%) scaleX(1);
}

/* Hover scale & background */
.nav-link:hover {
    background: rgba(59, 130, 246, 0.06);
    transform: scale(1.02);
    color: #1f2937;
}

.dark .nav-link:hover {
    background: rgba(59, 130, 246, 0.12);
    color: #f3f4f6;
}

/* Active state */
.nav-link.active {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}
.dark .nav-link.active {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.nav-link.active::before {
    transform: translateY(-50%) scaleX(1);
}

/* Icon animation */
.nav-link i {
    transition: all 0.3s ease;
}
.nav-link:hover i {
    transform: scale(1.15);
}
.nav-link.active i {
    color: #3b82f6;
}
.dark .nav-link.active i {
    color: #60a5fa;
}

/* Arrow indicator for active */
.nav-link .fa-chevron-right {
    transition: transform 0.3s ease;
}
.nav-link:hover .fa-chevron-right {
    transform: translateX(4px);
}
.nav-link.active .fa-chevron-right {
    opacity: 1;
}

/* Active dot pulse */
.nav-link.active .w-1\.5.h-6 {
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.6;
        transform: scaleY(1.3);
    }
}

/* Ripple effect on click (optional) */
.nav-link .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    pointer-events: none;
}
@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
}

/* TOAST */
#toast-container {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 380px;
    width: 100%;
}

/* NOTIFICATION ITEM */
.notification-item.unread {
    border-left: 3px solid #3b82f6;
}

/* TABLE ROW HOVER EFFECT */
.table-row-hover {
    transition: all 0.15s ease;
}
.table-row-hover:hover {
    background: rgba(59, 130, 246, 0.04);
}
.dark .table-row-hover:hover {
    background: rgba(59, 130, 246, 0.08);
}

/* BUTTON RIPPLE EFFECT */
.btn-ripple {
    position: relative;
    overflow: hidden;
}
.btn-ripple .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    pointer-events: none;
}

/* MODAL ANIMATION */
.modal-enter {
    animation: modalIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* DARK MODE OVERRIDES */
.dark .bg-white { background: #1f2937 !important; }
.dark .bg-gray-50 { background: #111827 !important; }
.dark .bg-gray-100 { background: #374151 !important; }
.dark .border-gray-200 { border-color: #374151 !important; }
.dark .border-gray-300 { border-color: #4b5563 !important; }
.dark .text-gray-400 { color: #9ca3af !important; }
.dark .text-gray-500 { color: #9ca3af !important; }
.dark .text-gray-600 { color: #d1d5db !important; }
.dark .text-gray-700 { color: #e5e7eb !important; }
.dark .text-gray-800 { color: #f3f4f6 !important; }
.dark .text-gray-900 { color: #ffffff !important; }

.dark input, .dark select, .dark textarea {
    background: #1f2937 !important;
    color: #f3f4f6 !important;
    border-color: #4b5563 !important;
}
.dark input:focus, .dark select:focus, .dark textarea:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

/* Status badges dark mode */
.dark .bg-green-100 { background: rgba(34, 197, 94, 0.2) !important; }
.dark .text-green-600 { color: #4ade80 !important; }
.dark .bg-red-100 { background: rgba(239, 68, 68, 0.2) !important; }
.dark .text-red-500 { color: #f87171 !important; }
.dark .bg-yellow-100 { background: rgba(234, 179, 8, 0.2) !important; }
.dark .text-yellow-500 { color: #fbbf24 !important; }
.dark .bg-blue-100 { background: rgba(59, 130, 246, 0.2) !important; }
.dark .text-blue-500 { color: #60a5fa !important; }

/* Sidebar dark */
.dark .sidebar {
    background: #1f2937 !important;
    border-color: #374151 !important;
}
.dark .sidebar .border-b,
.dark .sidebar .border-t {
    border-color: #374151 !important;
}

/* SWEETALERT2 DARK MODE */
.swal2-popup.dark {
    background: #1f2937 !important;
    color: #f3f4f6 !important;
}
.swal2-popup.dark .swal2-title {
    color: #f3f4f6 !important;
}
.swal2-popup.dark .swal2-html-container {
    color: #d1d5db !important;
}
.swal2-popup.dark .swal2-input,
.swal2-popup.dark .swal2-textarea,
.swal2-popup.dark .swal2-select {
    background: #374151 !important;
    color: #f3f4f6 !important;
    border-color: #4b5563 !important;
}
.swal2-popup.dark .swal2-input:focus,
.swal2-popup.dark .swal2-textarea:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}
.swal2-popup.dark .swal2-validation-message {
    background: #374151 !important;
    color: #f87171 !important;
}
.swal2-popup.dark .swal2-close {
    color: #9ca3af !important;
}
.swal2-popup.dark .swal2-close:hover {
    color: #f3f4f6 !important;
}
.swal2-popup.dark .swal2-cancel {
    background: #6b7280 !important;
    color: #f3f4f6 !important;
}
.swal2-popup.dark .swal2-cancel:hover {
    background: #4b5563 !important;
}
.swal2-popup.dark .swal2-confirm {
    background: #3b82f6 !important;
}
.swal2-popup.dark .swal2-confirm:hover {
    background: #2563eb !important;
}
.swal2-popup.dark .swal2-loader {
    border-color: #3b82f6 transparent #3b82f6 transparent !important;
}


/* HOME & DOCS PAGES - ADDITIONAL STYLES */

/* Desktop default */
.btn-hero {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

/* Tablet & Mobile */
@media (max-width: 640px) {
    .btn-hero {
        padding: 0.6rem 1.25rem;
        font-size: 0.875rem;
        width: 100%;
        justify-content: center;
    }
    
    /* Navbar buttons */
    .nav-btn {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.75rem !important;
    }
    
    .nav-btn-icon {
        font-size: 0.7rem !important;
    }
    
    /* Navbar brand text */
    .nav-brand-text {
        font-size: 1rem !important;
    }
    
    /* Feature cards on mobile */
    .feature-card {
        padding: 1rem !important;
    }
    
    .feature-icon {
        width: 3rem !important;
        height: 3rem !important;
        font-size: 1.25rem !important;
    }
    
    /* Hero section */
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .hero-logo {
        width: 4rem !important;
        height: 4rem !important;
    }
    
    .hero-logo i {
        font-size: 2rem !important;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .nav-btn {
        padding: 0.3rem 0.5rem !important;
        font-size: 0.65rem !important;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
    }
    
    .feature-card {
        padding: 0.75rem !important;
    }
}

/* ANIMATIONS & EFFECTS */

/* Floating animation for hero logo */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Smooth fade-in on scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card hover glow effect */
.glow-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glow-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.glow-card:hover::before {
    opacity: 1;
}

.glow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
}

.dark .glow-card:hover {
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.08);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero background pattern */
.hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

.dark .hero-pattern {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
}

/* Stats counter animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-number {
    animation: countUp 0.5s ease-out forwards;
}

/* MOBILE NAVBAR - HAMBURGER MENU */

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #6b7280;
}

.mobile-menu-btn:hover {
    color: #1f2937;
}

.dark .mobile-menu-btn {
    color: #9ca3af;
}

.dark .mobile-menu-btn:hover {
    color: #f3f4f6;
}

.mobile-menu {
    display: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.mobile-menu.open {
    display: block;
    max-height: 500px;
    padding: 0.5rem 0 1rem 0;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-menu-btn {
        display: block !important;
    }
    
    .mobile-menu {
        display: block;
    }
}

/* DOCS PAGE - TABLE OF CONTENTS */

.docs-toc {
    position: sticky;
    top: 5rem;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
}

.docs-toc a {
    display: block;
    padding: 0.4rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.docs-toc a:hover {
    color: #1f2937;
    background: #f3f4f6;
    border-left-color: #3b82f6;
}

.dark .docs-toc a {
    color: #9ca3af;
}

.dark .docs-toc a:hover {
    color: #f3f4f6;
    background: #374151;
}

.docs-toc a.active {
    color: #3b82f6;
    font-weight: 600;
    border-left-color: #3b82f6;
}

/* Docs content - smooth scroll */
.docs-section {
    scroll-margin-top: 5rem;
}

/* SHIMMER LOADING PLACEHOLDER */

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

.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.dark .shimmer {
    background: linear-gradient(90deg, #2d2d44 25%, #3d3d5c 50%, #2d2d44 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* SCROLL TO TOP BUTTON */

.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 40;
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.5);
    background: #2563eb;
}

/* NOTIFICATION DROPDOWN */

#notification-menu {
    transform-origin: top center;
    animation: dropdownIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes dropdownIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Responsive: full width on mobile */
@media (max-width: 640px) {
    #notification-menu {
        position: fixed !important;
        left: 0.5rem !important;
        right: 0.5rem !important;
        top: 4.5rem !important;
        width: auto !important;
        max-width: none !important;
        transform: none !important;
        border-radius: 1rem !important;
        max-height: calc(100vh - 6rem) !important;
        margin: 0 !important;
        box-shadow: 0 20px 60px rgba(0,0,0,0.2) !important;
    }
}

/* Badge pulse animation */
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

#notification-badge:not(.hidden) {
    animation: badgePulse 2s ease-in-out infinite;
}

/* Notification item styling */
.notification-item {
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.notification-item:hover {
    background: rgba(59, 130, 246, 0.04);
}

.dark .notification-item:hover {
    background: rgba(59, 130, 246, 0.08);
}

.notification-item.unread {
    border-left-color: #3b82f6;
    background: rgba(59, 130, 246, 0.04);
}

.dark .notification-item.unread {
    background: rgba(59, 130, 246, 0.08);
}

/* Scrollbar for notification list */
#notification-list::-webkit-scrollbar {
    width: 4px;
}

#notification-list::-webkit-scrollbar-track {
    background: transparent;
}

#notification-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.dark #notification-list::-webkit-scrollbar-thumb {
    background: #4b5563;
}

/* Profile dropdown balance */
#profile-menu .bg-blue-50 {
    background: rgba(59, 130, 246, 0.08);
}

.dark #profile-menu .bg-blue-50 {
    background: rgba(59, 130, 246, 0.15);
}

/* Notification header buttons hover */
#notification-menu .hover\:bg-gray-200:hover {
    background: #e5e7eb;
}

.dark #notification-menu .hover\:bg-gray-200:hover {
    background: #374151;
}

/* Line clamp for notification messages */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* PROFILE DROPDOWN - ENHANCED */

#profile-menu {
    transform-origin: top right;
    animation: dropdownIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile responsive profile dropdown */
@media (max-width: 480px) {
    #profile-menu {
        position: fixed !important;
        right: 0.5rem !important;
        top: 4.5rem !important;
        width: 90% !important;
        max-width: 280px !important;
        border-radius: 1rem !important;
    }
}

/* NOTIFICATION UNREAD BADGE - HEADER */

#notification-unread {
    font-size: 0.65rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    background: #fee2e2;
    color: #dc2626;
}

.dark #notification-unread {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}
/* BUSINESS ACTIONS */
.bh-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2rem;
    padding: 0.4rem 0.7rem;
    border-radius: 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.bh-action:hover { transform: translateY(-1px); }
.bh-action:active { transform: translateY(0); }
.bh-action:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.bh-action-danger {
    color: #dc2626;
    background: rgba(239, 68, 68, 0.08);
}
.bh-action-danger:hover {
    background: rgba(239, 68, 68, 0.14);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.12);
}
.dark .bh-action-danger {
    color: #f87171;
    background: rgba(239, 68, 68, 0.12);
}
.dark .bh-action-danger:hover {
    background: rgba(239, 68, 68, 0.18);
}
.bh-action-primary {
    color: #2563eb;
    background: rgba(59, 130, 246, 0.08);
}
.bh-action-primary:hover { background: rgba(59, 130, 246, 0.14); }
.dark .bh-action-primary { color: #60a5fa; background: rgba(59, 130, 246, 0.12); }
.dark .bh-action-primary:hover { background: rgba(59, 130, 246, 0.18); }

/* =========================================================
   BLACKHOST SHARED SURFACE COMPONENTS
   ========================================================= */
.bh-container {
    width: 100%;
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: 0.25rem;
}

.bh-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.dark .bh-card {
    background: #1f2937;
    border-color: #374151;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.bh-dashboard-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.dark .bh-dashboard-hero {
    background: linear-gradient(135deg, #1f2937 0%, #182235 100%);
}

.bh-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.5rem;
    padding: 0.625rem 0.9rem;
    border-radius: 0.75rem;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.2);
    transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.bh-btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.bh-btn-primary:active { transform: translateY(0); }

.bh-stat-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.85rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    box-shadow: 0 5px 20px rgba(15, 23, 42, 0.04);
}
.dark .bh-stat-card {
    background: #1f2937;
    border-color: #374151;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.14);
}

.bh-stat-icon {
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    font-size: 0.9rem;
}

.bh-stat-label {
    color: #6b7280;
    font-size: 0.68rem;
    line-height: 1.1rem;
    white-space: nowrap;
}
.dark .bh-stat-label { color: #9ca3af; }

.bh-stat-value {
    margin-top: 0.1rem;
    color: #111827;
    font-size: 1.25rem;
    line-height: 1.4rem;
    font-weight: 800;
}
.dark .bh-stat-value { color: #ffffff; }

/* Dashboard recent transaction table must remain readable in both themes. */
#recent-transactions,
#recent-transactions table {
    color: #111827;
}
.dark #recent-transactions,
.dark #recent-transactions table {
    color: #ffffff;
}
#recent-transactions tbody tr { border-color: #f3f4f6; }
.dark #recent-transactions tbody tr { border-color: rgba(75, 85, 99, .55); }
#recent-transactions .text-gray-500 { color: #6b7280; }
.dark #recent-transactions .text-gray-500 { color: #d1d5db; }
.dark #recent-transactions .text-gray-400 { color: #9ca3af; }

@media (max-width: 640px) {
    .bh-container { padding-inline: 0; }
    .bh-stat-card { padding: 0.75rem; gap: 0.6rem; }
    .bh-stat-icon { width: 2rem; height: 2rem; font-size: 0.78rem; }
    .bh-stat-value { font-size: 1.1rem; }
}
