/* ====================================================
   🔑 找回密碼頁專用樣式
   ==================================================== */
.forget-container {
  padding: 30px 20px 40px;
  max-width: 400px;
  margin: 0 auto;
}
.forget-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 8px;
}
.forget-subtitle {
  font-size: 13px;
  color: #999;
  text-align: center;
  margin-bottom: 30px;
}
.forget-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.forget-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f5f7fa;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 0 14px;
  height: 48px;
  transition: border-color 0.2s;
}
.forget-input-wrap:focus-within {
  border-color: #3097fd;
  background: #fff;
}
.forget-input-wrap .forget-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #aaa;
}
.forget-input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 15px;
  color: #333;
  outline: none;
  height: 100%;
  min-width: 0;
}
.forget-input-wrap input::placeholder { color: #bbb; }
.forget-captcha-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.forget-captcha-row .forget-input-wrap {
  flex: 1;
  min-width: 0;
}
.forget-captcha-img {
  flex-shrink: 0;
  width: 90px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  background: #f0f0f0;
  object-fit: contain;
}
.forget-captcha-refresh {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #3097fd;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.forget-captcha-refresh svg { width: 18px; height: 18px; }
.forget-error {
  color: #f44;
  font-size: 13px;
  text-align: center;
  display: none;
  padding: 4px 0;
}
.forget-btn {
  display: block;
  width: 100%;
  height: 48px;
  line-height: 48px;
  text-align: center;
  background: #3097fd;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
  margin-top: 4px;
}
.forget-btn:active { background: #1a7de0; }
.forget-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 4px;
}
.forget-links a {
  font-size: 14px;
  color: #3097fd;
  text-decoration: none;
}
.forget-links a:active { color: #1a7de0; }

/* ====================================================
   📧 找回成功區塊樣式
   ==================================================== */
.findok-container {
  display: none; /* 預設隱藏，成功後顯示 */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 80px;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}
.findok-icon {
  width: 72px;
  height: 72px;
  background: #3097fd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.findok-icon svg {
  width: 38px;
  height: 38px;
  color: #fff;
}
.findok-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}
.findok-subtitle {
  font-size: 14px;
  color: #999;
  margin-bottom: 32px;
  line-height: 1.5;
}
.findok-btn {
  display: block;
  width: 100%;
  height: 48px;
  line-height: 48px;
  text-align: center;
  background: #3097fd;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
  margin-bottom: 16px;
}
.findok-btn:active { background: #1a7de0; }
.findok-home {
  font-size: 14px;
  color: #999;
  text-decoration: none;
}
.findok-home:active { color: #666; }

/* ====================================================
   💻 平板 (768px+)
   ==================================================== */
@media screen and (min-width: 768px) {
  html { font-size: 16px !important; }
  body { background: #eef0f4 !important; }
  .wrapper {
    max-width: 960px !important;
    margin: 0 auto !important;
    background: #fff !important;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    min-height: 100vh;
    overflow-x: hidden !important;
  }
  .forget-container { padding: 60px 20px 80px; max-width: 420px; }
  .forget-title { font-size: 26px; }
  .forget-subtitle { font-size: 14px; margin-bottom: 36px; }
  .forget-input-wrap { height: 52px; border-radius: 12px; padding: 0 16px; }
  .forget-input-wrap input { font-size: 16px; }
  .forget-captcha-img { width: 110px; height: 46px; }
  .forget-captcha-refresh { width: 36px; height: 36px; }
  .forget-btn { height: 52px; line-height: 52px; font-size: 17px; border-radius: 12px; }
  .forget-links a { font-size: 15px; }
  .forget-input-wrap:hover { border-color: #c0d4ea; }
  .forget-btn:hover { background: #2488ee; }

  .findok-container { padding: 80px 20px 100px; max-width: 450px; }
  .findok-icon { width: 84px; height: 84px; margin-bottom: 28px; }
  .findok-icon svg { width: 44px; height: 44px; }
  .findok-title { font-size: 28px; }
  .findok-subtitle { font-size: 15px; }
  .findok-btn { height: 52px; line-height: 52px; font-size: 17px; border-radius: 12px; }
  .findok-btn:hover { background: #2488ee; }
}
@media screen and (min-width: 1024px) {
  .wrapper { max-width: 1200px !important; }
}
@media screen and (min-width: 1440px) {
  .wrapper { max-width: 1400px !important; }
}
