/* ==========================================================================
   Base & CSS Variables - Dynamic Company Theming Engine
   ========================================================================== */

:root {
    /* Default / Fallback Theme */
    --theme-primary: #3b82f6;
    --theme-primary-hover: #2563eb;
    --theme-primary-light: #eff6ff;
    --theme-primary-border: #bfdbfe;
    --theme-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --theme-nav-bg: #1e293b;
    --theme-nav-accent: #3b82f6;
    --theme-glow: rgba(59, 130, 246, 0.35);
    --theme-glow-sm: rgba(59, 130, 246, 0.2);
    --theme-ring-conic: conic-gradient(#ea4335, #4285f4, #34a853, #fbbc05, #ea4335);
    --theme-badge-bg: #3b82f6;
    --theme-badge-text: #ffffff;
    --theme-card-accent: #3b82f6;
    --theme-subtle-bg: rgba(59, 130, 246, 0.08);
}

/* Victoria Gold - Warm Amber & Royal Gold Theme */
body[data-company-theme="victoria-gold"] {
    --theme-primary: #d97706;
    --theme-primary-hover: #b45309;
    --theme-primary-light: #fffbeb;
    --theme-primary-border: #fde68a;
    --theme-gradient: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
    --theme-nav-bg: #16171a;
    --theme-nav-accent: #f59e0b;
    --theme-glow: rgba(245, 158, 11, 0.4);
    --theme-glow-sm: rgba(245, 158, 11, 0.22);
    --theme-ring-conic: conic-gradient(#f59e0b, #ef4444, #3b82f6, #10b981, #f59e0b);
    --theme-badge-bg: #f59e0b;
    --theme-badge-text: #1c1917;
    --theme-card-accent: #f59e0b;
    --theme-subtle-bg: rgba(245, 158, 11, 0.09);
}

/* Ege Gold - Aegean Sea Emerald & Teal Theme */
body[data-company-theme="ege-gold"] {
    --theme-primary: #0d9488;
    --theme-primary-hover: #0f766e;
    --theme-primary-light: #f0fdfa;
    --theme-primary-border: #99f6e4;
    --theme-gradient: linear-gradient(135deg, #10b981 0%, #0f766e 100%);
    --theme-nav-bg: #0b1720;
    --theme-nav-accent: #10b981;
    --theme-glow: rgba(16, 185, 129, 0.4);
    --theme-glow-sm: rgba(16, 185, 129, 0.22);
    --theme-ring-conic: conic-gradient(#10b981, #06b6d4, #3b82f6, #84cc16, #10b981);
    --theme-badge-bg: #0d9488;
    --theme-badge-text: #ffffff;
    --theme-card-accent: #10b981;
    --theme-subtle-bg: rgba(13, 148, 136, 0.09);
}

/* Fallback Palette: Royal Purple */
body[data-company-theme="royal-purple"] {
    --theme-primary: #7c3aed;
    --theme-primary-hover: #6d28d9;
    --theme-primary-light: #f5f3ff;
    --theme-primary-border: #ddd6fe;
    --theme-gradient: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    --theme-nav-bg: #141124;
    --theme-nav-accent: #8b5cf6;
    --theme-glow: rgba(139, 92, 246, 0.4);
    --theme-glow-sm: rgba(139, 92, 246, 0.22);
    --theme-ring-conic: conic-gradient(#8b5cf6, #ec4899, #3b82f6, #10b981, #8b5cf6);
    --theme-badge-bg: #7c3aed;
    --theme-badge-text: #ffffff;
    --theme-card-accent: #8b5cf6;
    --theme-subtle-bg: rgba(124, 58, 237, 0.09);
}

/* Fallback Palette: Sapphire Blue */
body[data-company-theme="sapphire-blue"],
body[data-company-theme="pusula-gold"] {
    --theme-primary: #2563eb;
    --theme-primary-hover: #1d4ed8;
    --theme-primary-light: #eff6ff;
    --theme-primary-border: #bfdbfe;
    --theme-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --theme-nav-bg: #0e1726;
    --theme-nav-accent: #3b82f6;
    --theme-glow: rgba(59, 130, 246, 0.4);
    --theme-glow-sm: rgba(59, 130, 246, 0.22);
    --theme-ring-conic: conic-gradient(#3b82f6, #06b6d4, #10b981, #f59e0b, #3b82f6);
    --theme-badge-bg: #2563eb;
    --theme-badge-text: #ffffff;
    --theme-card-accent: #3b82f6;
    --theme-subtle-bg: rgba(37, 99, 235, 0.09);
}

/* ==========================================================================
   Core Layout & Components
   ========================================================================== */

body {
    background-color: #f8fafc;
    color: #1e293b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    transition: background-color 0.3s ease;
}

/* Dynamic Themed Navbar */
.navbar-custom {
    background-color: var(--theme-nav-bg) !important;
    border-bottom: 2px solid var(--theme-nav-accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 15px var(--theme-glow-sm);
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.2px;
}

.brand-icon-theme {
    color: var(--theme-nav-accent) !important;
    filter: drop-shadow(0 0 8px var(--theme-glow));
    transition: color 0.3s ease, filter 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.75) !important;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 -2px 0 var(--theme-nav-accent);
    font-weight: 600;
}

/* ==========================================================================
   Google Profile Avatar & Switcher Button
   ========================================================================== */

.google-avatar-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* The Outer Circular Avatar Button (Matches Google Profile Avatar Style) */
.google-avatar-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 2.5px; /* Multi-color ring thickness */
    background: var(--theme-ring-conic);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), 0 0 12px var(--theme-glow-sm);
    outline: none;
}

.google-avatar-btn:hover,
.google-avatar-btn:focus-visible {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28), 0 0 18px var(--theme-glow);
}

.google-avatar-btn::after {
    display: none !important; /* Hide Bootstrap dropdown caret */
}

/* Inner Avatar Circle */
.google-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--theme-gradient);
    border: 2px solid var(--theme-nav-bg);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    text-transform: uppercase;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

/* Company pill badge beside the avatar */
.navbar-company-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 4px 12px 4px 10px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.navbar-company-pill:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
}

.navbar-company-pill .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--theme-nav-accent);
    box-shadow: 0 0 6px var(--theme-nav-accent);
}

