/* ============================================================
   Mypastes — Design System v2
   Flat, satu aksen warna (amber), monospace-forward, tone developer-tool.
   ============================================================ */

:root {
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --accent: #e8a33d; /* amber terminal — satu-satunya warna non-netral di seluruh UI */
  --accent-ink: #0a0a0b; /* teks di atas background --accent */

  --transition: 140ms ease;
}

[data-theme="dark"] {
  --bg: #0a0a0b;
  --bg-elevated: #111113;
  --bg-card: #131315;
  --bg-hover: #1a1a1d;
  --border: #232326;
  --border-strong: #3a3a3e;
  --text: #e8e8ea;
  --text-muted: #8a8a92;
  --text-faint: #55555c;
  --sidebar-bg: #0a0a0b;
  --success: #4ade80;
  --warn: #e8a33d;
  --danger: #f87171;
}

[data-theme="light"] {
  --bg: #fafafa;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-hover: #f2f2f3;
  --border: #e4e4e6;
  --border-strong: #cfcfd2;
  --text: #18181a;
  --text-muted: #6b6b72;
  --text-faint: #a3a3aa;
  --sidebar-bg: #fafafa;
  --success: #16a34a;
  --warn: #b5740a;
  --danger: #dc2626;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
  font-size: 14px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--accent-ink); }
code { font-family: var(--font-mono); }

.icon { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-sm { width: 14px; height: 14px; }
.icon-lg { width: 24px; height: 24px; }

.announcement-banner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px 44px 10px 20px; text-align: center; font-size: 13px; font-weight: 500;
  position: relative;
  opacity: 0; transform: translateY(-100%);
  transition: opacity 320ms cubic-bezier(.2,.8,.2,1), transform 320ms cubic-bezier(.2,.8,.2,1);
}
.announcement-banner.show { opacity: 1; transform: translateY(0); }
.announcement-banner.hide { opacity: 0; transform: translateY(-100%); }
.announcement-text { line-height: 1.4; }
.announcement-close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: transparent; border: none; color: inherit; opacity: 0.65; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 4px; border-radius: 6px;
  transition: opacity var(--transition), background var(--transition);
}
.announcement-close:hover { opacity: 1; background: rgba(0,0,0,0.1); }
.announcement-info { background: rgba(232,163,61,0.12); color: var(--accent); border-bottom: 1px solid rgba(232,163,61,0.25); }
.announcement-warning { background: rgba(248,113,113,0.12); color: var(--danger); border-bottom: 1px solid rgba(248,113,113,0.25); }
.notif-dot { position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); border: 1.5px solid var(--sidebar-bg); }

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
* { -webkit-tap-highlight-color: transparent; }

/* ---------------- FAQ page (tempel ke style.css) ---------------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 4px 0; overflow: hidden;
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; font-weight: 600; font-size: 14.5px; cursor: pointer;
  list-style: none; user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-toggle-icon { flex-shrink: 0; color: var(--text-faint); transition: transform 220ms ease; }
.faq-item[open] .faq-toggle-icon { transform: rotate(90deg); color: var(--accent); }
.faq-answer {
  padding: 0 18px 16px; color: var(--text-muted); font-size: 13.5px; line-height: 1.6;
  animation: fadeUp 220ms ease both;
}


/* ---------------- Layout shell ---------------- */
.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: 232px;
  flex-shrink: 0;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar-logo { display: flex; align-items: center; gap: 9px; padding: 6px 8px 24px; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; }
.logo-text { font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em; }

.sidebar-nav { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text-muted); font-weight: 500; font-size: 13.5px;
  transition: background var(--transition), color var(--transition);
}
.nav-item:hover { background: var(--bg-hover); color: var(--text); }
.nav-item.active { background: var(--bg-hover); color: var(--text); }
.nav-item.active .icon { stroke: var(--accent); }
.nav-section-label { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); padding: 14px 12px 4px; }

.ad-slot-live { border-radius: var(--radius-md); overflow: hidden; margin: 22px 0; text-align: center; }

.sidebar-footer { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--border); }

.theme-toggle {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 8px 10px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: transparent; color: var(--text-muted); font-family: inherit; font-size: 13px; font-weight: 500;
  cursor: pointer; transition: background var(--transition), color var(--transition);
}
.theme-toggle:hover { background: var(--bg-hover); color: var(--text); }
.icon-sun, .icon-moon { display: none; }
[data-theme="dark"] .icon-moon { display: block; }
[data-theme="light"] .icon-sun { display: block; }

