:root {
  --bg: #0b0d10;
  --panel: #12151a;
  --muted: #7c8694;
  --text: #e9eef5;
  --accent: #4f8cff;
  --accent-600: #3e72d4;
  --danger: #ff5c5c;
  --ring: rgba(79, 140, 255, 0.35);
  --card: #0f1216;
  --chip: #1c2230;
  --border: #222835;
  --body-bg: linear-gradient(180deg, #0a0c0f, #0c1016 30%, #0b0e13);
  --header-bg: rgba(18, 21, 26, 0.8);
  --btn-bg: linear-gradient(180deg, #1a2130, #121826);
  --item-card-bg: rgba(16, 22, 31, 0.6);
  --shadow: 0 10px 30px rgba(0,0,0,0.25);
  --btn-shadow: 0 4px 14px rgba(0,0,0,0.3);
  --modal-overlay-bg: rgba(0, 0, 0, 0.7);
  --modal-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --notification-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Light mode */
[data-ui-theme="light"] {
  --bg: #f1f3f5;
  --panel: #ffffff;
  --muted: #5c6370;
  --text: #1a1d21;
  --accent: #2563eb;
  --accent-600: #1d4ed8;
  --danger: #dc2626;
  --ring: rgba(37, 99, 235, 0.3);
  --card: #ffffff;
  --chip: #e9ecef;
  --border: #dee2e6;
  --body-bg: linear-gradient(180deg, #e9ecef, #f1f3f5 30%, #f8f9fa);
  --header-bg: rgba(255, 255, 255, 0.9);
  --btn-bg: linear-gradient(180deg, #f8f9fa, #e9ecef);
  --item-card-bg: rgba(248, 249, 250, 0.9);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --btn-shadow: 0 2px 8px rgba(0,0,0,0.08);
  --modal-overlay-bg: rgba(0, 0, 0, 0.4);
  --modal-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  --notification-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji;
  color: var(--text);
  background: var(--body-bg);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  padding: 10px 14px;
  background: var(--accent);
  color: white;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  z-index: 100;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.app-header, .app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--header-bg);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.app-footer {
  position: static;
  border-top: 1px solid var(--border);
  border-bottom: none;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
}
.app-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
.header-actions { display: flex; gap: 8px; }

.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.editor {
  height: calc(100vh - 140px);
  overflow-x: auto;
  overflow-y: auto;
}
.preview {
  height: calc(100vh - 140px);
  overflow-x: hidden;
  overflow-y: auto;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.card h2 { margin: 0 0 12px 0; font-size: 16px; font-weight: 600; }

label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
input, textarea, select {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  outline: none;
  box-shadow: 0 0 0 0 var(--ring);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}
textarea { resize: vertical; }

.grid.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid.three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }

.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }

.btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--btn-bg);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: var(--btn-shadow);
}
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}
.btn.primary { border-color: transparent; background: linear-gradient(180deg, var(--accent), var(--accent-600)); color: white; }
.btn.danger { border-color: transparent; background: linear-gradient(180deg, #ff6b6b, #e64545); color: white; }
.btn.small { padding: 6px 10px; font-size: 12px; }
.btn.ghost { background: transparent; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { background: var(--chip); border: 1px solid var(--border); padding: 6px 10px; border-radius: 999px; font-size: 12px; color: var(--text); }

.style-group { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.style-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.list { display: flex; flex-direction: column; gap: 12px; }
.item-card { border: 1px dashed var(--border); border-radius: 12px; padding: 12px; background: var(--item-card-bg); }
.item-actions { display: flex; gap: 8px; margin-top: 8px; }

.preview {
  position: static;
  top: auto;
  align-self: stretch;
  min-height: 200px;
  background: transparent;
}
.preview-placeholder {
  padding: 1rem;
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  margin: 0;
}

#resumePreview {
  position: relative;
  height: 100%;
  min-height: 600px;
}

.resume-wrapper { 
  background: transparent; 
  padding: 0; 
  border-radius: 0; 
  min-height: 200px;
  width: 100%;
}
.resume {
  width: 816px; /* Default to US Letter width, will be overridden by inline styles */
  margin: 0 auto;
  background: transparent;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  gap: 24px; /* Space between pages */
  min-width: 0;
}
.resume-page {
  width: 816px; /* Default to US Letter width, will be overridden by inline styles */
  height: 1056px; /* Default to US Letter height, will be overridden by inline styles */
  background: white;
  color: #1a1a1a;
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  page-break-after: always;
  page-break-inside: avoid;
}
.resume-page:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: rgba(34, 40, 53, 0.4);
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.preview .resume {
  /* Multi-page support - no background guides */
}
/* Hide guides for print and PDF export */
@media print {
  .resume { background-image: none !important; }
}
.pdf-export .resume { background-image: none !important; }
.resume-inner { padding: 32px 40px; }
.resume-header { display: flex; flex-direction: column; gap: 4px; border-bottom: 2px solid #eaecef; padding-bottom: 12px; margin-bottom: 14px; }
.resume-name { font-size: 28px; font-weight: 700; }
.resume-title { font-size: 14px; color: #444; }
.resume-contact { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #333; }
.resume-contact .contact-link { display: inline-flex; align-items: center; gap: 4px; }
.resume-contact .icon { width: 14px; height: 14px; display: inline-block; }
.resume-contact .icon.linkedin { color: #0a66c2; }
.resume-contact .icon.github { color: #24292f; }
.resume-section { margin-top: 18px; }
.resume-section h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; color: #333; margin: 0 0 8px 0; }
.resume-bullets { margin: 6px 0 0 16px; }
.resume-bullets li { margin: 4px 0; }
.resume-item { margin: 8px 0; }
.resume-item-header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.muted { color: #555; font-size: 12px; }
.skills-row { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-pill { background: #eef2ff; color: #1e3a8a; padding: 4px 8px; border-radius: 999px; font-size: 12px; border: 1px solid #dbe4ff; }

@media (max-width: 1200px) {
  .container { grid-template-columns: 1fr; }
  .preview { position: static; }
  .editor, .preview { height: auto; overflow: visible; }
  .resume { width: 100%; min-height: auto; }
}

/* Print styles */
@page {
  size: 8.5in 11in;
  margin: 0;
}
@media print {
  body { background: white; }
  .app-header, .container .editor, .app-footer { display: none !important; }
  .container { display: block; padding: 0; }
  .preview { position: static; }
  .resume { box-shadow: none; margin: 0; width: auto; min-height: auto; border-radius: 0; }
}

/* PDF export adjustments to prevent right-side clipping */
.pdf-export .resume {
  /* Width and height will be set dynamically via inline styles based on selected page size */
  margin: 0 !important;
  box-shadow: none;
  border-radius: 0;
  gap: 0 !important; /* No gap between pages in PDF */
}
.pdf-export .resume-page {
  /* Width and height will be set dynamically via inline styles based on selected page size */
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}
.pdf-export .resume-inner {
  box-sizing: border-box;
  /* Height will be set dynamically via inline styles based on selected page size */
  overflow: hidden;
}
.pdf-export .resume-page::after {
  display: none !important; /* Hide page separator in PDF */
}

/* Completely hide PDF export host element */
#pdfExportHost {
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  z-index: -9999 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  contain: strict !important;
  isolation: isolate !important;
  backface-visibility: hidden !important;
}

/* Theme variants */
/* Classic: defaults already apply */

/* Minimal theme */
.theme-minimal .resume-inner { padding: 28px 32px; }
.theme-minimal .resume-header { border-bottom: 1px solid #f0f1f4; }
.theme-minimal .resume-section h3 { text-transform: none; letter-spacing: 0; color: #444; font-weight: 600; }
.theme-minimal .skill-pill { background: #f6f7fb; color: #1f2937; border-color: #e5e7eb; }
.theme-minimal .muted { color: #666; }

/* Serif theme */
.theme-serif { font-family: Georgia, Times, 'Times New Roman', serif; }
.theme-serif .resume-name { font-weight: 700; letter-spacing: 0.2px; }
.theme-serif .resume-section h3 { font-size: 13px; color: #2c2c2c; letter-spacing: 0.04em; }
.theme-serif .skill-pill { background: #f8fafc; color: #111827; border: 1px solid #e5e7eb; border-radius: 6px; }
.theme-serif .resume-header { border-bottom: 2px solid #e6e6e6; }

/* Compact theme */
.theme-compact .resume-inner { padding: 24px 28px; }
.theme-compact .resume-section { margin-top: 12px; }
.theme-compact .resume-bullets { margin: 4px 0 0 14px; }
.theme-compact .resume-bullets li { margin: 2px 0; }
.theme-compact .resume-item { margin: 6px 0; }
.theme-compact .resume-name { font-size: 26px; }
.theme-compact .skill-pill { padding: 3px 6px; font-size: 11px; }

/* Royal (Purple) */
.theme-royal .resume-name { color: #3b2aa9; }
.theme-royal .resume-header { border-bottom-color: #dcd7ff; }
.theme-royal .resume-section h3 { color: #3b2aa9; }
.theme-royal .skill-pill { background: #f3f1ff; border-color: #e6e1ff; color: #2b1f7a; }
.theme-royal .resume a { color: #3b2aa9; }
.theme-royal .resume-contact { color: #2a2a2a; }

/* Emerald (Green) */
.theme-emerald .resume-name { color: #047857; }
.theme-emerald .resume-header { border-bottom-color: #d1fae5; }
.theme-emerald .resume-section h3 { color: #047857; }
.theme-emerald .skill-pill { background: #ecfdf5; border-color: #d1fae5; color: #065f46; }
.theme-emerald .resume a { color: #047857; }

/* Sunset (Orange) */
.theme-sunset .resume-name { color: #c2410c; }
.theme-sunset .resume-header { border-bottom-color: #ffedd5; }
.theme-sunset .resume-section h3 { color: #c2410c; }
.theme-sunset .skill-pill { background: #fff7ed; border-color: #ffedd5; color: #9a3412; }
.theme-sunset .resume a { color: #c2410c; }

/* Midnight (Dark header band with light text) */
.theme-midnight .resume-header {
  border-bottom-color: #0f172a;
  background: #0f172a;
  color: #e5e7eb;
}
.theme-midnight .resume-name { color: #e5e7eb; }
.theme-midnight .resume-title { color: #cbd5e1; }
.theme-midnight .resume-contact { color: #cbd5e1; }
.theme-midnight .resume-section h3 { color: #0f172a; }
.theme-midnight .skill-pill { background: #e2e8f0; border-color: #cbd5e1; color: #0f172a; }
.theme-midnight .resume a { color: #1d4ed8; }

/* Split Right (Header + Right Rail) */
.theme-split-right .resume-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  column-gap: 0;
  row-gap: 0;
  grid-auto-flow: row dense;
  padding: 0;
}
.theme-split-right .resume-header {
  grid-column: 1;
  grid-row: 1;
}
.theme-split-right .resume-section-summary { grid-column: 1; }
.theme-split-right .resume-section-experience { grid-column: 1; }
.theme-split-right .resume-section-projects { grid-column: 1; }
.theme-split-right .resume-section-education {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  margin-top: 0;
}
.theme-split-right .resume-section-skills {
  grid-column: 2;
}
.theme-split-right .resume-section { margin-top: 0; }
.theme-split-right .resume-header { margin-bottom: 0; }

@media (max-width: 1200px) {
  .theme-split-right .resume-inner { display: block; }
}

/* Split Right: sectional background colors (keep Experience/Projects white) */
.theme-split-right .resume-header {
  background: #eef2ff; /* indigo-50 */
  border: none;
  padding: 20px 24px;
  border-radius: 0;
}
.theme-split-right .resume-section-summary {
  background: #f0f9ff; /* sky-50 */
  border: none;
  padding: 20px 24px;
  border-radius: 0;
}
.theme-split-right .resume-section-education {
  background: #fff7ed; /* orange-50 */
  border: none;
  padding: 20px 24px;
  border-radius: 0;
}
.theme-split-right .resume-section-skills {
  background: #ecfdf5; /* emerald-50 */
  border: none;
  padding: 20px 24px;
  border-radius: 0;
}
.theme-split-right .resume-section-experience,
.theme-split-right .resume-section-projects { background: #ffffff; padding: 20px 24px; border-radius: 0; }

/* PDF export compaction for Split Right to keep content on one page */
.pdf-export .theme-split-right .resume-inner { padding: 28px 32px; }
.pdf-export .theme-split-right .resume-header,
.pdf-export .theme-split-right .resume-section-summary,
.pdf-export .theme-split-right .resume-section-education,
.pdf-export .theme-split-right .resume-section-skills,
.pdf-export .theme-split-right .resume-section-experience,
.pdf-export .theme-split-right .resume-section-projects { padding: 18px 22px; }
/* Experience and Projects deliberately left with white background */



/* Split Left (Left Rail) */
.theme-split-left .resume-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 0;
  row-gap: 0;
  grid-auto-flow: row dense;
  padding: 0;
}
.theme-split-left .resume-header {
  grid-column: 1;
  grid-row: 1;
  background: #1e293b; /* slate-800 */
  color: #e5e7eb; /* slate-200 */
  border: none;
  margin-bottom: 0;
  padding: 20px 24px;
}
.theme-split-left .resume-name { color: #e5e7eb; }
.theme-split-left .resume-title { color: #cbd5e1; }
.theme-split-left .resume-contact { color: #cbd5e1; }
.theme-split-left .resume-section { margin-top: 0; }
.theme-split-left .resume-section-summary { grid-column: 2; padding: 20px 24px; }
.theme-split-left .resume-section-experience { grid-column: 2; padding: 20px 24px; }
.theme-split-left .resume-section-projects { grid-column: 2; padding: 20px 24px; }
.theme-split-left .resume-section-education {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  background: #f8fafc; /* slate-50 */
  border: none;
  padding: 20px 24px;
}
.theme-split-left .resume-section-skills {
  grid-column: 1;
  background: #ecfdf5; /* emerald-50 */
  border: none;
  padding: 20px 24px;
}
.theme-split-left .resume-section h3 { color: #0f172a; }
.theme-split-left .skill-pill { background: #e2e8f0; border-color: #cbd5e1; color: #0f172a; }
@media (max-width: 1200px) {
  .theme-split-left .resume-inner { display: block; }
}
.pdf-export .theme-split-left .resume-section-summary,
.pdf-export .theme-split-left .resume-section-education,
.pdf-export .theme-split-left .resume-section-skills,
.pdf-export .theme-split-left .resume-section-experience,
.pdf-export .theme-split-left .resume-section-projects { padding: 18px 22px; }

/* Aurora (Gradient Banner) */
.theme-aurora .resume-header {
  background: linear-gradient(90deg, #7c3aed, #2563eb, #06b6d4);
  color: #ffffff;
  border: none;
  padding: 22px 28px;
  margin-bottom: 16px;
}
.theme-aurora .resume-name { font-size: 36px; letter-spacing: 0.2px; color: #ffffff; }
.theme-aurora .resume-title { color: #e0e7ff; }
.theme-aurora .resume-contact { color: #e2e8f0; }
.theme-aurora .resume-section h3 { color: #2563eb; }
.theme-aurora .skill-pill { background: #ecfeff; border-color: #cffafe; color: #0369a1; }
.theme-aurora .resume a { color: #2563eb; }

/* Condensed Pro (extra tight, high-density) */
.theme-condensed-pro .resume-inner { padding: 24px 32px; }
.theme-condensed-pro .resume-name { font-size: 23px; font-weight: 700; letter-spacing: 0.1px; }
.theme-condensed-pro .resume-title { font-size: 11px; }
.theme-condensed-pro .resume-contact { font-size: 11px; }
.theme-condensed-pro .resume-header { padding-bottom: 8px; margin-bottom: 10px; }
.theme-condensed-pro .resume-section { margin-top: 10px; }
.theme-condensed-pro .resume-section h3 { font-size: 11px; letter-spacing: 0.1em; }
.theme-condensed-pro .resume-item { margin: 4px 0; }
.theme-condensed-pro .resume-bullets { margin: 2px 0 0 14px; }
.theme-condensed-pro .resume-bullets li { margin: 1px 0; }
.theme-condensed-pro .muted { font-size: 10px; color: #555; }
.theme-condensed-pro .skill-pill { padding: 2px 6px; font-size: 10px; }

/* Color Blocks (alternating pastel bands) */
.theme-color-blocks .resume-inner { padding: 0; }
.theme-color-blocks .resume-header {
  background: #111827; /* gray-900 */
  color: #f9fafb;
  border: none;
  padding: 22px 28px;
  margin: 0;
}
.theme-color-blocks .resume-name { color: #f9fafb; }
.theme-color-blocks .resume-title { color: #e5e7eb; }
.theme-color-blocks .resume-contact { color: #e5e7eb; }
.theme-color-blocks .resume-section { margin-top: 0; border: none; padding: 20px 24px; }
.theme-color-blocks .resume-section h3 { margin-bottom: 6px; }
.theme-color-blocks .resume-section:nth-of-type(1) { background: #f0f9ff; } /* Summary */
.theme-color-blocks .resume-section:nth-of-type(2) { background: #ecfdf5; } /* Skills */
.theme-color-blocks .resume-section:nth-of-type(3) { background: #fff7ed; } /* Experience */
.theme-color-blocks .resume-section:nth-of-type(4) { background: #fef9c3; } /* Education */
.theme-color-blocks .resume-section:nth-of-type(5) { background: #fae8ff; } /* Projects */
.pdf-export .theme-color-blocks .resume-section { padding: 18px 22px; }

/* Spotlight (Centered header with underline accents) */
.theme-spotlight .resume-header {
  align-items: center;
  text-align: center;
  border-bottom: none;
  padding-bottom: 10px;
}
.theme-spotlight .resume-name { font-size: 38px; letter-spacing: 0.4px; }
.theme-spotlight .resume-title { font-size: 14px; color: #374151; }
.theme-spotlight .resume-contact { justify-content: center; color: #374151; }
.theme-spotlight .resume-section h3 {
  position: relative;
  text-align: center;
  color: #1d4ed8;
}
.theme-spotlight .resume-section h3::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, #1d4ed8, #9333ea);
  margin: 6px auto 0 auto;
  border-radius: 2px;
}
.theme-spotlight .skill-pill { background: #eef2ff; color: #1e3a8a; border-color: #dbe4ff; }

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--modal-overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}
.modal-dialog {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--modal-shadow);
  animation: modalSlideIn 0.2s ease-out;
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal-content {
  padding: 24px;
}
.modal-title {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}
.modal-message {
  margin: 0 0 20px 0;
  color: var(--muted);
  line-height: 1.5;
}
.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Notification Container */
.notification-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.notification {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 300px;
  max-width: 400px;
  box-shadow: var(--notification-shadow);
  pointer-events: auto;
  animation: notificationSlideIn 0.3s ease-out;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
@keyframes notificationSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.notification.error {
  border-left: 4px solid var(--danger);
}
.notification.info {
  border-left: 4px solid var(--accent);
}
.notification-message {
  flex: 1;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.notification-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.notification-close:hover {
  background: var(--card);
  color: var(--text);
}
.notification-close::before {
  content: '×';
  font-size: 24px;
  line-height: 1;
}

