@import url('/css/style.css');
/* Material Icons */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');

/* 返回按鈕 */
.back-button {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  z-index: 1000;
  transition: opacity 0.2s;
}

.back-button:hover {
  opacity: 0.7;
}

.back-button .material-symbols-outlined {
  font-size: 24px;
}

/* 註冊表單樣式 */
.card { max-width: 520px; padding: 32px; }
.actions{ display:flex; gap:12px; align-items:center }
.btn.ghost{ background:transparent; border:1px solid rgba(255,255,255,0.06); color:var(--text); padding:10px 14px }

/* 錯誤提示 */
.field.error input,
.field.error select { border: 1px solid #ff4444 }
.error-text { color: #ff4444; font-size: 12px; margin-top: 4px; display: none }
.field.error .error-text { display: block }

/* 讓 select 與 input 外觀一致 */
.field select,
.field .form-select {
  appearance: none;
  border: 0;
  outline: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
}

/* 圖示調整 */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}
