/* ======================================
   VERSES WISDOM — Premium Spiritual CSS
   ====================================== */

/* Font Families */
.font-display { font-family: 'Cinzel', serif; }
.font-body { font-family: 'Inter', sans-serif; }
.font-serif { font-family: 'Playfair Display', serif; }

/* ======================================
   BRAND LOGO & HEADER VISIBILITY
   ====================================== */

.brand-logo-box {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
    border-radius: 0.75rem !important;
}

.brand-logo-box svg {
    color: #ffffff !important;
}

.brand-logo-text {
    font-family: 'Cinzel', serif !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 1.15rem !important;
    transition: color 0.2s ease !important;
}

.dark .brand-logo-text {
    color: #60a5fa !important;
}

.brand-logo-text-footer {
    font-family: 'Cinzel', serif !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 1.25rem !important;
}

/* ======================================
   COLOR SYSTEM & BACKGROUNDS
   ====================================== */

:root {
    --amber-50: #f0f7ff;
    --amber-100: #dbeafe;
    --amber-400: #60a5fa;
    --amber-500: #2563eb;
    --amber-600: #1d4ed8;
    --amber-700: #1e40af;
    --cream-50: #ffffff;
    --dark-800: #1a1a2e;
    --dark-900: #0f0f1a;
    --gold-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --spiritual-gradient: linear-gradient(135deg, #6b8cff 0%, #4732c5 100%);
    --heaven-gradient: linear-gradient(180deg, #cde4ff 0%, #ffd6e8 100%);
}

.bg-cream-50 { background-color: var(--cream-50); }
.dark .bg-cream-50 { background-color: #0f0f1a; }
.bg-dark-900 { background-color: #0f0f1a; }
.dark .bg-dark-900 { background-color: #0a0a12; }
.text-dark-900 { color: #0f0f1a; }

/* ======================================
   GLASS MORPHISM NAV (Premium Royal Blue Theme)
   ====================================== */

.glass-nav {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%) !important;
    border-bottom: 2px solid #1d4ed8 !important;
    box-shadow: 0 4px 20px rgba(29, 78, 216, 0.2) !important;
    transition: all 0.3s ease;
}

.dark .glass-nav {
    background: linear-gradient(135deg, #090d16 0%, #0f172a 100%) !important;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}

.glass-nav .icon-btn {
    color: rgba(255, 255, 255, 0.95) !important;
}

.glass-nav .icon-btn:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.dark .glass-nav .icon-btn {
    color: #cbd5e1 !important;
}

.dark .glass-nav .icon-btn:hover {
    color: #60a5fa !important;
    background: rgba(59, 130, 246, 0.08) !important;
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid #dbeafe;
    box-shadow: 0 8px 32px rgba(29, 78, 216, 0.05);
}

.dark .glass-card {
    background: rgba(26, 26, 46, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ======================================
   NAVIGATION LINKS (High Contrast Royal Blue Theme)
   ====================================== */

.nav-link {
    padding: 0.5rem 0.875rem;
    border-radius: 0.625rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dark .nav-link { color: #cbd5e1 !important; }

.nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.dark .nav-link:hover {
    color: #60a5fa !important;
    background: rgba(59, 130, 246, 0.08) !important;
}

.nav-link-active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.25) !important;
    font-weight: 600;
}

.dark .nav-link-active {
    color: #60a5fa !important;
    background: rgba(59, 130, 246, 0.12) !important;
}

#mobile-menu {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.dark #mobile-menu {
    background: #0f172a !important;
    border-top: 1px solid rgba(59, 130, 246, 0.1) !important;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: all 0.2s;
}

.dark .mobile-nav-link { color: #cbd5e1 !important; }

.mobile-nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.dark .mobile-nav-link:hover {
    color: #60a5fa !important;
    background: rgba(59, 130, 246, 0.08) !important;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s;
}

.dark .dropdown-item { color: #d1d5db; }
.dropdown-item:hover { background: rgba(37, 99, 235, 0.1); color: var(--amber-700); }

/* ======================================
   BUTTONS
   ====================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    border: none;
    cursor: pointer;
    font-size: inherit;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, #60a5fa, #2563eb);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    color: var(--amber-700);
    border: 2px solid var(--amber-500);
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    font-size: inherit;
}

.dark .btn-outline { color: var(--amber-400); border-color: var(--amber-400); }

.btn-outline:hover {
    background: var(--amber-500);
    color: white;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 0.4rem 0.875rem;
    font-size: 0.8rem;
    border-radius: 0.5rem;
}

.icon-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.625rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-btn:hover {
    color: var(--amber-700);
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.2);
}

.dark .icon-btn { color: #9ca3af; }
.dark .icon-btn:hover { color: var(--amber-400); }

/* ======================================
   FOOTER LINKS
   ====================================== */

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-link:hover { color: var(--amber-400); }

/* ======================================
   HERO SECTION
   ====================================== */

.hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f1a 0%, #101935 40%, #0d1a2e 100%);
}

.hero-bg-stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(96, 165, 250, 0.6) 0%, transparent 50%),
        radial-gradient(1px 1px at 70% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
        radial-gradient(1.5px 1.5px at 50% 80%, rgba(96, 165, 250, 0.3) 0%, transparent 50%),
        radial-gradient(1px 1px at 85% 60%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(2px 2px at 10% 70%, rgba(96, 165, 250, 0.4) 0%, transparent 50%);
    animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* ======================================
   VERSE CARDS
   ====================================== */

.verse-card {
    background: white;
    border-radius: 1.25rem;
    padding: 1.75rem;
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dark .verse-card {
    background: #1e1e32;
    border-color: #2d2d4a;
}

.verse-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    opacity: 0;
    transition: opacity 0.3s;
}

.verse-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.dark .verse-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

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

.verse-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
    font-style: italic;
    position: relative;
    padding-left: 1.25rem;
}

.dark .verse-quote { color: #e5e7eb; }

.verse-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: var(--amber-400);
    font-family: 'Cinzel', serif;
    line-height: 1;
    opacity: 0.6;
}

.verse-reference {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--amber-700);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.dark .verse-reference { color: var(--amber-400); }

/* ======================================
   CATEGORY CARDS
   ====================================== */

.category-card {
    border-radius: 1.25rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}

.category-card .category-title {
    color: var(--cat-color, #1f2937);
    filter: brightness(0.35);
    transition: filter 0.2s ease;
}

.category-card:hover .category-title {
    filter: brightness(0.2);
}

.dark .category-card .category-title {
    color: #f9fafb !important;
    filter: none !important;
}

.category-card .category-count {
    color: var(--cat-color, #6b7280);
    filter: brightness(0.45);
    opacity: 0.85;
    transition: filter 0.2s ease;
}

.category-card:hover .category-count {
    filter: brightness(0.3);
}

.dark .category-card .category-count {
    color: #9ca3af !important;
    filter: none !important;
    opacity: 1 !important;
}

/* ======================================
   WALLPAPER CARDS (Masonry)
   ====================================== */

.wallpaper-grid {
    columns: 2;
    column-gap: 1rem;
}

@media (min-width: 768px) {
    .wallpaper-grid { columns: 3; }
}

@media (min-width: 1280px) {
    .wallpaper-grid { columns: 4; }
}

.wallpaper-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    group: true;
}

.wallpaper-item:hover .wallpaper-overlay {
    opacity: 1;
}

.wallpaper-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
}

/* ======================================
   SEARCH BAR
   ====================================== */

.search-container {
    position: relative;
    max-width: 42rem;
}

.search-input {
    width: 100%;
    padding: 0.85rem 1.25rem 0.85rem 3.25rem;
    border-radius: 0.875rem;
    border: 2px solid rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    font-size: 1rem;
    color: #111827;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    outline: none;
}

.dark .search-input {
    background: rgba(30, 30, 50, 0.95);
    color: #f9fafb;
    border-color: rgba(37, 99, 235, 0.15);
}

.dark .search-input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.search-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 8px 30px rgba(0,0,0,0.1);
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: white;
    border-radius: 0.875rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 100;
}

.dark .search-results-dropdown {
    background: #1e1e32;
    border-color: rgba(37, 99, 235, 0.1);
}

/* ======================================
   SECTION HEADERS
   ====================================== */

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}

.dark .section-title { color: #f9fafb; }

.section-subtitle {
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.dark .section-subtitle { color: #9ca3af; }

.gold-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    border-radius: 9999px;
    margin: 0.75rem auto;
}

/* ======================================
   VERSE OF THE DAY
   ====================================== */

.votd-card {
    background: linear-gradient(135deg, #1a1028 0%, #0d1a2e 100%);
    border-radius: 2rem;
    padding: clamp(2rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
}

.votd-card::before {
    content: '';
    position: absolute;
    inset: 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='%232563eb' fill-opacity='0.03'%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");
}

.votd-cross {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.05;
}

/* ======================================
   ANIMATIONS
   ====================================== */

@keyframes slide-in {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.animate-slide-in { animation: slide-in 0.3s ease-out; }

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }

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

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

/* ======================================
   PAGINATION
   ====================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.375rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    min-width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    padding: 0 0.75rem;
}

.pagination a {
    color: #4b5563;
    background: white;
    border: 1px solid #e5e7eb;
}

.dark .pagination a {
    color: #d1d5db;
    background: #1e1e32;
    border-color: #2d2d4a;
}

.pagination a:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.pagination span.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
}

/* ======================================
   BADGES & TAGS
   ====================================== */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.badge-amber, .badge-blue {
    background: rgba(37, 99, 235, 0.15);
    color: #1e40af;
}

.dark .badge-amber, .dark .badge-blue {
    background: rgba(37, 99, 235, 0.1);
    color: #60a5fa;
}

/* ======================================
   INPUTS & FORMS
   ====================================== */

.form-input {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 2px solid #e5e7eb;
    background: white;
    color: #111827;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    outline: none;
}

.dark .form-input {
    background: #1e1e32;
    border-color: #2d2d4a;
    color: #f9fafb;
}

.form-input:focus { border-color: #2563eb; }

/* ======================================
   LOADING STATES
   ====================================== */

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

.dark .skeleton {
    background: linear-gradient(90deg, #1e1e32 25%, #2d2d4a 50%, #1e1e32 75%);
    background-size: 200% 100%;
}

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

/* ======================================
   CUSTOM SCROLLBAR
   ====================================== */

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2563eb, #1d4ed8);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: #1e40af; }

/* ======================================
   SHARE BUTTONS
   ====================================== */

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 0.625rem;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.share-btn-fb { background: #1877f2; color: white; }
.share-btn-tw { background: #1da1f2; color: white; }
.share-btn-wa { background: #25d366; color: white; }
.share-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }

/* ======================================
   STAR / FAVORITE BUTTON
   ====================================== */

.fav-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s;
    color: #9ca3af;
}

.dark .fav-btn {
    background: #1e1e32;
    border-color: #2d2d4a;
}

.fav-btn:hover, .fav-btn.active {
    border-color: #2563eb;
    color: #2563eb;
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.fav-btn.active {
    background: #dbeafe;
    color: #1d4ed8;
}

.dark .fav-btn.active {
    background: rgba(37, 99, 235, 0.1);
}

/* ======================================
   [x-cloak] HIDDEN UNTIL ALPINE LOADS
   ====================================== */

[x-cloak] { display: none !important; }

/* ======================================
   RESPONSIVE NAVIGATION MEDIA QUERIES (Tailwind Fallback)
   ====================================== */
@media (min-width: 768px) {
    #mobile-menu-btn {
        display: none !important;
    }
    .desktop-nav-menu {
        display: flex !important;
    }
    #mobile-menu {
        display: none !important;
    }
}

@media (max-width: 767px) {
    #mobile-menu-btn {
        display: inline-flex !important;
    }
    .desktop-nav-menu {
        display: none !important;
    }
}

/* ======================================
   POPULAR SEARCH TAG PILLS (High Contrast & Saturated)
   ====================================== */
.search-tag-pill {
    display: inline-block !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 9999px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    
    /* Light Mode Style: Vibrant blue text & border, clean soft blue background */
    background-color: #eff6ff !important;
    border: 2px solid #bfdbfe !important;
    color: #1d4ed8 !important;
    box-shadow: 0 2px 5px rgba(29, 78, 216, 0.05) !important;
}

.search-tag-pill:hover {
    background-color: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.2) !important;
}

/* Dark Mode Style: Subtle background, solid medium blue border and bright blue/cyan text */
.dark .search-tag-pill {
    background-color: rgba(30, 41, 59, 0.8) !important;
    border: 2px solid rgba(59, 130, 246, 0.5) !important;
    color: #60a5fa !important;
    box-shadow: none !important;
}

.dark .search-tag-pill:hover {
    background-color: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4) !important;
}

/* ======================================
   FAVORITES TAB BUTTONS (High Contrast & Saturated)
   ====================================== */
.fav-tab-btn {
    position: relative !important;
    padding-bottom: 0.75rem !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #4b5563 !important; /* Rich gray text in light mode */
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-bottom: 3px solid transparent !important;
    display: inline-flex !important;
    align-items: center !important;
}

.fav-tab-btn:hover {
    color: #1d4ed8 !important; /* Premium Royal Blue */
}

.fav-tab-btn-active {
    color: #1d4ed8 !important; /* Active Premium Royal Blue */
    border-bottom-color: #2563eb !important; /* Underline indicator */
}

.dark .fav-tab-btn {
    color: #9ca3af !important; /* Soft white/gray in dark mode */
}

.dark .fav-tab-btn:hover {
    color: #60a5fa !important; /* Electric blue hover */
}

.dark .fav-tab-btn-active {
    color: #60a5fa !important;
    border-bottom-color: #3b82f6 !important;
}


