/* ===== GOOGLE FONTS IMPORT ===== */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Source+Sans+Pro:wght@300;400;600&family=Playfair+Display:wght@400;500;700&family=Merriweather:wght@300;400;700&family=Dancing+Script:wght@400;500;600&display=swap');

/* ===== FONT FAMILY CLASSES ===== */
.brand-font {
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
}

.anshu-font {
    font-family: 'Dancing Script', cursive;
    font-weight: 600;
    color: #FF9933;
}

.display-font {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.heading-font {
    font-family: 'Crimson Text', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.body-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

.quote-font {
    font-family: 'Merriweather', serif;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
}

.elegant-text {
    font-family: 'Crimson Text', serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* ===== BASE STYLES ===== */
body {
    font-family: 'Source Sans Pro', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* ===== Main Page Loader  ===== */
/* Page Loader */
#page-loader {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Loader smooth exit */
#page-loader {
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Optional spiritual glow */
.spiritual-avatar {
    animation: subtleGlow 3s ease-in-out infinite;
}

@keyframes subtleGlow {
    0% {
        box-shadow: 0 0 20px rgba(255, 153, 51, 0.25);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 153, 51, 0.45);
    }

    100% {
        box-shadow: 0 0 20px rgba(255, 153, 51, 0.25);
    }
}

/* ===== ANIMATED GRADIENT BACKGROUND ===== */
.bg-gradient-to-br {
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FF9933 0%, #3b82f6 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FF9933 0%, #2563eb 100%);
}

/* ===== NAVIGATION STYLES ===== */
.nav-link {
    position: relative;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #FF9933;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active-nav::after {
    width: 100%;
}

.nav-link.active-nav {
    color: #FF9933;
    font-weight: 600;
}

/* ===== CARD STYLES ===== */
.post-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.category-tag {
    transition: all 0.3s ease;
}

.category-tag:hover {
    background-color: #000;
    color: white;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/* ===== PAGE TRANSITIONS ===== */
.page {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    display: none;
}

.page.active-page {
    opacity: 1;
    transform: translateY(0);
    display: block;
    animation: pageFadeIn 0.6s ease-out;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #fffaf0 100%);
    margin: auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(255, 153, 51, 0.3);
    border: 1px solid #ffedd5;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* MARQUEE TOOL ON RANDHA COUNTER SECTION */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-track {
    display: inline-flex;
    animation: scroll 25s linear infinite;
}

.marquee-text {
    font-size: 15px;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.spiritual-modal-header {
    background-image: url("assets/bhagwat_bac.jpeg");
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #FF9933;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.blog-modal-header {
    background-image: url("https://c4.wallpaperflare.com/wallpaper/103/595/603/blurred-lights-night-blur-wallpaper-preview.jpg");
    background-size: cover;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #FF9933;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.spiritual-modal-body {
    padding: 2rem;
    background: white;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.close-modal {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: #ffedd5;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

/* ===== TYPOGRAPHY STYLES ===== */
.prose {
    line-height: 1.75;
}

.prose h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #FF9933;
}

.prose h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: #FF9933;
}

.prose p {
    margin-bottom: 1rem;
    color: #4b5563;
}

.prose ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.25rem;
    color: #4b5563;
}

/* ===== SPIRITUAL THEME STYLES ===== */
.spiritual-bg {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><pattern id="lotus" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10,2 C12,0 14,0 16,2 C18,4 18,6 16,8 C14,10 12,10 10,8 C8,6 8,4 10,2 Z M6,8 C8,6 10,6 12,8 C14,10 14,12 12,14 C10,16 8,16 6,14 C4,12 4,10 6,8 Z M14,8 C16,6 18,6 20,8 C22,10 22,12 20,14 C18,16 16,16 14,14 C12,12 12,10 14,8 Z" fill="%23ffedd5" opacity="0.2"/></pattern></defs><rect width="100" height="100" fill="url(%23lotus)"/></svg>');
    background-attachment: fixed;
}

.spiritual-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.spiritual-title {
    color: #FF9933;
}

.spiritual-nav {
    color: #4b5563;
}

.spiritual-nav:hover {
    color: #FF9933;
}

/* Main Backgound Image */
.spiritual-hero {
    background-image: url("assets/back2.jpg");
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.spiritual-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="radial" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23FF9933" stop-opacity="0.1"/><stop offset="100%" stop-color="%23FF9933" stop-opacity="0"/></radialGradient></defs><circle cx="50" cy="50" r="50" fill="url(%23radial)"/></svg>') center/cover no-repeat;
    opacity: 0.6;
}

.spiritual-tag {
    background: rgba(255, 255, 255, 0.9);
    border-color: #ffd8a8;
    color: #FF9933;
    backdrop-filter: blur(10px);
}

.spiritual-heading {
    color: #FF9933;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.spiritual-btn {
    background: #FF9933;
    box-shadow: 0 4px 6px rgba(255, 153, 51, 0.2);
}

.spiritual-btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(255, 153, 51, 0.3);
}

.spiritual-section {
    background: linear-gradient(to bottom, #fffaf0 0%, #ffffff 100%);
}

.spiritual-card {
    box-shadow: 0 4px 6px rgba(255, 153, 51, 0.1);
    border: 1px solid #ffedd5;
    transition: all 0.3s ease;
}

.spiritual-card:hover {
    box-shadow: 0 10px 15px rgba(255, 153, 51, 0.15);
    border-color: #FF9933;
    transform: translateY(-5px);
}

.spiritual-card-header {
    position: relative;
    overflow: hidden;
}

.spiritual-post-title {
    color: #FF9933;
}

.spiritual-avatar {
    box-shadow: 0 10px 25px rgba(255, 153, 51, 0.2);
    border: 4px solid #ffedd5;
}

.spiritual-footer {
    background: linear-gradient(to right, #fffaf0 0%, #fffbeb 100%);
    border-top: 1px solid #ffedd5;
    padding: 2rem 0;
}

/* ===== BUTTON STYLES ===== */
.page-nav-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.page-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.page-nav-btn:hover::before {
    left: 100%;
}

/* ===== UTILITY CLASSES ===== */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card.update-new {
    animation: highlightUpdate 2s ease;
}

@keyframes highlightUpdate {
    0% {
        background-color: rgba(255, 153, 51, 0.1);
        transform: scale(1.02);
    }

    100% {
        background-color: transparent;
        transform: scale(1);
    }
}

/* ===== GRADIENT TEXT UTILITIES ===== */
.gradient-text-purple {
    background: linear-gradient(135deg, #FF9933 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ENHANCED SHADOWS ===== */
.shadow-3xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* ===== SHLOKAS SECTION STYLES ===== */
.search-container {
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.search-container-box {
    max-width: 100%;
    margin: 0 auto 3rem auto;
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #ffedd5;
    border-radius: 50px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    background: white;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #FF9933;
    box-shadow: 0 6px 20px rgba(255, 153, 51, 0.15);
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #FF9933;
}

.chapter-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.chapter-filter-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid #ffedd5;
    border-radius: 25px;
    background: white;
    color: #FF9933;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chapter-filter-btn:hover,
.chapter-filter-btn.active {
    background: #FF9933;
    color: white;
    border-color: #FF9933;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.3);
}

.sloka-card {
    transition: all 0.3s ease;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.08);
}

.sloka-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
}

.elegant-subheading {
    font-family: 'Playfair Display' serif;
    font-weight: 600;
    color: #FF9933;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
    font-style: italic;
}

.no-results.hidden {
    display: none;
}

/* Mobile responsive styles for shlokas section */
@media (max-width: 768px) {
    .chapter-filters {
        gap: 0.5rem;
    }

    .chapter-filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .search-input {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .chapter-filters {
        gap: 0.4rem;
    }

    .chapter-filter-btn {
        padding: 0.35rem 0.8rem;
        font-size: 0.8rem;
        min-height: 36px;
    }

    .search-container {
        margin-bottom: 2rem;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .post-alternating-container {
        flex-direction: column !important;
    }

    .big-quote {
        font-size: 1.25rem;
        padding: 1.5rem;
    }

    .big-quote::before,
    .big-quote::after {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .spiritual-modal-header {
        padding: 1.5rem;
    }

    .spiritual-modal-body {
        padding: 1.5rem;
        max-height: calc(95vh - 100px);
    }

    .close-modal {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
    }
}

/* ===== MODAL SCROLLBAR STYLING ===== */
.spiritual-modal-body::-webkit-scrollbar {
    width: 6px;
}

.spiritual-modal-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.spiritual-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.spiritual-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ===== DARK MODE OVERRIDES (MIDNIGHT & GOLD) ===== */
body.dark-theme {
    background-color: #0f172a !important;
    background-image: linear-gradient(rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.95)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><pattern id="lotus" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10,2 C12,0 14,0 16,2 C18,4 18,6 16,8 C14,10 12,10 10,8 C8,6 8,4 10,2 Z M6,8 C8,6 10,6 12,8 C14,10 14,12 12,14 C10,16 8,16 6,14 C4,12 4,10 6,8 Z M14,8 C16,6 18,6 20,8 C22,10 22,12 20,14 C18,16 16,16 14,14 C12,12 12,10 14,8 Z" fill="%23ffd8a8" opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23lotus)"/></svg>') !important;
    color: #f8fafc !important;
}

body.dark-theme .bg-white,
body.dark-theme .bg-gray-50,
body.dark-theme .bg-purple-50,
body.dark-theme .bg-gradient-to-b.from-white.to-purple-50,
body.dark-theme .bg-gradient-to-br.from-purple-50.to-pink-50,
body.dark-theme .bg-gradient-to-br.from-slate-50.via-white.to-blue-50\/30 {
    background: #1e293b !important;
    color: #f8fafc !important;
}

body.dark-theme .text-gray-800,
body.dark-theme .text-gray-700,
body.dark-theme .text-gray-600,
body.dark-theme .text-gray-500 {
    color: #cbd5e1 !important;
}

body.dark-theme .spiritual-header {
    background: rgba(15, 23, 42, 0.95) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4) !important;
    border-bottom: 1px solid #334155 !important;
}

body.dark-theme .spiritual-nav,
body.dark-theme .nav-link {
    color: #94a3b8 !important;
}

body.dark-theme .nav-link:hover,
body.dark-theme .nav-link.active-nav {
    color: #fb923c !important;
}

body.dark-theme #mobile-drawer {
    background: #0f172a !important;
    border-left-color: #fb923c !important;
}

body.dark-theme .mobile-nav {
    color: #94a3b8 !important;
}

body.dark-theme .post-card,
body.dark-theme .sloka-card,
body.dark-theme .spiritual-card,
body.dark-theme .reaction-card {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
    color: #f8fafc !important;
}

body.dark-theme .sloka-card.bg-purple-100,
body.dark-theme .sloka-card.bg-blue-100,
body.dark-theme .sloka-card.bg-green-100,
body.dark-theme .sloka-card.bg-yellow-100,
body.dark-theme .sloka-card.bg-pink-100,
body.dark-theme .sloka-card.bg-indigo-100,
body.dark-theme .sloka-card.bg-teal-100,
body.dark-theme .sloka-card.bg-orange-100,
body.dark-theme .sloka-card.bg-lime-100,
body.dark-theme .sloka-card.bg-cyan-100,
body.dark-theme .sloka-card.bg-emerald-100,
body.dark-theme .sloka-card.bg-fuchsia-100,
body.dark-theme .sloka-card.bg-rose-100 {
    background: #1e293b !important;
    border: 2px solid #334155 !important;
}

body.dark-theme .elegant-subheading,
body.dark-theme .spiritual-post-title,
body.dark-theme .elegant-text,
body.dark-theme .prose p,
body.dark-theme .prose li {
    color: #e2e8f0 !important;
}

body.dark-theme .spiritual-footer {
    background: linear-gradient(to right, #0f172a, #1e293b) !important;
    border-top-color: #334155 !important;
}

body.dark-theme .spiritual-section {
    background: #0f172a !important;
}

body.dark-theme .bg-gradient-to-r.from-yellow-50.to-orange-50 {
    background: #1e293b !important;
    border-color: #334155 !important;
}

body.dark-theme .modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-color: #334155 !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
}

body.dark-theme .spiritual-modal-body {
    background: #0f172a !important;
    color: #e2e8f0 !important;
}

body.dark-theme .chapter-filter-btn {
    background: #1e293b;
    border-color: #334155;
    color: #fb923c;
}

body.dark-theme .chapter-filter-btn:hover,
body.dark-theme .chapter-filter-btn.active {
    background: #fb923c;
    color: #0f172a;
    border-color: #fb923c;
}

body.dark-theme .search-input {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

body.dark-theme input::placeholder,
body.dark-theme textarea::placeholder {
    color: #64748b !important;
}

body.dark-theme input,
body.dark-theme textarea {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

/* Star Bookmark Hover */
.bookmark-btn:hover {
    transform: scale(1.2);
}

/* ===== FIREBASE AUTH & SYNC WIDGETS ===== */
#cloudSyncStatus {
    transition: all 0.3s ease;
}

#auth-widget-desktop, #auth-widget-mobile {
    display: flex;
    align-items: center;
}

#user-avatar-desktop, #user-avatar-mobile {
    transition: transform 0.3s ease;
}

#user-avatar-desktop:hover, #user-avatar-mobile:hover {
    transform: scale(1.1);
}

/* Dark mode compatibility override for sync status */
body.dark-theme #cloudSyncStatus {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

/* Styling for Firebase Cloud Sync Promo Card in Light & Dark modes */
#firebase-sync-card {
    background: #ffffff !important;
    border-color: #e9d5ff !important; /* purple-200 */
}

#firebase-sync-card h4 {
    color: #1f2937 !important; /* text-gray-800 */
}

#firebase-sync-card p {
    color: #4b5563 !important; /* text-gray-600 */
}

body.dark-theme #firebase-sync-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-color: #334155 !important;
}

body.dark-theme #firebase-sync-card h4 {
    color: #f8fafc !important; /* text-slate-100 */
}

body.dark-theme #firebase-sync-card p {
    color: #cbd5e1 !important; /* text-slate-400 */
}