/* Honffx 卡密系统 - 全局样式（简洁主题，主色 #16baaa） */
:root { --main: #16baaa; --main-d: #129b8d; }

body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; }

/* 主色按钮覆盖 */
.layui-btn-main { background-color: var(--main); }
.layui-btn-main:hover { background-color: var(--main-d); }

/* ---------- 管理后台框架 ---------- */
.admin-header {
  height: 56px; background: #20222a; color: #fff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
}
.admin-header .brand { font-size: 18px; font-weight: 600; color: #fff; }
.admin-header .brand span { color: var(--main); }
.admin-header .user { font-size: 14px; cursor: pointer; }
.admin-header .user i { margin-left: 6px; }

.admin-side {
  position: fixed; top: 56px; bottom: 0; left: 0; width: 210px;
  background: #2f3340; overflow-y: auto; z-index: 999;
}
.admin-side .layui-nav { background: transparent; width: 100%; }

.admin-body {
  position: fixed; top: 56px; left: 210px; right: 0; bottom: 0;
  background: #f2f2f2;
}
.admin-body iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border-radius: 6px; padding: 18px 20px; margin-bottom: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.card-title {
  font-size: 15px; color: #333; font-weight: 600; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.card-title .left { border-left: 3px solid var(--main); padding-left: 10px; }

/* 统计卡片 */
.stat-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.stat-card {
  flex: 1; min-width: 200px; background: #fff; border-radius: 6px; padding: 20px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04); position: relative;
}
.stat-card .label { font-size: 14px; color: #666; margin-bottom: 12px; }
.stat-card .value { font-size: 38px; font-weight: 700; line-height: 1; }
.stat-card .tag { position: absolute; right: 18px; top: 18px; padding: 2px 8px; border-radius: 4px; font-size: 12px; color: #fff; }

/* 内容容器内边距 */
.page-wrap { padding: 16px; }

/* 应用卡片视图 */
.app-card { display: flex; align-items: center; padding: 18px 0; border-bottom: 1px solid #f0f0f0; }
.app-card .icon {
  width: 64px; height: 64px; border-radius: 10px; background: #f3f4f6;
  display: flex; align-items: center; justify-content: center; margin-right: 18px;
  color: #9aa0a6; font-size: 30px;
}
.app-card .info { flex: 1; line-height: 1.9; }
.app-card .info .name { font-size: 16px; font-weight: 600; }
.app-card .info .meta { color: #666; font-size: 13px; }

/* 工具按钮行 */
.toolbar { margin-bottom: 12px; }
.toolbar .layui-btn { margin-right: 6px; }

/* 配置说明文字 */
.cfg-tip { color: #ff7a45; font-size: 12px; margin: 4px 0 0; }
.cfg-label { font-weight: 600; margin: 18px 0 8px; display: block; color: #333; }
.cfg-label:first-child { margin-top: 0; }

/* 滚动条 */
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
.admin-side::-webkit-scrollbar-thumb { background: #555; }
