:root {
  --bg: #0f1b2d;
  --bg-accent: #1b3b5a;
  --card: #fef6e7;
  --text: #1b1a17;
  --muted: #4d4a45;
  --primary: #d14b2c;
  --primary-dark: #b13f24;
  --shadow: rgba(15, 27, 45, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Source Sans 3", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 20% 10%, #f5b97a 0%, rgba(245, 185, 122, 0) 60%),
    radial-gradient(700px 500px at 80% 20%, #7cc0c9 0%, rgba(124, 192, 201, 0) 55%),
    linear-gradient(130deg, var(--bg), var(--bg-accent));
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.card {
  width: min(540px, 92vw);
  background: var(--card);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 120px;
  background: linear-gradient(90deg, rgba(209, 75, 44, 0.12), rgba(209, 75, 44, 0));
  transform: rotate(-6deg);
}

.success::after {
  background: linear-gradient(90deg, rgba(44, 140, 98, 0.14), rgba(44, 140, 98, 0));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #13446c;
  background: #d4eef8;
  border-radius: 999px;
  padding: 6px 12px;
  position: relative;
  z-index: 1;
}

h1 {
  margin: 18px 0 8px;
  font-size: 30px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.subtitle {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.form {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: #2b2a27;
}

input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #d4c4b1;
  font-size: 16px;
  background: #fffaf2;
}

input:focus {
  outline: 2px solid rgba(209, 75, 44, 0.35);
  border-color: rgba(209, 75, 44, 0.7);
}

button {
  padding: 13px 18px;
  border: none;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(209, 75, 44, 0.25);
  background: var(--primary-dark);
}

.note {
  background: #fff1dd;
  border-radius: 16px;
  padding: 12px 14px;
  color: #6c3b14;
  font-size: 14px;
}

.link {
  display: inline-block;
  margin-top: 12px;
  color: #0b436e;
  font-weight: 600;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 10px;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid #e8d9c6;
}

th {
  color: #6c3b14;
  font-weight: 700;
}

.empty {
  background: #f8eee0;
  padding: 14px;
  border-radius: 12px;
  color: #6c3b14;
}

@media (max-width: 520px) {
  .card {
    padding: 28px 22px;
  }

  h1 {
    font-size: 24px;
  }

  table {
    font-size: 13px;
  }
}
