:root {
  --bg: radial-gradient(circle at top left, #07111f 0%, #0b1f3b 42%, #02070f 100%);
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --text: #888888;
  --muted: #9ab1d2;
  --accent: #5dd7ff;
  --accent-strong: #6c7dff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.65;
}

.page-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 32px 20px 40px;
}

.card,
section,
main,
.form-container,
.dialog,
.panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text);
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

p, label, li, span {
  color: var(--muted);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
textarea,
select {
  font: inherit;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 14px 18px;
  outline: none;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

button:hover,
input:hover,
textarea:hover,
select:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

button {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #07111f;
  border: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

textarea,
input[type='text'],
input[type='email'],
input[type='password'],
input[type='number'] {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.06);
}

thead tr {
  background: rgba(255, 255, 255, 0.10);
}

td, th {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .page-shell {
    padding: 24px 16px 32px;
  }
}