/* ==========================================================================
   Google Account Switcher Popup Card (Dropdown Menu)
   ========================================================================== */

.google-switcher-dropdown {
    width: 360px;
    max-width: calc(100vw - 24px);
    background: #ffffff;
    border-radius: 24px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-top: 10px !important;
    animation: googleDropdownFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1060;
}

@keyframes googleDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header Section (Like Google Account Header) */
.google-switcher-header {
    padding: 24px 20px 18px;
    text-align: center;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    position: relative;
}

.google-header-email {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 14px;
    letter-spacing: 0.2px;
}

/* Big Central Avatar with Camera/Settings Badge */
.google-big-avatar-wrapper {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 12px;
}

.google-big-avatar-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 3.5px;
    background: var(--theme-ring-conic);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px var(--theme-glow-sm);
}

.google-big-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--theme-gradient);
    border: 3px solid #ffffff;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

/* Little Camera / Badge on Corner (Screenshot match) */
.google-avatar-camera-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 26px;
    height: 26px;
    background-color: #1e293b;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.google-header-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.google-header-edition-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    background: var(--theme-subtle-bg);
    color: var(--theme-primary);
    border: 1px solid var(--theme-primary-border);
}

/* Switcher Body / Companies List */
.google-switcher-body {
    padding: 14px 16px 8px;
}

.google-switcher-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    margin-bottom: 10px;
    padding-left: 4px;
}

/* Company Item Row */
.google-company-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1.5px solid transparent;
    background: transparent;
    text-align: left;
    margin-bottom: 6px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.google-company-item:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
    transform: translateY(-1px);
}

.google-company-item.is-active {
    background: var(--theme-primary-light);
    border-color: var(--theme-primary-border);
    cursor: default;
}

.google-company-item.is-active:hover {
    transform: none;
}

.google-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.google-item-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.google-item-info {
    display: flex;
    flex-direction: column;
}

.google-item-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.2;
}

.google-item-subtitle {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 2px;
}

.google-item-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.google-active-check {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--theme-primary);
    background: #ffffff;
    padding: 3px 8px;
    border-radius: 12px;
    border: 1px solid var(--theme-primary-border);
}

/* Footer Info */
.google-switcher-footer {
    padding: 12px 16px;
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
    text-align: center;
    font-size: 0.74rem;
    color: #64748b;
}

/* ==========================================================================
   Themed Buttons, Badges, & Highlights
   ========================================================================== */

/* Themed Primary Button */
.btn-theme {
    background: var(--theme-gradient) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 4px 12px var(--theme-glow-sm);
    transition: all 0.2s ease;
}

.btn-theme:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px var(--theme-glow);
    color: #ffffff !important;
}

.btn-theme:active {
    transform: translateY(0);
}

.btn-theme:disabled {
    opacity: 0.65;
    transform: none;
    box-shadow: none;
}

/* Themed Outline Button */
.btn-outline-theme {
    background: transparent;
    border: 1.5px solid var(--theme-primary) !important;
    color: var(--theme-primary) !important;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-outline-theme:hover {
    background: var(--theme-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px var(--theme-glow-sm);
}

/* Themed Company Badge */
.company-badge-theme {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--theme-gradient) !important;
    color: #ffffff !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 2px 10px var(--theme-glow-sm);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.company-badge-theme .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 0 6px #ffffff;
}

/* Themed Card Highlights */
.card-theme-accent {
    border-top: 3px solid var(--theme-card-accent) !important;
}

.theme-text {
    color: var(--theme-primary) !important;
}

.theme-spinner {
    color: var(--theme-primary) !important;
}

/* Standard Card Enhancements */
.card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    transition: box-shadow 0.2s ease;
}

