/**
 * ============================================================
 * 【Portal 樣式｜白話】
 * ------------------------------------------------------------
 * 四態訊息面板：loading／update／failed／sync（同時只顯示一個）
 *   update-title → 藍（#7ab1ff）：要升級，不是錯誤
 *   error-title  → 紅（#ff3b36）：連線失敗
 * ============================================================
 */

html,
body {
  height: 100%;
  background-color: #0e111b;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: initial;
}

p {
  margin: initial;
}

.message-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  border-radius: 10px;
  background-color: #152234;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  margin: 0 30px;
}

.message-wrapper.failed,
.message-wrapper.update,
.message-wrapper.sync {
  padding: 38px 30px;
}

.icon {
  width: 50px;
}

.error-title,
.update-title,
.sync-title {
  margin: 18px 0 0;
  font-size: 20px;
  font-weight: 900;
}

.error-title {
  color: #ff3b36;
}

.update-title {
  color: #7ab1ff;
}

.sync-title {
  color: #fff;
}

.status-message {
  max-width: 260px;
  margin: 8px auto 0;
  color: #fff;
  text-align: center;
}

/* 更新頁次要提醒：卸載重裝（與主文案分行、較淡） */
.update-hint {
  max-width: 260px;
  margin: 10px auto 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.support-button,
.update-button {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  margin-top: 20px;
  padding: 15px 24px;
  border-radius: 10px;
  background: linear-gradient(180deg, #0e6ffb 0%, #7ab1ff 100%);
  box-shadow: 0 1px 1px #000;
  color: #fff;
  text-decoration: none;
}

.update-button {
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}

.icon-customer-support {
  width: 44px;
}

.support-text {
  margin-left: 10px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.support-title {
  font-size: 15px;
  font-weight: 700;
}

.support-subtitle {
  font-size: 13px;
  opacity: 0.5;
}

.hidden {
  display: none;
}
