/**
 * =============================================
 * URL Shortener - Custom Styles
 * =============================================
 * 
 * Professional styles built on Bootstrap 5
 * with modern design patterns.
 * 
 * @version 1.0.0
 */

/* =============================================
   CSS Custom Properties
   ============================================= */
:root {
    /* Primary Colors */
    --primary: #1a56db;
    --primary-hover: #1548c7;
    --primary-light: #e1effe;
    
    /* Semantic Colors */
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #0891b2;
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Transitions */
    --transition: 0.2s ease;
}

/* =============================================
   Base Styles
   ============================================= */
body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    background-color: var(--gray-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   Typography
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.3;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.125rem; }

.text-muted {
    color: var(--gray-500) !important;
}

/* Monospace for URLs and codes */
.font-mono {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 500;
}

/* =============================================
   Navigation
   ============================================= */
.navbar {
    box-shadow: var(--shadow);
    padding: 0.75rem 0;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.025em;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--gray-100);
}

/* =============================================
   Cards
   ============================================= */
.card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    background-color: #fff;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow);
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: transparent;
    border-top: 1px solid var(--gray-200);
    padding: 1rem 1.5rem;
}

/* Stat Cards */
.stat-card {
    border-left: 4px solid var(--primary);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-card.stat-success { border-left-color: var(--success); }
.stat-card.stat-warning { border-left-color: var(--warning); }
.stat-card.stat-danger { border-left-color: var(--danger); }
.stat-card.stat-info { border-left-color: var(--info); }

/* =============================================
   Buttons
   ============================================= */
.btn {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

/* Icon Buttons */
.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon.btn-sm {
    width: 32px;
    height: 32px;
}

/* =============================================
   Forms
   ============================================= */
.form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
}

.form-control,
.form-select {
    border-radius: var(--radius);
    border-color: var(--gray-300);
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

.form-control::placeholder {
    color: var(--gray-400);
}

.input-group-text {
    background-color: var(--gray-100);
    border-color: var(--gray-300);
    color: var(--gray-600);
}

/* URL Input */
.url-input-group {
    position: relative;
}

.url-input-group .form-control {
    padding-left: 3rem;
}

.url-input-group .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    z-index: 10;
}

/* =============================================
   Tables
   ============================================= */
.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    background-color: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.875rem 1rem;
}

.table td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-100);
}

.table tbody tr:hover {
    background-color: var(--gray-50);
}

.table-responsive {
    border-radius: var(--radius-md);
}

/* URL Display in Table */
.url-cell {
    max-width: 300px;
}

.short-url {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
}

.original-url {
    font-size: 0.8125rem;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
    display: block;
}

/* =============================================
   Badges
   ============================================= */
.badge {
    font-weight: 500;
    padding: 0.375rem 0.625rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* =============================================
   Alerts
   ============================================= */
.alert {
    border-radius: var(--radius-md);
    border: none;
    padding: 1rem 1.25rem;
}

.alert-success {
    background-color: #ecfdf5;
    color: #065f46;
}

.alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
}

.alert-warning {
    background-color: #fffbeb;
    color: #92400e;
}

