.form {
  margin-top: 10px;        /* 標題跟表單中間留一點空間 */
}

/* 一列一行：label + input */
.form-row {
  margin-bottom: 10px;     /* 每一行之間的距離 */
}

/* 讓三個 label 有固定寬度，input 就會對齊成直線 */
.form-row label {
  display: inline-block;   /* 讓 label 可以設定寬度 */
  width: 100px;            /* 自己調到你覺得漂亮的寬度 */
}

.form-row input {
  padding: 4px 6px;
}

.input{
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  font-size: 15.5px;
  line-height: 1.2;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .06s ease;
}

.input::placeholder{
  color: #9ca3af;
}

.input:focus{
  border-color: rgba(37,99,235,.55);
  box-shadow: 0 0 0 4px rgba(37,99,235,.18), 0 10px 24px rgba(17,24,39,.08);
}

.input:active{
  transform: translateY(0.5px);
}

.input:disabled{
  background: #f9fafb;
  color: #9ca3af;
  cursor: not-allowed;
}

:root{
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --primary: #2563eb;        /* 教育感藍 */
  --primary-weak: #dbeafe;
  --shadow: 0 16px 40px rgba(17,24,39,.10);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
                  "PingFang TC","Microsoft JhengHei", Arial, sans-serif;
  color:var(--text);
  background:
      radial-gradient(800px 300px at 50% -120px, var(--primary-weak), transparent 70%),
      var(--bg);
}

/* 置中容器 */
.wrap{
  min-height:100%;
  display:grid;
  place-items:center;
  padding: 28px 18px 70px; /* 留 footer 空間 */
}

/* 卡片 */
.card{
  width:min(500px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 2px);
  display:grid;
  gap: 22px;
  align-items:center;
}

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

/* 左側文字 */
.left{ padding: 6px 6px 12px; }

.title{
  margin: 14px 0 10px;
  font-size: clamp(28px, 3.2vw, 38px);
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.desc{
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15.5px;
}

/* 按鈕 */
.actions{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  margin-top: 12px;
}

.btn{
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 3px 12px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 14px;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.btn:hover{
  transform: translateY(-1px);
  border-color: #d1d5db;
  box-shadow: 0 10px 24px rgba(17,24,39,.08);
}

.btn:active{ transform: translateY(0); box-shadow:none; }

.btn-primary{
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover{
  box-shadow: 0 14px 28px rgba(37,99,235,.18);
}

@keyframes spin { to { transform: rotate(360deg); } }