.user-chip { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: var(--radius-sm); }
.user-chip:hover { background: var(--bg-hover); }
.avatar {
  width: 26px; height: 26px; border-radius: 5px; flex-shrink: 0;
  background: var(--bg-hover); border: 1px solid var(--border);
  color: var(--text); display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 12px; font-family: var(--font-mono);
}
.user-info { display: flex; flex-direction: column; min-width: 0; }
.user-name { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-plan { font-size: 11px; color: var(--text-faint); font-family: var(--font-mono); }
.user-plan.plan-pro { color: var(--accent); }

.main-content { flex: 1; min-width: 0; padding: 40px 44px 100px; max-width: 1080px; margin: 0 auto; width: 100%; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 16px; border-radius: var(--radius-sm); font-weight: 500; font-size: 13.5px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background var(--transition), border-color var(--transition), opacity var(--transition);
  white-space: nowrap;
}
.btn:active { opacity: 0.85; }
.btn-primary { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-primary:hover { opacity: 0.88; }
.btn-accent { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.btn-accent:hover { opacity: 0.88; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--bg-hover); border-color: var(--border-strong); }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: rgba(248,113,113,0.1); }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }
.btn-lg { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------------- Cards ---------------- */
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px; transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.card-hover:hover { border-color: var(--border-strong); background: var(--bg-hover); transform: translateY(-1px); }

/* ---------------- Hero ---------------- */
.hero { padding: 56px 0 32px; }
.hero-eyebrow-wrap { margin-bottom: 14px; }
.hero-eyebrow { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.hero .accent-text { color: var(--accent); }
.hero h1 { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 12px; line-height: 1.25; max-width: 540px; }
.hero p { color: var(--text-muted); font-size: 15px; max-width: 460px; margin: 0 0 26px; line-height: 1.6; }

.search-bar-wrap { max-width: 100%; position: relative; }
.search-bar {
  width: 100%; padding: 12px 14px 12px 38px; border-radius: var(--radius-md);
  border: 1px solid var(--border); background: var(--bg-card); color: var(--text);
  font-family: var(--font-mono); font-size: 13.5px;
  transition: border-color var(--transition);
}
.search-bar:focus { outline: none; border-color: var(--border-strong); }
.search-bar::placeholder { color: var(--text-faint); }
.search-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-faint); }

/* ---------------- Section headers ---------------- */
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 40px 0 12px; }
.section-title h2 { font-size: 13px; font-weight: 600; margin: 0; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.section-title a, .section-title .btn { font-size: 12.5px; }

/* ---------------- Paste list (row style) ---------------- */
.paste-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.paste-row {
  display: flex; align-items: center; gap: 14px; padding: 13px 16px;
  border-bottom: 1px solid var(--border); cursor: pointer; transition: background var(--transition), transform var(--transition);
}
.paste-row:last-child { border-bottom: none; }
.paste-row:hover { background: var(--bg-hover); transform: translateX(2px); }
.paste-row-id { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); width: 64px; flex-shrink: 0; }
.paste-row-title { font-weight: 500; font-size: 13.5px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.paste-row-lang { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); width: 90px; flex-shrink: 0; }
.paste-row-meta { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--text-faint); font-family: var(--font-mono); flex-shrink: 0; }

/* ---------------- Legacy grid card (masih dipakai beberapa tempat) ---------------- */
.paste-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.paste-card { display: flex; flex-direction: column; gap: 9px; cursor: pointer; }
.paste-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.paste-card h3 { font-size: 14.5px; font-weight: 500; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lang-badge { font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: var(--radius-sm); background: var(--bg-hover); color: var(--text-muted); white-space: nowrap; font-family: var(--font-mono); border: 1px solid var(--border); }
.paste-snippet {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
  background: var(--bg); border-radius: var(--radius-sm); padding: 10px; height: 76px; overflow: hidden;
  white-space: pre-wrap; word-break: break-all; line-height: 1.5;
}
.paste-card-meta { display: flex; align-items: center; gap: 14px; font-size: 11.5px; color: var(--text-faint); font-family: var(--font-mono); }
.paste-card-meta span { display: flex; align-items: center; gap: 4px; }

/* ---------------- Forms ---------------- */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--text-muted); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg-card); color: var(--text); font-family: inherit; font-size: 13.5px;
  transition: border-color var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--border-strong); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.form-hint { font-size: 12px; color: var(--text-faint); margin-top: 6px; }
.checkbox-row { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-card); }
.checkbox-row label { font-size: 13.5px; font-weight: 500; cursor: pointer; flex: 1; }
.checkbox-row input { width: 17px; height: 17px; accent-color: var(--accent); cursor: pointer; }

.auth-card { max-width: 400px; margin: 40px auto; }
.auth-card h1 { font-size: 21px; font-weight: 600; margin: 0 0 6px; }
.auth-card .sub { color: var(--text-muted); font-size: 13.5px; margin-bottom: 24px; }

