/* ===========================================
   悍高服务 H5 - 全局样式 (基于真实 wxss 颜色规范)
   主色 #00abeb / 辅助 #4a7a9e / 深 #0d3b5e
   浅蓝底 #e8f2fa / 卡片 #edf6fa / 深卡片 #e0eef8
   =========================================== */

:root {
  --hg-blue: #00abeb;
  --hg-blue-dark: #4a7a9e;
  --hg-ink: #0d3b5e;
  --hg-bg: #e8f2fa;
  --hg-card: #edf6fa;
  --hg-card-deep: #e0eef8;
  --hg-line: rgba(0,171,235,.08);
  --hg-line-strong: rgba(0,171,235,.15);
  --hg-accent: #C4521A; /* 日历确认色 */

  --text-major: #0d3b5e;
  --text-minor: #4a7a9e;
  --text-muted: #a0b8c8;
  --danger: #ee0a24;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; margin: 0; padding: 0; }

html, body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  color: var(--text-major);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  line-height: 1.5;
}

body { max-width: 750px; margin: 0 auto; min-height: 100vh; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; outline: none; }

/* ===== 顶部导航 (仿真小程序 navigationBar 颜色 #00abeb) ===== */
.hg-nav {
  position: sticky; top: 0; z-index: 99;
  height: 44px; line-height: 44px;
  background: var(--hg-blue);
  color: #fff;
  text-align: center;
  font-size: 17px; font-weight: 600;
}
.hg-nav .back {
  position: absolute; left: 12px; top: 0;
  font-size: 22px; font-weight: 400;
  width: 32px; height: 44px;
  cursor: pointer;
}

/* ===== 通用按钮 ===== */
.hg-btn-primary {
  background: var(--hg-blue); color: #edf6fa;
  border: none; border-radius: 12px;
  height: 48px; line-height: 48px;
  font-size: 14px; font-weight: 700; letter-spacing: 5px;
  width: 100%; padding: 0;
}
.hg-btn-primary.disabled,
.hg-btn-primary:disabled {
  background: var(--hg-card-deep); color: #a0b8c8;
}
.hg-btn-ghost {
  background: var(--hg-card-deep); color: var(--hg-blue-dark);
  border: none; border-radius: 12px;
  height: 48px; line-height: 48px;
  font-size: 14px; font-weight: 700; letter-spacing: 2px;
  width: 100%; padding: 0;
}

/* 简易 toast */
.hg-toast {
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  background: rgba(0,0,0,.75); color: #fff;
  padding: 10px 16px; border-radius: 8px;
  font-size: 14px; z-index: 9999;
  max-width: 80%; text-align: center;
}
