:root {
  --background: 36 33% 96%;
  --foreground: 224 28% 14%;
  --primary: 15 78% 52%;
  --secondary: 28 42% 90%;
  --muted: 30 20% 92%;
  --destructive: 0 72% 54%;
  --border: 24 24% 84%;
  --card: 0 0% 100%;

  --shadow-sm: 0 8px 24px -18px hsla(224, 30%, 10%, 0.22);
  --shadow-md: 0 18px 40px -22px hsla(224, 30%, 10%, 0.28);
  --shadow-lg: 0 28px 72px -28px hsla(224, 30%, 10%, 0.34);

  --transition-fast: 160ms ease;
  --transition-smooth: 260ms cubic-bezier(0.22, 1, 0.36, 1);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

.dark {
  --background: 224 30% 8%;
  --foreground: 32 28% 94%;
  --primary: 15 85% 58%;
  --secondary: 223 22% 16%;
  --muted: 223 18% 14%;
  --destructive: 0 72% 58%;
  --border: 224 18% 24%;
  --card: 224 24% 10%;

  --shadow-sm: 0 10px 24px -18px hsla(0, 0%, 0%, 0.55);
  --shadow-md: 0 20px 48px -24px hsla(0, 0%, 0%, 0.62);
  --shadow-lg: 0 30px 72px -28px hsla(0, 0%, 0%, 0.7);
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

textarea {
  resize: vertical;
}

::selection {
  background: hsl(var(--primary) / 0.18);
}

@media print {
  body {
    background: white !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  header,
  aside,
  button,
  nav,
  .no-print {
    display: none !important;
  }

  main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .print-only {
    display: block !important;
  }

  /* Ensure the resume takes full width and has no shadows/borders during print */
  #resume-document {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
}

.print-only {
  display: none;
}
