/* ============================================================
   OxiDB Blog — Editorial Magazine Theme
   Typography: Playfair Display + Source Sans 3 + JetBrains Mono
   ============================================================ */

:root {
    --bg: #faf8f4;
    --surface: #ffffff;
    --ink: #1c1917;
    --ink-light: #57534e;
    --ink-faint: #a8a29e;
    --accent: #c2410c;
    --accent-hover: #9a3412;
    --accent-bg: #fff7ed;
    --border: #e7e5e4;
    --border-light: #f5f5f4;
    --code-bg: #1c1917;
    --code-fg: #fafaf9;
    --radius: 4px;
    --font-display: 'Outfit', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --shadow-sm: 0 1px 3px rgba(28,25,23,0.04), 0 1px 2px rgba(28,25,23,0.06);
    --shadow-md: 0 4px 16px rgba(28,25,23,0.06), 0 1px 3px rgba(28,25,23,0.08);
    --shadow-lg: 0 12px 40px rgba(28,25,23,0.08), 0 4px 12px rgba(28,25,23,0.04);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Film grain overlay */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.022;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px;
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

.anim-fade {
    animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Selection */
::selection {
    background: var(--accent);
    color: #fff;
}

/* ---- Links ---- */
a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s;
}

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

/* ---- Container ---- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.92);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    transition: color 0.15s;
}

.logo:hover { color: var(--ink); text-decoration: none; }

.logo-mark {
    color: var(--accent);
}

.logo-dot {
    color: var(--accent);
}

nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 6px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-light);
    border-radius: var(--radius);
    transition: all 0.15s;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--ink);
    background: var(--border-light);
    text-decoration: none;
}

.nav-link--muted {
    color: var(--ink-faint);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 48px;
    padding-top: 40px;
    padding-bottom: 80px;
    min-height: calc(100vh - 64px - 72px);
}

main { min-width: 0; }

/* ---- Page Header ---- */
.page-header {
    margin-bottom: 36px;
}

.page-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 4px;
}

.page-title {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.page-subtitle {
    margin-top: 8px;
    color: var(--ink-light);
    font-size: 1.05rem;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
aside {
    padding-top: 4px;
}

.sidebar-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.sidebar-section:last-child {
    border-bottom: none;
}

.sidebar-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink-faint);
    margin-bottom: 12px;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    padding: 5px 0;
}

.sidebar-list a {
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.15s;
}

.sidebar-list a:hover {
    color: var(--accent);
    text-decoration: none;
}

.sidebar-search {
    position: relative;
}

.sidebar-search .search-input {
    width: 100%;
    padding: 9px 12px 9px 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-family: var(--font-body);
    background: var(--surface);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.sidebar-search .search-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(194,65,12,0.08);
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-faint);
    pointer-events: none;
}

.sidebar-about p {
    font-size: 0.88rem;
    color: var(--ink-light);
    line-height: 1.6;
}

.sidebar-rule {
    height: 1px;
    background: var(--border);
    margin: 14px 0;
}

.sidebar-stack {
    font-size: 0.78rem !important;
    color: var(--ink-faint) !important;
    letter-spacing: 0.02em;
}

/* ============================================================
   POST CARDS
   ============================================================ */
.post-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.post-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-cover {
    display: block;
    overflow: hidden;
    position: relative;
}

.card-cover img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-card:hover .card-cover img {
    transform: scale(1.03);
}

.card-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(28,25,23,0.08) 100%);
}

.card-body {
    padding: 24px 28px 28px;
}

.card-meta {
    font-size: 0.78rem;
    color: var(--ink-faint);
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card-category {
    color: var(--accent);
    font-weight: 600;
}

.card-category:hover {
    text-decoration: none;
}

.meta-sep {
    margin: 0 6px;
    color: var(--border);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.card-title a {
    color: var(--ink);
    transition: color 0.15s;
}

.card-title a:hover {
    color: var(--accent);
    text-decoration: none;
}

.card-excerpt {
    color: var(--ink-light);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.card-read {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.card-read:hover {
    gap: 10px;
    text-decoration: none;
}

/* ============================================================
   ARTICLE (full post)
   ============================================================ */
.article {
    margin-bottom: 0;
}

.article-header {
    margin-bottom: 32px;
}

.article-meta {
    font-size: 0.78rem;
    color: var(--ink-faint);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.article-category {
    color: var(--accent);
    font-weight: 700;
}

.article-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--ink);
    max-width: 680px;
}

.article-tags {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-bg);
    padding: 3px 12px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

/* Cover image */
.article-cover {
    margin-bottom: 36px;
    border-radius: 6px;
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Article body (rich content) */
.article-body {
    font-size: 1.08rem;
    line-height: 1.85;
    color: var(--ink);
    max-width: 680px;
}

.article-body > *:first-child {
    margin-top: 0;
}

.article-body h1,
.article-body h2 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 2em;
    margin-bottom: 0.6em;
    line-height: 1.25;
}

.article-body h1 { font-size: 1.8rem; }
.article-body h2 { font-size: 1.5rem; }

.article-body h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.15rem;
    margin-top: 1.8em;
    margin-bottom: 0.5em;
}

.article-body p {
    margin-bottom: 1.2em;
}

.article-body blockquote {
    border-left: 3px solid var(--accent);
    padding: 4px 0 4px 20px;
    margin: 1.5em 0;
    font-size: 1.05rem;
    color: var(--ink-light);
    line-height: 1.7;
}

.article-body pre {
    background: var(--code-bg);
    color: var(--code-fg);
    padding: 20px 24px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1.5em 0;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    line-height: 1.65;
}

.article-body code {
    font-family: var(--font-mono);
    background: rgba(28,25,23,0.05);
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 0.88em;
}

.article-body pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

.article-body img {
    max-width: 100%;
    border-radius: 6px;
    margin: 1.2em 0;
}

.article-body ul,
.article-body ol {
    padding-left: 1.5em;
    margin-bottom: 1.2em;
}

.article-body li {
    margin-bottom: 0.3em;
}

.article-body a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.article-body a:hover {
    text-decoration-thickness: 2px;
}

.article-divider {
    width: 60px;
    height: 1px;
    background: var(--border);
    margin: 48px 0;
}

/* ============================================================
   COMMENTS
   ============================================================ */
.comments {
    max-width: 680px;
}

.comments-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-count {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-faint);
    background: var(--border-light);
    padding: 2px 10px;
    border-radius: 20px;
}

.comment {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-top: 1px solid var(--border-light);
}

.comment:first-of-type {
    border-top: none;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-bg);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.comment-header time {
    font-size: 0.78rem;
}

.comment-body p {
    color: var(--ink-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.comment-form {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.comment-form-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 16px;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.82rem;
    color: var(--ink-light);
    letter-spacing: 0.02em;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--surface);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(194,65,12,0.08);
}

.form-group textarea {
    resize: vertical;
}

.form-group input[type="file"] {
    font-size: 0.88rem;
    color: var(--ink-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-check label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.92rem;
    color: var(--ink);
}

.form-check input[type="checkbox"] {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
    letter-spacing: 0.01em;
}

.btn:hover {
    background: var(--accent-hover);
    text-decoration: none;
    color: #fff;
}

.btn:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--ink-light);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border-light);
    color: var(--ink);
}

