/* ============================================================
   theme-platform.css  –  平台後台：藍色專業主題
   ============================================================ */

:root {
  --green-1:   #1d4ed8;
  --green-2:   #2563eb;
  --green-3:   #3b82f6;
  --green-bg:  #f0f4ff;
  --green-lite:#dbeafe;
  --text-1:    #1e293b;
  --text-2:    #475569;
  --text-3:    #94a3b8;
  --shadow-sm: 0 2px 8px rgba(29,78,216,.10);
  --shadow-md: 0 4px 20px rgba(29,78,216,.16);
}

/* 標題列 */
.site-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
}

/* 登入卡片圖示背景 */
.login-card {
  border-top: 4px solid #1d4ed8;
}

/* 分頁底線顏色 */
.tab-btn--active {
  color: #1d4ed8;
  border-bottom-color: #1d4ed8;
}
.tab-btn:hover { color: #1d4ed8; }

/* select/input focus */
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

/* badge */
.stats-badge { background: #1d4ed8; }

/* 點位計數器 */
.points-counter { color: #64748b; }

/* platform-logged-bar */
.platform-logged-bar { color: #1d4ed8; border-bottom-color: #dbeafe; }

/* spinner ring */
.spinner__ring {
  border-color: #dbeafe;
  border-top-color: #1d4ed8;
}
.spinner__text { color: #1d4ed8; }

/* file-upload-area hover */
.file-upload-area:hover,
.file-upload-area:focus-within {
  border-color: #2563eb;
  background: #eff6ff;
}

/* tab active */
.tab-bar { border-bottom-color: #dbeafe; }

/* email tag */
.email-tag { background: #dbeafe; color: #1d4ed8; }

/* card img border */
.card__img { border-color: #dbeafe; }
.preview-thumb { border-color: #dbeafe; }

/* 限制 badge */
.platform-badge--active { background: #dbeafe; color: #1d4ed8; }
.platform-count-badge { background: #1d4ed8; }
.platform-limit-bar { border-left: 4px solid #1d4ed8; }

/* user bar */
.user-bar { border-bottom-color: #dbeafe; }
.user-bar__signout { border-color: #2563eb; color: #1d4ed8; }
.user-bar__signout:hover { background: #1d4ed8; color: #fff; }

/* captcha refresh */
.captcha-refresh-btn { border-color: #2563eb; color: #1d4ed8; }
.captcha-refresh-btn:hover { background: #1d4ed8; color: #fff; }

/* 篩選 select */
.filter-row select { border-color: #bfdbfe; }
.filter-row select:focus { border-color: #2563eb; }

/* site-block header */
.site-block__header { background: #eff6ff; border-bottom-color: #bfdbfe; }

/* general select */
select { border-color: #bfdbfe; }
select:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }

/* 總覽卡片 */
.dash-card { border-color: #dbeafe; border-left-color: #2563eb; }
.dash-section-title { color: #1e3a8a; }
.recent-row { border-color: #dbeafe; }

/* 管理帳號 / 操作日誌 */
.user-row { border-color: #dbeafe; }
.role-badge--member { background: #dbeafe; color: #1d4ed8; }
.checkbox-grid { border-color: #bfdbfe; }
.table-scroll { border-color: #dbeafe; }
.data-table th { background: #eff6ff; }
.data-table th, .data-table td { border-bottom-color: #dbeafe; }
.filter-date input { border-color: #bfdbfe; }

/* 輸入框 focus（藍色主題） */
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
