/**
 * ==============================================================================
 * Nepali Daily Product Blog CMS - Custom Styles
 * ==============================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@300;400;500;600;700;800&display=swap');

:root {
    --brand-primary: #059669; /* Emerald 600 */
    --brand-secondary: #047857; /* Emerald 700 */
    --brand-dark: #064e3b; /* Emerald 900 */
    --brand-accent: #0284c7; /* Sky 600 */
}

body {
    font-family: 'Mukta', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
}

/* Devanagari typography enhancement */
.nepali-text, p, h1, h2, h3, h4, h5, h6, span, a, input, textarea, button, select {
    font-family: 'Mukta', sans-serif;
}

/* Content prose formatting for rich articles */
.article-prose {
    font-size: 1.125rem;
    line-height: 1.85;
    color: #334155;
}

.article-prose p {
    margin-bottom: 1.25rem;
}

.article-prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.35rem;
}

.article-prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-prose ul {
    list-style-type: disc;
    margin-left: 1.75rem;
    margin-bottom: 1.25rem;
}

.article-prose ol {
    list-style-type: decimal;
    margin-left: 1.75rem;
    margin-bottom: 1.25rem;
}

.article-prose li {
    margin-bottom: 0.35rem;
}

.article-prose blockquote {
    border-left: 4px solid var(--brand-primary);
    padding-left: 1rem;
    font-style: italic;
    color: #475569;
    margin: 1.25rem 0;
    background-color: #f1f5f9;
    padding: 0.75rem 1rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Custom scrollbars */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Pulse animation for AI writing */
@keyframes ai-shimmer {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.ai-loading-active {
    animation: ai-shimmer 1.5s infinite;
}
