/* ========= 全局設定 ========= */

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Noto Sans TC", sans-serif;
  background: #faf5ee;
  color: #333;
}

.main-container {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 40px;
}

/* ========= 左側卡片 ========= */

.card-left {
  width: 540px;
  background: #fff;
  border-radius: 22px;
  padding: 40px 48px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  position: relative;
}

/* ===== Logo 區 ===== */

.logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.logo-dot {
  width: 14px;
  height: 14px;
  background: #4CAF50;
  border-radius: 50%;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
}

.lang-switch {
  margin-left: auto;
  display: flex;
  gap: 6px;
}

.lang-btn {
  padding: 4px 10px;
  font-size: 13px;
  border-radius: 12px;
  border: none;
  background: #eee;
  cursor: pointer;
}

.lang-btn.active {
  background: #333;
  color: #fff;
}

/* ===== 登出按鈕（放在設定頁標題右側，不再重疊） ===== */

.settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logout-btn {
  padding: 6px 18px;
  background: #f15a24;
  color: #fff;
  font-size: 14px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
}

.logout-btn:hover {
  background: #d94e1f;
}

/* ========= 表單 ========= */

.title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 15px;
  margin-bottom: 16px;
  color: #555;
}

.field-label {
  display: block;
  margin-top: 14px;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.input,
.input-setting {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  background: #fffdfa;
}

.btn {
  margin-top: 20px;
  width: 100%;
  padding: 14px 0;
  background: #e77a36;
  border: none;
  color: #fff;
  border-radius: 18px;
  font-size: 16px;
  cursor: pointer;
}

.btn:hover {
  background: #d36d2f;
}

.error {
  margin-top: 8px;
  font-size: 13px;
  color: #d9534f;
}

.auth-links a {
  font-size: 13px;
  color: #d36d2f;
}

.delete-btn {
  margin-top: 22px;
  font-size: 14px;
  color: #c62828;
  background: none;
  border: none;
  cursor: pointer;
}

/* ========= 右側卡片 ========= */

.card-right {
  width: 520px;
  background: linear-gradient(180deg, #f2c083, #e89d5b);
  padding: 40px 40px 60px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  color: #fff;
}

#right-intro,
#right-status {
  color: #fff;
}

/* ========= 右側：標籤 / 說明 ========= */

.right-badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  background: #fff;
  color: #cc7a36;
  border-radius: 10px;
  margin-bottom: 16px;
}

.right-badge.secondary {
  background: #333;
  color: #fff;
}

.intro-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.intro-list {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.intro-note {
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.9;
}

/* ========= 右側：會員狀態 ========= */

.right-title {
  font-size: 22px;
  font-weight: 700;
  margin-top: 4px;
  margin-bottom: 4px;
  color: #fff;
}

.right-subtitle {
  font-size: 14px;
  margin-bottom: 18px;
  opacity: 0.9;
}

/* 會員狀態卡片 */
.status-card {
  background: #ffffffcc;
  padding: 24px 26px;
  border-radius: 14px;
  color: #333;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.status-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

.status-row.full {
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

.status-label {
  opacity: 0.75;
}

.status-value {
  font-weight: 600;
}

.status-tip {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.5;
}

/* ========= RWD ========= */

@media (max-width: 1100px) {
  .main-container {
    flex-direction: column;
    align-items: center;
  }
  .card-right, .card-left {
    width: 90%;
  }
}
/* ========= Landing View ========= */
.landing-features {
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

.footer-links {
  margin-top: 40px;
  font-size: 12px;
  text-align: center;
  color: #999;
}

.footer-link {
  color: #999;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.separator {
  margin: 0 8px;
  color: #ccc;
}
