/* ==========================================================================
   Stiluri Personalizate - Palade Cătălin | Consilier Local Poduri, Bacău
   ========================================================================== */

:root {
    --bg-page: #f8fafc;        /* slate-50 */
    --bg-surface: #ffffff;     /* white */
    --bg-muted: #f1f5f9;       /* slate-100 */
    --text-main: #0f172a;      /* slate-900 */
    --text-muted: #475569;     /* slate-600 */
    --border-soft: #e2e8f0;    /* slate-200 */
    --accent-primary: #059669; /* emerald-600 */
    --accent-hover: #047857;   /* emerald-700 */
    --accent-soft: #ecfdf5;    /* emerald-50 */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
}

/* Câmp honeypot anti-spam */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Stiluri pentru conținutul bogat al articolelor (Quill / HTML curățat) */
.article-body h1,
.article-body h2,
.article-body h3 {
    color: var(--text-main);
    font-weight: 800;
    line-height: 1.3;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-body h1 {
    font-size: 1.65rem;
}

.article-body h2 {
    font-size: 1.35rem;
}

.article-body h3 {
    font-size: 1.15rem;
}

.article-body p {
    margin-bottom: 1rem;
}

.article-body ul,
.article-body ol {
    margin: 0.75rem 0 1.25rem 1.5rem;
}

.article-body ul {
    list-style-type: disc;
}

.article-body ol {
    list-style-type: decimal;
}

.article-body li {
    margin-bottom: 0.4rem;
}

.article-body a {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-body a:hover {
    color: var(--accent-hover);
}

.article-body blockquote {
    border-left: 4px solid var(--accent-primary);
    background-color: var(--accent-soft);
    color: var(--text-main);
    padding: 0.85rem 1.15rem;
    border-radius: 0 0.75rem 0.75rem 0;
    margin: 1.25rem 0;
    font-style: italic;
}

/* Ajustări pentru editorul Quill în modul luminos */
.ql-toolbar.ql-snow {
    background-color: var(--bg-muted);
    border-color: #cbd5e1 !important;
    border-radius: 0.75rem 0.75rem 0 0;
}

.ql-container.ql-snow {
    border-color: #cbd5e1 !important;
    border-radius: 0 0 0.75rem 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
}

/* Scrollbar discret pe tabele / containere */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-muted);
}

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

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