.btn-full { width: 100%; }

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--ink-light);
    background: var(--surface);
    cursor: pointer;
    transition: all 0.15s;
}

.btn-icon:hover {
    border-color: var(--ink-faint);
    color: var(--ink);
    background: var(--border-light);
}

.btn-icon--danger:hover {
    border-color: #fca5a5;
    color: #dc2626;
    background: #fef2f2;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 36px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}

.pagination-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
}

.pagination-info {
    font-size: 0.82rem;
    color: var(--ink-faint);
    font-weight: 500;
    letter-spacing: 0.1em;
}

/* ============================================================
   ADMIN
   ============================================================ */
.admin-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 32px;
}

.admin-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.admin-grid {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.admin-row {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
    gap: 16px;
    transition: background 0.1s;
}

.admin-row:last-child { border-bottom: none; }
.admin-row:hover { background: #fafaf9; }

.admin-row-main {
    flex: 1;
    min-width: 0;
}

.admin-row-title {
    font-weight: 600;
    color: var(--ink);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 2px;
}

.admin-row-title:hover {
    color: var(--accent);
    text-decoration: none;
}

.admin-row-meta {
    font-size: 0.78rem;
    color: var(--ink-faint);
}

.admin-row-status {
    flex-shrink: 0;
}

.admin-row-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-live {
    background: #dcfce7;
    color: #15803d;
}

.badge-draft {
    background: var(--border-light);
    color: var(--ink-faint);
}

/* ============================================================
   EDITOR PAGE
   ============================================================ */
.editor-page {
    max-width: none;
}

.editor-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.editor-form {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: start;
}

.editor-main {
    min-width: 0;
}

.input-title {
    font-family: var(--font-display) !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
    padding: 14px 16px !important;
}

.editor-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 88px;
}

.editor-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px;
}

.editor-panel-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-faint);
    margin-bottom: 14px;
}

.current-cover {
    margin-bottom: 12px;
}

.current-cover img {
    width: 100%;
    max-height: 140px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: block;
}

/* Quill overrides */
#editor {
    min-height: 400px;
    background: var(--surface);
    font-family: var(--font-body) !important;
}

.ql-toolbar {
    border-radius: 6px 6px 0 0 !important;
    border-color: var(--border) !important;
    background: #fafaf9;
}

.ql-container {
    border-radius: 0 0 6px 6px !important;
    border-color: var(--border) !important;
    font-size: 1rem !important;
    font-family: var(--font-body) !important;
}

.ql-editor {
    min-height: 400px;
    line-height: 1.75;
}

/* ============================================================
   AUTH
   ============================================================ */
.auth-page {
    max-width: 380px;
    margin: 60px auto;
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--ink);
    display: block;
    margin-bottom: 8px;
}

.auth-header h1 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.auth-header .muted {
    font-size: 0.88rem;
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-bar {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    background: var(--surface);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.search-bar:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(194,65,12,0.08);
}

.search-bar-input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--ink);
    background: transparent;
    outline: none;
}

.search-bar-btn {
    padding: 14px 18px;
    border: none;
    background: transparent;
    color: var(--ink-faint);
    cursor: pointer;
    transition: color 0.15s;
}

.search-bar-btn:hover {
    color: var(--accent);
}

.search-results-info {
    font-size: 0.92rem;
    color: var(--ink-light);
    margin-bottom: 24px;
}

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.88rem;
    font-weight: 500;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.muted { color: var(--ink-faint); }

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--ink-light);
}

.empty-state .btn {
    margin-top: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    border-top: 1px solid var(--border);
    padding: 24px 0;
    background: var(--surface);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--ink-faint);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
    .layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .editor-form {
        grid-template-columns: 1fr;
    }

    .editor-sidebar {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header-inner {
        height: auto;
        padding: 14px 0;
        flex-direction: column;
        gap: 10px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .card-cover img {
        height: 180px;
    }

    .card-body {
        padding: 18px 20px 22px;
    }

    .admin-row {
        flex-wrap: wrap;
        padding: 14px 16px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* ---- Custom scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ink-faint);
}
