:root {
  --bg: #e0e0e0;
  --surface: #ffff;
  --text: #111827;
  --shadow-dark: #9f9f9f;
  --shadow-light: #ffffff;
  --radius: 18px;
  --border: #e6eef62a;
  --darkmode: #22292f;
  --reverse-text: #e6eef6;
}

[data-theme="dark"] {
  --bg: #1f2933;
  --surface: #22292f;
  --text: #e6eef6;
  --shadow-dark: #9f9f9f;
  --shadow-light: #ffffff;
  --border: rgba(255, 255, 255, 0.03);
  --darkmode: #e9f0f5;
  --reverse-text: #111827;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
}
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: linear-gradient(135deg, var(--bg), #f6fbff 60%);
  color: var(--text);
  display: flex;
  height: 100dvh;
}
.main {
  position: relative;
}

.content {
  flex: 1;
  padding: 20px;
  width: 100%;
  overflow-y: hidden;
}

@media (max-width: 768px) {
  .content {
    padding: 10px;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    /* keep default if user prefers dark; but allow manual toggle */
  }
}
