/* ============================================================
   MZLip Platform — style.css
   Beige magazine theme
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Round');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --bg-main:      #FAF6F0;
  --bg-card:      #FFFDF9;
  --bg-sidebar:   #F5EDE0;
  --accent:       #C8924A;
  --accent-dark:  #8B5E27;
  --accent-light: #F0D9BB;
  --text:         #3B2A1A;
  --text-muted:   #7A6552;
  --border:       #E8D5B7;
  --success:      #4A7C59;
  --danger:       #A94442;
  --warning:      #B87333;
  --info:         #4A6C8B;
  --shadow:       0 2px 16px rgba(60,40,20,.08);
  --shadow-lg:    0 8px 40px rgba(60,40,20,.14);
  --radius:       10px;
  --radius-lg:    18px;
  --transition:   0.22s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  background: var(--bg-main);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--text);
  line-height: 1.3;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p  { margin-bottom: .75rem; color: var(--text-muted); }
a  { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
strong { color: var(--text); }
small  { font-size: .82em; }

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-light); }

/* ── Selection ─────────────────────────────────────────────── */
::selection { background: var(--accent-light); color: var(--acc-dark); }

/* ── NAV ───────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,253,249,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.5px;
}
.nav-brand span { color: var(--accent); }
.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
  background: var(--accent-light);
}
.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 20px;
}
.nav-cta:hover { background: var(--accent-dark) !important; }
.nav-toggle { display: none; cursor: pointer; background: none; border: none; padding: 6px; }
.nav-toggle .material-icons-round { font-size: 26px; color: var(--text); }

/* ── Layout ────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.section    { padding: 72px 0; }
.section-sm { padding: 40px 0; }

/* ── Page header ───────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-card) 100%);
  border-bottom: 1px solid var(--border);
  padding: 48px 5% 40px;
}
.page-header h1 { margin-bottom: .3rem; }
.page-header p  { margin: 0; font-size: 1.05rem; }

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-sm { padding: 18px 22px; }
.card-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.card-header h2, .card-header h3 { margin: 0; }

/* ── Grids ─────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media(max-width:960px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media(max-width:768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:480px) { .grid-4 { grid-template-columns: 1fr; } }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: .9rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(200,146,74,.3); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--bg-sidebar); color: var(--text); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #8a3230; color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-lg { padding: 14px 32px; font-size: 1.05rem; border-radius: 12px; }
.btn-sm { padding: 7px 14px; font-size: .82rem; }
.btn-icon { padding: 8px; border-radius: 50%; min-width: auto; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ── Forms ─────────────────────────────────────────────────── */
.form-group  { margin-bottom: 20px; }
.form-label  { display: block; font-weight: 600; margin-bottom: 6px; font-size: .88rem; color: var(--text); }
.form-control {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font-size: .95rem;
  font-family: 'Lato', sans-serif;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,146,74,.15); }
textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { cursor: pointer; }
.form-hint { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }
.form-error { font-size: .8rem; color: var(--danger); margin-top: 4px; }
.input-group { display: flex; gap: 0; }
.input-group .form-control { border-radius: var(--radius) 0 0 var(--radius); }
.input-group .btn { border-radius: 0 var(--radius) var(--radius) 0; }

/* ── Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.badge-accent   { background: var(--accent-light); color: var(--accent-dark); }
.badge-success  { background: #D4EDDA; color: var(--success); }
.badge-danger   { background: #F8D7DA; color: var(--danger); }
.badge-warning  { background: #FFF3CD; color: var(--warning); }
.badge-info     { background: #D1ECF1; color: var(--info); }
.badge-muted    { background: var(--bg-sidebar); color: var(--text-muted); }

/* ── Tables ────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: var(--bg-card); }
th { background: var(--bg-sidebar); padding: 12px 16px; font-size: .82rem; text-align: left; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); border-bottom: 1px solid var(--border); }
td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: .9rem; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-main); }

/* ── Stat cards ────────────────────────────────────────────── */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; align-items: center; gap: 18px;
  box-shadow: var(--shadow);
}
.stat-icon {
  width: 52px; height: 52px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stat-icon .material-icons-round { color: var(--accent); font-size: 26px; }
.stat-value { font-size: 1.8rem; font-weight: 700; font-family: 'Playfair Display', serif; color: var(--text); line-height: 1; }
.stat-label { font-size: .82rem; color: var(--text-muted); margin-top: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #F5EDE0 0%, var(--bg-main) 50%, var(--accent-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 5%;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,146,74,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,146,74,.09) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 650px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 20px; font-style: italic; }
.hero p   { font-size: 1.1rem; margin-bottom: 32px; color: var(--text-muted); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-float {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  display: grid; gap: 16px; z-index: 1;
}
@media(max-width: 960px) { .hero-float { display: none; } .hero { min-height: 70vh; } }

/* ── Section headings ──────────────────────────────────────── */
.section-head       { text-align: center; margin-bottom: 48px; }
.section-head .kicker {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--accent); display: block; margin-bottom: 8px;
}
.section-head h2 { margin-bottom: 10px; }
.section-head p  { max-width: 560px; margin: 0 auto; }
.divider { width: 48px; height: 3px; background: var(--accent); border-radius: 2px; margin: 14px auto 0; }

/* ── Patreon tier cards ─────────────────────────────────────── */
.plan-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}
.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--plan-color, var(--accent));
}
.plan-card.featured {
  border-color: var(--plan-color, var(--accent));
  box-shadow: 0 8px 32px rgba(200,146,74,.18);
  transform: scale(1.03);
}
.plan-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.plan-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.plan-badge { position: absolute; top: 16px; right: -28px; background: var(--plan-color, var(--accent)); color: #fff; font-size: .7rem; font-weight: 700; padding: 4px 36px; transform: rotate(35deg); text-transform: uppercase; letter-spacing: .05em; }
.plan-icon { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.plan-name  { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 6px; }
.plan-price { font-size: 2rem; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.plan-price sup { font-size: 1rem; vertical-align: super; font-weight: 400; }
.plan-price sub { font-size: .8rem; color: var(--text-muted); }
.plan-features { list-style: none; text-align: left; margin: 20px 0; }
.plan-features li { padding: 7px 0; font-size: .88rem; display: flex; align-items: flex-start; gap: 8px; border-bottom: 1px solid var(--border); }
.plan-features li:last-child { border-bottom: none; }
.plan-features .material-icons-round { font-size: 16px; color: var(--success); flex-shrink: 0; margin-top: 3px; }
.plan-features .mi-no { color: var(--border); }

/* ── Task card ─────────────────────────────────────────────── */
.task-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.task-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
  border-radius: 2px 0 0 2px;
}
.task-card:hover { box-shadow: var(--shadow-lg); transform: translateX(4px); }
.task-card-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 8px; }
.task-card-meta  { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.task-min-bid    { font-weight: 700; color: var(--accent-dark); }

/* ── Blog card ─────────────────────────────────────────────── */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card-img { width: 100%; height: 180px; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 8px; display: block; color: var(--text); }
.blog-card-title:hover { color: var(--accent); }

/* ── Patreon portal feed ─────────────────────────────────────── */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition);
}
.post-card:hover { box-shadow: var(--shadow); }
.post-type-badge { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.post-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin: 10px 0 14px; }
.post-content { line-height: 1.8; }
.post-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  background: var(--accent-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--text);
}
.post-footer { border-top: 1px solid var(--border); padding-top: 14px; margin-top: 18px; display: flex; justify-content: space-between; align-items: center; }

/* ── Comments ───────────────────────────────────────────────── */
.comment { padding: 14px 0; border-bottom: 1px solid var(--border); }
.comment:last-child { border-bottom: none; }
.comment-author { font-weight: 700; font-size: .9rem; color: var(--text); }
.comment-date   { font-size: .78rem; color: var(--text-muted); margin-left: 8px; }

/* ── Testimonial card ────────────────────────────────────────── */
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.testi-quote { font-size: 3rem; position: absolute; top: -6px; left: 18px; color: var(--accent-light); font-family: serif; line-height: 1; }
.testi-stars { color: #D4A017; font-size: .9rem; margin-bottom: 10px; }
.testi-text  { font-style: italic; font-family: 'Playfair Display', serif; line-height: 1.7; color: var(--text); }
.testi-author { margin-top: 14px; font-weight: 700; font-size: .88rem; color: var(--text-muted); }

/* ── Auth card ─────────────────────────────────────────────── */
.auth-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-main) 100%);
  padding: 40px 20px;
}
.auth-card { max-width: 440px; width: 100%; }
.auth-brand { text-align: center; margin-bottom: 32px; }
.auth-brand h1 { font-size: 2.2rem; }
.auth-brand p  { font-size: .95rem; }
.otp-inputs { display: flex; gap: 10px; justify-content: center; }
.otp-inputs input {
  width: 50px; height: 56px; text-align: center;
  font-size: 1.4rem; font-weight: 700;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: #fff; color: var(--text);
  font-family: 'Lato', sans-serif;
  transition: border-color var(--transition);
}
.otp-inputs input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,146,74,.15); }

