/* ============================================================
   島物送 — 登入 / 註冊未開放 共用版面
   底圖沿用首頁 hero（SiteConfig.hero_image）
   ============================================================ */

.sh-auth {
  position: relative;
  display: flex;
  align-items: center;
  /* 扣掉 header 高度後仍撐滿視窗，卡片才會落在視覺中線而非貼著頁首 */
  min-height: calc(100vh - 69px);
  padding: 64px 0 80px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-section) 100%);
}
.sh-auth.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* 米色遮罩：照片仍看得見，但卡片下方的字保有 AA 對比 */
.sh-auth.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(250, 246, 238, .90) 0%,
    rgba(250, 246, 238, .72) 45%,
    rgba(42, 34, 24, .28) 100%
  );
  pointer-events: none;
}
.sh-auth__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sh-auth__card {
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-100);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lift);
  padding: 44px 40px 36px;
}
.sh-auth__card--wide { max-width: 560px; }

.sh-auth__head {
  text-align: center;
  margin-bottom: 28px;
}
.sh-auth__mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 14px;
}
.sh-auth__eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: .32em;
  color: var(--brick-600);
  margin-bottom: 10px;
}
.sh-auth__title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-900);
  margin: 0 0 8px;
}
.sh-auth__sub {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-500);
  margin: 0;
}
.sh-auth__rule {
  width: 44px;
  height: 2px;
  background: var(--brick-500);
  margin: 18px auto 0;
}

.sh-auth__field { margin-bottom: 18px; }
.sh-auth__field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-700);
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.sh-auth .form-control {
  border: 1px solid var(--line-200);
  border-radius: var(--r-sm);
  background: #FFFDF9;
}
.sh-auth__submit {
  width: 100%;
  margin-top: 6px;
}

.sh-auth__alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--brick-100);
  border: 1px solid rgba(165, 61, 36, .28);
  border-radius: var(--r-sm);
  color: var(--brick-700);
  font-size: 14px;
  line-height: 1.7;
  padding: 12px 16px;
  margin-bottom: 20px;
}

.sh-auth__foot {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line-100);
  text-align: center;
  font-size: 14px;
  color: var(--ink-500);
}
.sh-auth__foot a { font-weight: 500; }
.sh-auth__foot-sep {
  margin-top: 10px;
  font-size: 13px;
}

/* 註冊未開放：時段資訊 */
.sh-auth__slots {
  border: 1px dashed var(--line-200);
  border-radius: var(--r-md);
  background: var(--bg-section);
  padding: 16px 20px;
  margin-bottom: 22px;
}
.sh-auth__slot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 14px;
  color: var(--ink-700);
}
.sh-auth__slot + .sh-auth__slot { margin-top: 8px; }
.sh-auth__slot dt { font-weight: 400; color: var(--ink-500); }
.sh-auth__slot dd { margin: 0; font-weight: 600; font-family: var(--font-serif); }

.sh-auth__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 575.98px) {
  .sh-auth { padding: 40px 0 56px; min-height: 0; }
  .sh-auth__card { padding: 32px 24px 28px; }
  .sh-auth__title { font-size: 25px; }
  .sh-auth__actions .sh-btn { width: 100%; }
}
