/* ============================================================
   OS Simulator — Registration Shared Styles
   Used by: registration-step1.html, registration-step2-*.html
   ============================================================ */

/* 100% 等同未調整時的 110%（使用者偏好） */
body { zoom: 1.1; }

/* ---------- Step indicator ---------- */
.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.step-circle.done {
  background: #3D6B35;
  color: #fff;
  box-shadow: 0 2px 8px rgba(61, 107, 53, 0.3);
}
.step-circle.active {
  background: #3D6B35;
  color: #fff;
  box-shadow: 0 2px 8px rgba(61, 107, 53, 0.3);
}
.step-circle.inactive {
  background: transparent;
  color: #72796d;
  border: 2px solid #c2c9bb;
}
.step-line {
  flex: 1;
  height: 2px;
  background: #c2c9bb;
  margin: 0 14px;
}
.step-line.done { background: #3D6B35; }

/* ---------- Submit / Next button ---------- */
.submit-btn,
.next-btn {
  background: linear-gradient(135deg, #2D5228 0%, #3D6B35 100%);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 0;
  border-radius: 8px;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.submit-btn:hover,
.next-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #1E3A18 0%, #2D5228 100%);
  box-shadow: 0 4px 16px rgba(61, 107, 53, 0.25);
}
.submit-btn:active,
.next-btn:active:not(:disabled) { transform: scale(0.98); }
.next-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ---------- Password toggle ---------- */
.pw-wrap { position: relative; }
.pw-wrap .pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #72796d;
  display: flex;
  align-items: center;
  padding: 0;
  transition: color 0.15s;
}
.pw-wrap .pw-toggle:hover { color: #3D6B35; }
.pw-wrap .input-field { padding-right: 44px; }

/* ---------- Section divider ---------- */
.section-divider {
  border: none;
  border-top: 1.5px solid #e7e8e9;
  margin: 4px 0;
}

/* ---------- Select field ---------- */
.select-field {
  width: 100%;
  padding: 10px 14px;
  background: #fff;
  border: 1.5px solid #d5d9d0;
  border-radius: 8px;
  font-size: 14px;
  color: #191c1d;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2372796d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.select-field:focus {
  border-color: #3D6B35;
  box-shadow: 0 0 0 3px rgba(61, 107, 53, 0.12);
}
.select-field:disabled {
  background-color: #f3f4f5;
  color: #aeb5a8;
  cursor: not-allowed;
}