* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  font-family: "Pretendard", system-ui, -apple-system, "Malgun Gothic", sans-serif;
  background: linear-gradient(160deg, #e0f2fe, #f0fdf4);
  color: #1f2937;
}

.card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

h1 { margin: 0 0 4px; font-size: 1.6rem; }
.sub { margin: 0 0 20px; color: #6b7280; }

label { display: block; margin-bottom: 14px; font-weight: 600; font-size: .95rem; }

input, select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
}
input:focus, select:focus { outline: 2px solid #0ea5e9; border-color: transparent; }

.agree { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: .9rem; }
.agree input { width: auto; margin: 3px 0 0; }

button {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background: #0284c7;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
button:disabled { opacity: .6; cursor: wait; }

#msg { min-height: 1.4em; margin: 12px 0 0; white-space: pre-line; color: #dc2626; text-align: center; }
#done { text-align: center; }
#done p { margin-bottom: 20px; }