.alert-info {
    background-color: #ecfeff;
    color: #155e75;
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.hero p.lead {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
}

/* =============================================
   URL Shortener Box
   ============================================= */
.shortener-box {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.shortener-box .form-control {
    height: 56px;
    font-size: 1rem;
    padding-left: 3.5rem;
}

.shortener-box .btn {
    height: 56px;
    padding: 0 2rem;
    font-size: 1rem;
}

/* Result Box */
.result-box {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.result-url {
    font-family: var(--font-mono);
    font-size: 1.125rem;
    color: var(--primary);
    font-weight: 500;
    word-break: break-all;
}

/* =============================================
   Dashboard Sidebar
   ============================================= */
.sidebar {
    width: 260px;
    min-height: calc(100vh - 56px);
    background-color: white;
    border-right: 1px solid var(--gray-200);
    position: fixed;
    top: 56px;
    left: 0;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-nav {
    padding: 1.5rem 1rem;
}

.sidebar-nav .nav-link {
    color: var(--gray-600);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.sidebar-nav .nav-link:hover {
    background-color: var(--gray-100);
    color: var(--gray-900);
}

.sidebar-nav .nav-link.active {
    background-color: var(--primary-light);
    color: var(--primary);
    font-weight: 500;
}

.sidebar-nav .nav-link i {
    font-size: 1.125rem;
    width: 1.5rem;
    text-align: center;
}

.main-content {
    margin-left: 260px;
    padding: 2rem;
    min-height: calc(100vh - 56px);
}

@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
}

/* =============================================
   Copy Button
   ============================================= */
.copy-btn {
    position: relative;
}

.copy-btn.copied::after {
    content: 'Copied!';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-800);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    white-space: nowrap;
    animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: 1; }
}

/* =============================================
   QR Code
   ============================================= */
.qr-code-box {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: inline-block;
}

.qr-code-box img {
    display: block;
}

/* =============================================
   Charts
   ============================================= */
.chart-container {
    position: relative;
    height: 300px;
}

/* =============================================
   Empty State
   ============================================= */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h4 {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

/* =============================================
   Install Wizard
   ============================================= */
.install-container {
    max-width: 600px;
    margin: 3rem auto;
}

.install-header {
    text-align: center;
    margin-bottom: 2rem;
}

.install-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.install-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    padding: 0;
    list-style: none;
}

.install-steps li {
    display: flex;
    align-items: center;
    color: var(--gray-400);
    font-size: 0.875rem;
    font-weight: 500;
}

.install-steps li::after {
    content: '';
    width: 3rem;
    height: 2px;
    background: var(--gray-200);
    margin: 0 0.75rem;
}

.install-steps li:last-child::after {
    display: none;
}

.install-steps li.active {
    color: var(--primary);
}

.install-steps li.completed {
    color: var(--success);
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gray-200);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.install-steps li.active .step-number {
    background: var(--primary);
    color: white;
}

.install-steps li.completed .step-number {
    background: var(--success);
    color: white;
}

/* =============================================
   Utilities
   ============================================= */
.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Spacing Helpers */
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 767.98px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .shortener-box {
        padding: 1.5rem;
    }
    
    .stat-card .stat-value {
        font-size: 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .table th,
    .table td {
        padding: 0.75rem;
    }
}

[data-bs-theme="dark"] {
    --gray-50: #1a1a2e;
    --gray-100: #1f1f35;
    --gray-200: #2a2a40;
    --gray-300: #3a3a50;
    --gray-400: #8888a0;
    --gray-500: #9ca3af;
    --gray-600: #b0b8c8;
    --gray-700: #d1d5db;
    --gray-800: #e5e7eb;
    --gray-900: #f3f4f6;
    --primary-light: rgba(79, 70, 229, 0.2);
}

[data-bs-theme="dark"] body:not(.landing-page):not(.app-dashboard) {
    background-color: #0f0f1a;
    color: #e2e0f0;
}

[data-bs-theme="dark"] body:not(.landing-page):not(.app-dashboard) h1,
[data-bs-theme="dark"] body:not(.landing-page):not(.app-dashboard) h2,
[data-bs-theme="dark"] body:not(.landing-page):not(.app-dashboard) h3,
[data-bs-theme="dark"] body:not(.landing-page):not(.app-dashboard) h4,
[data-bs-theme="dark"] body:not(.landing-page):not(.app-dashboard) h5,
[data-bs-theme="dark"] body:not(.landing-page):not(.app-dashboard) h6 {
    color: #f3f4f6;
}

[data-bs-theme="dark"] .navbar {
    background: #13112a !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

[data-bs-theme="dark"] .card {
    background-color: #1a1730;
    border-color: rgba(255,255,255,0.06);
    color: #e2e0f0;
}

[data-bs-theme="dark"] .card-header {
    border-bottom-color: rgba(255,255,255,0.06);
    color: #e2e0f0;
}

[data-bs-theme="dark"] .card-footer {
    border-top-color: rgba(255,255,255,0.06);
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: #13112a;
    border-color: rgba(255,255,255,0.10);
    color: #e2e0f0;
}

[data-bs-theme="dark"] .form-control:focus,
[data-bs-theme="dark"] .form-select:focus {
    background-color: #13112a;
    border-color: #4f46e5;
    color: #e2e0f0;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}

[data-bs-theme="dark"] .form-control::placeholder {
    color: #6b6490;
}

[data-bs-theme="dark"] .form-label {
    color: #9891b8;
}

[data-bs-theme="dark"] .input-group-text {
    background-color: #13112a;
    border-color: rgba(255,255,255,0.10);
    color: #9891b8;
}

[data-bs-theme="dark"] .table {
    color: #e2e0f0;
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255,255,255,0.02);
    --bs-table-hover-bg: rgba(255,255,255,0.03);
}

[data-bs-theme="dark"] .table th {
    background-color: rgba(255,255,255,0.02);
    border-bottom-color: rgba(255,255,255,0.06);
    color: #9891b8;
}

[data-bs-theme="dark"] .table td {
    border-bottom-color: rgba(255,255,255,0.06);
}

[data-bs-theme="dark"] .table tbody tr:hover {
    background-color: rgba(255,255,255,0.02);
}

[data-bs-theme="dark"] .dropdown-menu {
    background-color: #1a1730;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

[data-bs-theme="dark"] .dropdown-item {
    color: #e2e0f0;
}

[data-bs-theme="dark"] .dropdown-item:hover {
    background-color: rgba(255,255,255,0.05);
    color: #e2e0f0;
}

[data-bs-theme="dark"] .dropdown-divider {
    border-color: rgba(255,255,255,0.06);
}

[data-bs-theme="dark"] .alert-success {
    background-color: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

[data-bs-theme="dark"] .alert-danger {
    background-color: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

[data-bs-theme="dark"] .alert-warning {
    background-color: rgba(245, 158, 11, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

[data-bs-theme="dark"] .alert-info {
    background-color: rgba(6, 182, 212, 0.12);
    color: #67e8f9;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

[data-bs-theme="dark"] .shortener-box {
    background: #1a1730;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

[data-bs-theme="dark"] .result-box {
    background: #13112a;
}

[data-bs-theme="dark"] .sidebar {
    background-color: #13112a;
    border-right-color: rgba(255,255,255,0.06);
}

[data-bs-theme="dark"] .sidebar-nav .nav-link {
    color: #9891b8;
}

[data-bs-theme="dark"] .sidebar-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.04);
    color: #e2e0f0;
}

[data-bs-theme="dark"] .sidebar-nav .nav-link.active {
    background-color: rgba(79, 70, 229, 0.15);
    color: #818cf8;
}

[data-bs-theme="dark"] .qr-code-box {
    background: #1a1730;
    border-color: rgba(255,255,255,0.06);
}

[data-bs-theme="dark"] .empty-state {
    color: #9891b8;
}

[data-bs-theme="dark"] .empty-state h4 {
    color: #b0b8c8;
}

[data-bs-theme="dark"] .text-muted {
    color: #9891b8 !important;
}

[data-bs-theme="dark"] footer.bg-dark {
    background: #0c0a18 !important;
    border-top: 1px solid rgba(255,255,255,0.06);
}

[data-bs-theme="dark"] .bg-light {
    background-color: #13112a !important;
    color: #e2e0f0;
}

[data-bs-theme="dark"] .list-group-item {
    background-color: transparent;
    border-color: rgba(255,255,255,0.06);
    color: #e2e0f0;
}

[data-bs-theme="dark"] .breadcrumb-item a {
    color: #6b6490;
}

[data-bs-theme="dark"] .breadcrumb-item.active {
    color: #9891b8;
}

[data-bs-theme="dark"] .breadcrumb-item + .breadcrumb-item::before {
    color: #6b6490;
}

[data-bs-theme="dark"] .modal-content {
    background-color: #1a1730;
    border-color: rgba(255,255,255,0.06);
    color: #e2e0f0;
}

[data-bs-theme="dark"] .modal-header {
    border-bottom-color: rgba(255,255,255,0.06);
}

[data-bs-theme="dark"] .modal-footer {
    border-top-color: rgba(255,255,255,0.06);
}

[data-bs-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

[data-bs-theme="dark"] hr {
    border-color: rgba(255,255,255,0.06);
    opacity: 1;
}

[data-bs-theme="dark"] .copy-btn.copied::after {
    background: #e2e0f0;
    color: #0f0f1a;
}

[data-bs-theme="dark"] .install-steps li::after {
    background: rgba(255,255,255,0.06);
}

[data-bs-theme="dark"] .step-number {
    background: rgba(255,255,255,0.06);
    color: #9891b8;
}

[data-bs-theme="dark"] .badge.bg-secondary {
    background: rgba(255,255,255,0.08) !important;
    color: #9891b8 !important;
}

[data-bs-theme="dark"] .badge.bg-light {
    background: rgba(255,255,255,0.06) !important;
    color: #e2e0f0 !important;
}

[data-bs-theme="dark"] .btn-outline-secondary {
    color: #9891b8;
    border-color: rgba(255,255,255,0.10);
}

[data-bs-theme="dark"] .btn-outline-secondary:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
    color: #e2e0f0;
}

[data-bs-theme="dark"] .btn-light {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.06);
    color: #e2e0f0;
}

[data-bs-theme="dark"] .btn-light:hover {
    background: rgba(255,255,255,0.10);
    color: #e2e0f0;
}

[data-bs-theme="dark"] .nav-tabs {
    border-bottom-color: rgba(255,255,255,0.06);
}

[data-bs-theme="dark"] .nav-tabs .nav-link {
    color: #9891b8;
}

[data-bs-theme="dark"] .nav-tabs .nav-link.active {
    background-color: #1a1730;
    border-color: rgba(255,255,255,0.06) rgba(255,255,255,0.06) #1a1730;
    color: #e2e0f0;
}

[data-bs-theme="dark"] .page-link {
    background-color: #1a1730;
    border-color: rgba(255,255,255,0.06);
    color: #e2e0f0;
}

[data-bs-theme="dark"] .page-link:hover {
    background-color: rgba(255,255,255,0.04);
    color: #e2e0f0;
}

[data-bs-theme="dark"] .page-item.active .page-link {
    background-color: #4f46e5;
    border-color: #4f46e5;
}

[data-bs-theme="dark"] .page-item.disabled .page-link {
    background-color: #13112a;
    border-color: rgba(255,255,255,0.06);
    color: #6b6490;
}