/* ── Dashboard layout ────────────────────────────────────────── */
.dash-layout { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 64px); }
.sidebar {
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  padding: 28px 0;
  position: sticky; top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}
.sidebar-menu { list-style: none; }
.sidebar-menu li a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px;
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.sidebar-menu li a:hover, .sidebar-menu li a.active {
  color: var(--accent);
  background: var(--accent-light);
  border-left-color: var(--accent);
}
.sidebar-menu .material-icons-round { font-size: 20px; }
.sidebar-sep { height: 1px; background: var(--border); margin: 12px 0; }
.sidebar-label { padding: 10px 24px 4px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.dash-main { padding: 36px 5%; overflow-y: auto; }
@media(max-width: 768px) {
  .dash-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; }
}

/* ── Admin layout (also uses dash-layout) ─────────────────── */

/* ── Alert / Notice ──────────────────────────────────────────── */
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; }
.alert .material-icons-round { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.alert-info    { background: #E8F4F8; color: var(--info);    border: 1px solid #B8D4E0; }
.alert-success { background: #D4EDDA; color: var(--success); border: 1px solid #B1DFBB; }
.alert-danger  { background: #F8D7DA; color: var(--danger);  border: 1px solid #F1AEBA; }
.alert-warning { background: #FFF3CD; color: var(--warning); border: 1px solid #FFDCA0; }

/* ── Tabs ────────────────────────────────────────────────────── */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 24px; overflow-x: auto; }
.tab-btn {
  padding: 10px 22px;
  font-weight: 600; font-size: .88rem;
  color: var(--text-muted);
  border: none; background: none; cursor: pointer;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  font-family: 'Lato', sans-serif;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover { color: var(--accent); border-bottom-color: var(--accent); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── Progress bar ────────────────────────────────────────────── */
.progress { background: var(--border); border-radius: 20px; height: 8px; overflow: hidden; }
.progress-bar { height: 100%; background: var(--accent); border-radius: 20px; transition: width .4s ease; }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--text-muted); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .material-icons-round { font-size: 14px; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: #2C1D0E;
  color: rgba(255,255,255,.7);
  padding: 56px 5% 28px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media(max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: #fff; margin-bottom: 12px; }
.footer-brand span { color: var(--accent); }
.footer h4 { color: #fff; font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 9px; }
.footer ul li a { color: rgba(255,255,255,.6); font-size: .88rem; transition: color var(--transition); }
.footer ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: .8rem; color: rgba(255,255,255,.4); }

/* ── Loading spinner ─────────────────────────────────────────── */
.spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Overlay modal ───────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(30,15,0,.45); backdrop-filter: blur(5px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-box { background: var(--bg-card); border-radius: var(--radius-lg); padding: 36px; max-width: 520px; width: 100%; box-shadow: var(--shadow-lg); position: relative; animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(.94) translateY(12px); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--bg-sidebar); border: none; border-radius: 50%; width: 34px; height: 34px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.modal-close:hover { background: var(--border); }
.modal-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 20px; }

/* ── Empty state ─────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state .material-icons-round { font-size: 56px; color: var(--border); margin-bottom: 14px; }
.empty-state h3 { font-family: 'Playfair Display', serif; margin-bottom: 8px; }

/* ── Utilities ───────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--text-muted); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-danger  { color: var(--danger); }
.fw-bold  { font-weight: 700; }
.mt-0 { margin-top: 0; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.d-none { display: none !important; }

/* ── Responsive nav ──────────────────────────────────────────── */
@media(max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg-card); border-bottom: 1px solid var(--border); flex-direction: column; padding: 12px 0; box-shadow: var(--shadow-lg); }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: 0; padding: 12px 24px; }
}

/* ── iziToast overrides ──────────────────────────────────────── */
.iziToast { font-family: 'Lato', sans-serif !important; }
.iziToast-body .iziToast-message { font-size: 14px !important; }
