/* BEKCM PRO v1.0.0 - Modern Civic GovTech Stylesheet */
:root {
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
    font-family: var(--font-display);
    overflow-x: hidden;
    max-width: 100vw;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: #f8fafc;
    color: #0f172a;
}

/* Mencegah geser horizontal di smartphone */
.viewport-lock {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Sticky Glassmorphism Navbar */
.civic-glass {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

/* Floating Oval Bottom Navbar (Mobile) dengan efek 3D halus */
.mobile-oval-nav {
    background: linear-gradient(145deg, #0f172a 0%, #064e3b 100%);
    box-shadow: 0 12px 30px -6px rgba(15, 23, 42, 0.45),
                0 4px 10px -2px rgba(4, 120, 87, 0.25),
                inset 0 1px 1px rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-nav-item-active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* News Ticker Animation */
@keyframes civicTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: civicTicker 34s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

/* Hero Subtle Grid Pattern */
.civic-grid-bg {
    background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 22px 22px;
}

/* Admin Sidebar Transitions */
.admin-sidebar {
    transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Rich Content Prose */
.article-prose p { margin-bottom: 1rem; line-height: 1.75; color: #334155; }
.article-prose h2 { font-size: 1.35rem; font-weight: 700; color: #0f172a; margin: 1.5rem 0 0.75rem; }
.article-prose h3 { font-size: 1.15rem; font-weight: 600; color: #0f172a; margin: 1.25rem 0 0.5rem; }
.article-prose ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1rem; color: #334155; }
.article-prose ol { list-style-type: decimal; padding-left: 1.5rem; margin-bottom: 1rem; color: #334155; }
.article-prose blockquote {
    border-left: 4px solid #059669;
    padding: 0.75rem 1rem;
    background: #ecfdf5;
    border-radius: 0 0.5rem 0.5rem 0;
    margin: 1rem 0;
    color: #065f46;
}
.article-prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.article-prose th, .article-prose td { border: 1px solid #e2e8f0; padding: 0.5rem 0.75rem; text-align: left; }
.article-prose th { background: #f8fafc; font-weight: 600; }
