html {
  scroll-behavior: smooth;
}

body {
  background: #000000;
  color: #f8fafc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

button,
input,
textarea,
select {
  font: inherit;
}

.modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.75);
  bottom: 0;
  display: grid;
  inset: 0;
  justify-items: center;
  left: 0;
  overflow-y: auto;
  padding: 2rem 1rem;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 60;
}

.modal.hidden {
  display: none;
}

.modal-body {
  width: min(100%, 520px);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #09090b;
}

::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.25);
  border-radius: 999px;
}

.polaroid-card {
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid rgba(63, 63, 70, 0.85);
  border-radius: 2rem;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}

.days-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-cell {
  aspect-ratio: 1;
}

.note-card {
  min-height: 140px;
}

@media (min-width: 640px) {
  main {
    padding-left: 0;
    padding-right: 0;
  }
}
