
:root {
  --bg: #f7f7fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #2563eb;
  --accent-2: #0ea5e9;
  --danger: #ef4444;
  --shadow: 0 10px 20px rgba(0,0,0,0.08);
  --radius: 16px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg), #eef2ff 60%);
  color: var(--text);
}

.container { max-width: 960px; margin: 0 auto; padding: 24px; }
.site-header, .site-footer { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.logo { font-weight: 800; font-size: 20px; }
.top-nav a { margin-left: 12px; text-decoration: none; color: var(--text); font-weight: 600; }
.top-nav a:hover { color: var(--accent); }

.card { background: var(--card); border-radius: var(--radius); padding: 24px; }
.shadow { box-shadow: var(--shadow); }

h1 { font-size: 24px; margin: 0 0 16px; }
h2 { font-size: 18px; margin: 16px 0 8px; }
p { line-height: 1.5; color: var(--muted); }
label { display:block; font-weight: 600; margin: 12px 0 6px; }
input, select, button, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #e5e7eb; font-size: 16px;
}

button, .btn {
  display: inline-block; width: auto;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white; border: none; font-weight: 700; cursor: pointer;
  transition: transform .05s ease-in-out, box-shadow .2s;
  box-shadow: 0 8px 16px rgba(37,99,235,.25);
}
button:hover, .btn:hover { transform: translateY(-1px); }
button:active, .btn:active { transform: translateY(1px); }

.btn-danger { background: var(--danger); box-shadow: 0 8px 16px rgba(239,68,68,.25); }
.row { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .row-2 { grid-template-columns: 1fr 1fr; } }

.notice { padding: 12px 14px; border-radius: 12px; background: #eff6ff; color: #1e40af; border: 1px solid #dbeafe; }
.error { padding: 12px 14px; border-radius: 12px; background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 10px; border-bottom: 1px solid #f0f0f4; text-align: left; }
.table th { font-size: 14px; color: #374151; text-transform: uppercase; letter-spacing: 0.05em; }
.badge { display:inline-block; padding: 4px 8px; border-radius: 999px; background:#eef2ff; color:#3730a3; font-size:12px; font-weight:700; }