.footer {
    background-color: #f1f5f9;
    border-top: 1px solid #e2e8f0;
}

/* Enhance the select dropdown appearance */
.form-select-lg {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 1.05rem;
    border-radius: 0.75rem;
}

.form-select:focus,
.form-control:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 0.25rem var(--theme-glow-sm);
}

/* Style for the loading spinner inside the button */
#updateButton .spinner-border {
    vertical-align: text-bottom;
}

/* Style log messages */
.alert.small code {
    white-space: pre-wrap;
    word-break: break-all;
}

/* Full-screen Loading Overlay & Real-Time Progress Modal */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: opacity 0.3s ease;
}

.loading-content {
    max-width: 520px;
    width: 100%;
    border-radius: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPopIn {
    0% { transform: scale(0.92) translateY(10px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.progress-themed {
    background-color: #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
}

.progress-themed .progress-bar {
    background: var(--theme-gradient, linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%)) !important;
    transition: width 0.4s ease;
    box-shadow: 0 2px 10px var(--theme-glow-sm, rgba(59, 130, 246, 0.3));
}

.overlay-metric-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 0.65rem 0.75rem;
    text-align: center;
    transition: all 0.2s ease;
}

.overlay-metric-box:hover {
    background: var(--theme-subtle-bg, rgba(59, 130, 246, 0.08));
    border-color: var(--theme-primary-border, #bfdbfe);
}

.overlay-metric-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 2px;
}

.overlay-metric-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

/* Live Terminal Log Console */
.overlay-terminal {
    background: #090d16;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.85rem;
    padding: 0.75rem 0.9rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.76rem;
    line-height: 1.45;
    color: #94a3b8;
    max-height: 140px;
    overflow-y: auto;
    text-align: left;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.overlay-terminal::-webkit-scrollbar {
    width: 5px;
}

.overlay-terminal::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

.overlay-terminal-line {
    margin-bottom: 3px;
    display: flex;
    gap: 6px;
    word-break: break-word;
}

.overlay-terminal-line .t-time {
    color: #64748b;
    flex-shrink: 0;
}

.overlay-terminal-line .t-tag {
    font-weight: 700;
    flex-shrink: 0;
}

.overlay-terminal-line .t-tag.tag-ok { color: #34d399; }
.overlay-terminal-line .t-tag.tag-send { color: #60a5fa; }
.overlay-terminal-line .t-tag.tag-wait { color: #fbbf24; }
.overlay-terminal-line .t-tag.tag-err { color: #f87171; }
.overlay-terminal-line .t-tag.tag-info { color: #c084fc; }

.overlay-terminal-line .t-msg {
    color: #e2e8f0;
}

.pulsing-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--theme-primary);
    box-shadow: 0 0 0 0 var(--theme-glow);
    animation: pulseGlow 1.6s infinite;
    display: inline-block;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 var(--theme-glow); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(0, 0, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

/* ==========================================================================
   Price Checker Interactive Summary Cards & Pagination
   ========================================================================== */

.summary-filter-card {
    cursor: pointer;
    user-select: none;
    position: relative;
    border: 2px solid transparent !important;
    border-radius: 1rem;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.summary-filter-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.summary-filter-card:active {
    transform: translateY(0);
}

/* Active Filter Glows & Outlines */
.summary-filter-card[data-filter-type="ALL"].is-active-filter {
    border-color: #3b82f6 !important;
    background-color: rgba(59, 130, 246, 0.18) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25), 0 8px 20px rgba(59, 130, 246, 0.18) !important;
}

.summary-filter-card[data-filter-type="MATCH"].is-active-filter {
    border-color: #10b981 !important;
    background-color: rgba(16, 185, 129, 0.18) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25), 0 8px 20px rgba(16, 185, 129, 0.18) !important;
}

.summary-filter-card[data-filter-type="MISMATCH"].is-active-filter {
    border-color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.18) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25), 0 8px 20px rgba(239, 68, 68, 0.18) !important;
}

.summary-filter-card[data-filter-type="WARNING"].is-active-filter {
    border-color: #f59e0b !important;
    background-color: rgba(245, 158, 11, 0.18) !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25), 0 8px 20px rgba(245, 158, 11, 0.18) !important;
}

.filter-card-badge {
    display: none;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 20px;
    background: currentColor;
    color: #ffffff;
}

.is-active-filter .filter-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.filter-hint-text {
    font-size: 0.72rem;
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.summary-filter-card:hover .filter-hint-text {
    opacity: 1;
}

/* Pagination Styling */
.pagination-custom .page-link {
    border-radius: 8px;
    margin: 0 2px;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.45rem 0.85rem;
    transition: all 0.18s ease;
}

.pagination-custom .page-link:hover {
    background-color: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.pagination-custom .page-item.active .page-link {
    background: var(--theme-gradient, linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%)) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px var(--theme-glow-sm, rgba(59, 130, 246, 0.3));
}

.pagination-custom .page-item.disabled .page-link {
    color: #94a3b8;
    background-color: #f8fafc;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.7;
}