/* 复刻工程补充样式（仅用于替代原站 logo 图片等品牌素材，其余样式全部来自原站 CSS） */
/* 品牌 logo（原站为图片）：蓝→青渐变 + 轮廓 */
.logo-replica {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-size: 50px;
  font-weight: 900;
  letter-spacing: -4px;
  padding-right: 8px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 2px transparent;
  filter: drop-shadow(0 0 0 #2563eb);
  user-select: none;
}

/* 头部 logo 容器尺寸 */
.logo-replica {
  width: 130px;
  height: 60px;
}

/* 登录页图片 logo：80px 高，在标题左侧居中 */
#loginForm .form-title .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}
#loginForm .form-title .logo img.login-logo {
  display: block;
  width: auto;
  height: 80px;
  max-width: 130px;
  object-fit: contain;
}

/* 输入框数字用红色，与原站一致 */
.game_con input.orderInput {
  color: red;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}

/* 投注项被填充金额后的轻微高亮（原站无此态，仅便于学习观察） */
.game_con li.filled fieldset,
.game_con li.filled {
  background: transparent;
}

/* layui 下拉框面板（原站由 layui 动态生成，这里自绘同结构） */
.layui-select.k9-sel {
  position: relative;
}

.layui-select.k9-sel .layui-input {
  cursor: pointer;
}

.layui-select .k9-options {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 9999;
  min-width: 100%;
  max-height: 220px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #d2d2d2;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
  text-align: left;
}

.layui-select.k9-open .k9-options {
  display: block;
}

.layui-select .k9-option {
  padding: 0 10px;
  line-height: 30px;
  font-size: 12px;
  color: #333;
  white-space: nowrap;
  cursor: pointer;
}

.layui-select .k9-option:hover {
  background: #f2f2f2;
}

.layui-select .k9-option.active {
  color: #f07700;
  font-weight: 700;
}

/* txt导入：格式B 的小金额 */
.code-wrap .citem .eamt {
  font-style: normal;
  font-size: 12px;
  color: #f07700;
  padding-left: 4px;
}

/* 会员端文字超链接统一样式：下划线，文字与下划色 #0000EE */
#layoutMain a.period-link,
#layoutMain a.print-link,
#layoutMain .panel-title a.back-link {
  color: #0000EE;
  text-decoration: underline;
}

/* 历史账单下钻页：标题右侧「| 返回上级」 */
#layoutMain .panel-title .title-divider {
  margin-left: 10px;
  color: #999;
  font-weight: 400;
}

#layoutMain .panel-title a.back-link {
  margin-left: 10px;
}

/* 左侧「加拿大28」下注表格：注单过多时表格区域局部滚动，表头与合计行固定可见 */
.bet-scroll {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
}

.bet-scroll table.print.table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f2f2f2;
}

.bet-scroll table.print.table tfoot td {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: #fff;
}

/* 左上角图片 LOGO：替换文字商标（登录页仍用文字样式） */
.header-section .layout-left .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}
.header-section .layout-left .logo img.logo-img {
  display: block;
  width: auto;
  height: 80px;
  max-width: 130px;
  object-fit: contain;
}

/* 安全码页：仅一个输入框 + 一个按钮 */
.security-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: #fff;
  box-sizing: border-box;
}
.security-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 560px;
  max-width: 100%;
  transform: translateY(-100px);
}
.security-logo {
  display: block;
  width: 270px;
  max-width: 100%;
  height: auto;
}
.security-box {
  display: flex;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}
.security-input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: #333;
  outline: none;
  box-sizing: border-box;
}
.security-input:focus {
  border-color: #22c55e;
}
.security-btn {
  flex: none;
  width: 110px;
  height: 46px;
  border: none;
  border-radius: 8px;
  background: #22c55e;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}
.security-btn:hover {
  background: #16a34a;
}