.alert { padding: 12px 14px; border-radius: var(--radius-md); font-size: 13.5px; margin-bottom: 16px; border: 1px solid; }
.alert-error { background: rgba(248,113,113,0.08); border-color: rgba(248,113,113,0.25); color: var(--danger); }
.alert-success { background: rgba(74,222,128,0.08); border-color: rgba(74,222,128,0.25); color: var(--success); }
.alert-info { background: rgba(232,163,61,0.08); border-color: rgba(232,163,61,0.25); color: var(--accent); }

/* ---------------- Paste viewer ---------------- */
.paste-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.paste-title { font-size: 25px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 8px; }
.paste-meta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-muted); font-family: var(--font-mono); }
.paste-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.code-viewer { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.code-viewer-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; background: var(--bg-elevated); border-bottom: 1px solid var(--border); font-family: var(--font-mono); }

/* ---------------- Ads slots ---------------- */
.ad-slot {
  border: 1px dashed var(--border); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint); font-size: 12px; font-family: var(--font-mono); background: transparent;
  min-height: 64px; margin: 22px 0;
}

/* ---------------- Pricing ---------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 28px; }
.price-card { text-align: left; position: relative; }
.price-card.featured { border-color: var(--accent); }
.price-badge { position: absolute; top: -11px; right: 18px; background: var(--accent); color: var(--accent-ink); font-size: 10.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; font-family: var(--font-mono); }
.price-amount { font-size: 30px; font-weight: 700; margin: 12px 0 4px; letter-spacing: -0.01em; }
.price-amount span { font-size: 13.5px; font-weight: 500; color: var(--text-faint); }
.price-features { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.price-features li { display: flex; gap: 9px; align-items: flex-start; color: var(--text-muted); }

/* ---------------- Tables (dashboard/admin) ---------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); -webkit-overflow-scrolling: touch; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.data-table th { text-align: left; padding: 12px 14px; background: var(--bg-elevated); color: var(--text-muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-hover); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 28px; }
.stats-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 8px; }
.stat-card { padding: 16px 18px; }
.stat-card .label { font-size: 11px; color: var(--text-faint); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.stat-card .value { font-size: 24px; font-weight: 700; margin-top: 6px; letter-spacing: -0.01em; }

.badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: var(--radius-sm); font-size: 11px; font-weight: 500; font-family: var(--font-mono); border: 1px solid var(--border); }
.badge-public { color: var(--success); border-color: rgba(74,222,128,0.3); }
.badge-unlisted { color: var(--accent); border-color: rgba(232,163,61,0.3); }
.badge-private { color: var(--danger); border-color: rgba(248,113,113,0.3); }

/* ---------------- Bottom nav (mobile) ---------------- */
.bottom-nav { display: none; }
.mobile-topbar { display: none; }

/* ---------------- Mobile top bar + hamburger (dipakai app-shell & landing) ---------------- */
.hamburger-btn { display: flex; background: transparent; border: 1px solid var(--border); border-radius: 8px; padding: 8px; cursor: pointer; color: var(--text); align-items: center; justify-content: center; }
.hamburger-btn svg { width: 20px; height: 20px; }

.mobile-menu { display: none; position: fixed; inset: 0; background: var(--bg); z-index: 60; padding: 20px; overflow-y: auto; }
.mobile-menu.show { display: block; }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 2px; margin-bottom: 20px; }
.mobile-menu-links a { display: flex; align-items: center; gap: 12px; padding: 14px 12px; border-radius: 10px; font-size: 15.5px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-menu-links a:hover { background: var(--bg-hover); }
.mobile-menu-actions { display: flex; flex-direction: column; gap: 10px; }

/* ---------------- Misc ---------------- */
.page-header { margin-bottom: 24px; }
.page-header h1 { font-size: 24px; font-weight: 600; margin: 0 0 5px; letter-spacing: -0.01em; }
.page-header p { color: var(--text-muted); margin: 0; font-size: 13.5px; }
.empty-state { text-align: center; padding: 50px 20px; color: var(--text-faint); }
.empty-state svg { width: 40px; height: 40px; margin-bottom: 12px; opacity: 0.5; }

.copy-btn { display: inline-flex; align-items: center; gap: 6px; }
.copy-btn.copied { color: var(--success); }

/* ---------------- Create paste page ---------------- */
.create-form-card { padding: 28px; animation: fadeUp 350ms cubic-bezier(.2,.8,.2,1) both; }
.create-form-actions { margin-top: 24px; display: flex; gap: 10px; }
.form-group-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }

.custom-slug-row { display: flex; align-items: center; gap: 6px; }
.custom-slug-prefix { font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); white-space: nowrap; }

