/* ---------------------- 全局背景 ---------------------- */
body {
  font-family: 'Inter', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background: #1e1e1e; /* 深灰背景，可靠專業 */
}

/* ---------------------- 卡片容器 ---------------------- */
.container {
  text-align: center;
  background-color: #2c2c2c; /* 暗灰卡片 */
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  max-width: 400px;
  width: 100%;
}

/* ---------------------- 標題 ---------------------- */
h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

/* ---------------------- 按鈕 ---------------------- */
button {
  padding: 14px 24px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  background-color: #0d47a1; /* 深藍按鈕 */
  color: #ffffff;
  margin-top: 15px;
  width: 100%;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

button:disabled {
  background: #555555;
  cursor: not-allowed;
  box-shadow: none;
}

button:hover:not(:disabled) {
  background-color: #1565c0; /* hover 微亮化 */
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

button:active:not(:disabled) {
  transform: scale(0.98);
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* ---------------------- 密碼顯示框 ---------------------- */
.password-box {
  margin-top: 20px;
  padding: 14px;
  font-size: 16px;
  color: #ffffff;
  background-color: #3a3a3a; /* 穩重暗灰 */
  border-radius: 8px;
  word-break: break-all;
  min-height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
