:root {
  --bg: #0b1017;
  --card: #111926;
  --line: #314157;
  --text: #e5e7eb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans KR', sans-serif;
}

.admin-shell {
  width: min(1200px, calc(100vw - 1rem));
  margin: 0 auto;
  padding: 0.8rem 0 1.2rem;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.admin-topbar h1 {
  margin: 0;
  font-size: 1.45rem;
}

.admin-topbar a {
  color: #bfdbfe;
  text-decoration: none;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  padding: 0.7rem;
}

h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.report-item,
.room-item,
.term-item {
  border: 1px solid #31435e;
  border-radius: 10px;
  background: #0b1320;
  padding: 0.5rem;
  margin-bottom: 0.42rem;
}

.report-item p,
.room-item p,
.term-item p {
  margin: 0.18rem 0;
  font-size: 0.88rem;
}

button, input {
  font: inherit;
}

button {
  border: 1px solid #4268a7;
  background: #1d4ed8;
  color: #eff6ff;
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}

input {
  border: 1px solid #334155;
  border-radius: 8px;
  background: #0b1220;
  color: #e2e8f0;
  padding: 0.35rem 0.45rem;
}

.term-form {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  align-items: center;
}

.status {
  margin-top: 0.5rem;
  color: #9ca3af;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}