.password-field-wrap {
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
  transition: max-height 220ms ease, opacity 200ms ease, margin-top 220ms ease;
}
.password-field-wrap.open { max-height: 70px; opacity: 1; margin-top: 10px; }

.form-divider { display: flex; align-items: center; gap: 12px; text-align: center; color: var(--text-faint); font-size: 12.5px; margin: 32px 0 20px; }
.form-divider-line { flex: 1; height: 1px; background: var(--border); }

.success-panel {
  max-width: 560px; margin: 0 auto 28px; text-align: center; padding: 36px 28px;
  animation: successReveal 420ms cubic-bezier(.2,.8,.2,1) both;
}
@keyframes successReveal {
  from { opacity: 0; transform: scale(0.94) translateY(8px); filter: blur(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}
.success-icon { color: var(--success); display: flex; justify-content: center; margin-bottom: 12px; }
.success-icon svg { width: 40px; height: 40px; }
.success-panel h2 { margin: 0 0 6px; font-size: 20px; }
.success-sub { color: var(--text-muted); font-size: 13.5px; margin: 0 0 22px; }
.success-link-row { display: flex; gap: 8px; margin-bottom: 16px; }
.success-link-row .form-input { text-align: left; font-family: var(--font-mono); font-size: 12.5px; }
.success-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
#qr-wrap { margin-top: 20px; display: flex; justify-content: center; animation: successReveal 300ms ease both; }
#qr-code { padding: 14px; background: #fff; border-radius: var(--radius-md); }

/* ---------------- Clickable link/email di dalam code viewer ---------------- */
.cm-clickable-link { color: var(--accent) !important; text-decoration: underline; cursor: pointer; }

/* ---------------- Notifications page ---------------- */
.notif-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.notif-count-badge {
  display: inline-flex; align-items: center; margin-left: 10px; font-size: 12px; font-weight: 600;
  background: var(--accent); color: var(--accent-ink); padding: 2px 10px; border-radius: 999px; vertical-align: middle;
}

.notif-group-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-faint); margin: 28px 0 10px;
}
.notif-group-label:first-of-type { margin-top: 8px; }

.notif-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.notif-item {
  display: flex; align-items: center; gap: 14px; padding: 15px 16px;
  border-bottom: 1px solid var(--border); position: relative;
  transition: background var(--transition), transform var(--transition);
  animation: fadeUp 300ms ease both;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--bg-hover); transform: translateX(2px); }
.notif-item.notif-unread { background: var(--bg-elevated); }

.notif-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.notif-icon-accent { color: var(--accent); background: rgba(232,163,61,0.1); border-color: rgba(232,163,61,0.25); }
.notif-icon-success { color: var(--success); background: rgba(74,222,128,0.1); border-color: rgba(74,222,128,0.25); }
.notif-icon-danger { color: var(--danger); background: rgba(248,113,113,0.1); border-color: rgba(248,113,113,0.25); }

.notif-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.notif-message { font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.4; }
.notif-item.notif-unread .notif-message { font-weight: 600; }
.notif-time { font-size: 12px; color: var(--text-faint); font-family: var(--font-mono); }

.notif-dot-inline { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

.notif-empty {
  text-align: center; padding: 70px 20px; border: 1px dashed var(--border); border-radius: var(--radius-lg);
  animation: fadeUp 350ms ease both;
}
.notif-empty-icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--text-faint);
}
.notif-empty h3 { font-size: 16px; margin: 0 0 6px; }
.notif-empty p { color: var(--text-muted); font-size: 13.5px; max-width: 320px; margin: 0 auto; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeUp 300ms ease both; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .sidebar { display: none; }
  .main-content { padding: 20px 16px 40px; }
  .stats-two-col { grid-template-columns: 1fr; }
  .mobile-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; background: var(--sidebar-bg); border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 40;
  }
  .hero { padding: 28px 0 22px; }
  .paste-header { flex-direction: column; }
  .paste-row-lang { display: none; }
}

/* ---------------- Event banner v2 — card style, bukan full-width polos ---------------- */
.event-banner {
  display: flex; align-items: center; gap: 12px;
  max-width: 640px; margin: 18px auto 0; padding: 14px 18px;
  background: var(--bg-card); border: 1px solid rgba(232,163,61,0.35); border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(232,163,61,0.08);
  color: var(--text); text-align: left; font-size: 13.5px; font-weight: 500; line-height: 1.4;
  animation: fadeUp 350ms cubic-bezier(.2,.8,.2,1) both;
}
.event-banner-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(232,163,61,0.2), rgba(74,222,128,0.15));
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.event-banner-text { flex: 1; }
.event-banner-badge {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  margin-right: 7px; letter-spacing: 0.04em; vertical-align: middle;
}

@media (max-width: 700px) {
  .event-banner { margin: 14px 16px 0; }
}
