/* ===== 健康证信息服务 - 全局样式 ===== */
* { margin:0; padding:0; box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html,body { width:100%; min-height:100vh; font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue","Microsoft YaHei",sans-serif; font-size:14px; color:#333; background:#f5f7fa; -webkit-font-smoothing:antialiased; }
#app { width:100%; max-width:750px; margin:0 auto; min-height:100vh; background:#f5f7fa; position:relative; padding-bottom:70px; }
.hidden { display:none !important; }
.mt-16 { margin-top:16px; }
.mb-16 { margin-bottom:16px; }

/* ===== 顶部导航栏 ===== */
.nav-bar { background:linear-gradient(135deg,#1e88e5 0%,#1565c0 100%); color:#fff; padding:14px 16px; display:flex; align-items:center; justify-content:space-between; position:sticky; top:0; z-index:100; box-shadow:0 2px 8px rgba(30,136,229,0.25); }
.nav-bar .back-btn { position:absolute; left:12px; font-size:24px; cursor:pointer; padding:4px 8px; font-weight:300; }
.nav-bar .title { font-size:17px; font-weight:600; letter-spacing:1px; }
.nav-bar .nav-right-btn { font-size:14px; cursor:pointer; padding:6px 12px; background:rgba(255,255,255,0.2); border-radius:6px; white-space:nowrap; }

/* ===== 页面容器 ===== */
.page-container { padding-bottom:20px; }

/* ===== 卡片 ===== */
.card { background:#fff; border-radius:12px; margin:16px; padding:20px 16px; box-shadow:0 2px 12px rgba(0,0,0,0.06); }

/* ===== 查询页 ===== */
.query-banner { background:linear-gradient(135deg,#1e88e5 0%,#0d47a1 100%); color:#fff; padding:30px 20px 40px; text-align:center; }
.query-banner h1 { font-size:22px; margin-bottom:8px; font-weight:700; }
.query-banner p { font-size:13px; opacity:0.85; }
.query-form { margin-top:-24px; }
.form-group { margin-bottom:16px; }
.form-group label { display:block; font-size:14px; color:#555; margin-bottom:8px; font-weight:500; }
.form-group label .required { color:#e53935; margin-right:2px; }
.form-group input, .form-group select, .form-group textarea { width:100%; height:44px; padding:0 14px; border:1px solid #e0e0e0; border-radius:8px; font-size:15px; color:#333; background:#fafafa; transition:all 0.2s; outline:none; }
.form-group input:focus, .form-group select:focus { border-color:#1e88e5; background:#fff; box-shadow:0 0 0 3px rgba(30,136,229,0.1); }
.form-group input::placeholder { color:#bbb; }
.form-row { display:flex; gap:12px; }
.form-row .form-group { flex:1; }

.btn-primary { width:100%; height:46px; background:linear-gradient(135deg,#1e88e5 0%,#1565c0 100%); color:#fff; border:none; border-radius:8px; font-size:16px; font-weight:600; cursor:pointer; transition:all 0.2s; letter-spacing:2px; }
.btn-primary:active { transform:scale(0.98); opacity:0.9; }
.btn-primary:disabled { background:#bdbdbd; cursor:not-allowed; transform:none; }
.btn-outline { display:inline-block; padding:10px 20px; background:#fff; color:#1e88e5; border:1px solid #1e88e5; border-radius:8px; font-size:14px; cursor:pointer; transition:all 0.2s; }
.btn-outline:active { background:#e3f2fd; }
.btn-sm { padding:6px 14px; font-size:13px; height:auto; }

.tips-box { background:#fff8e1; border-left:3px solid #ffb300; border-radius:6px; padding:12px 14px; margin:16px; font-size:12px; color:#795548; line-height:1.7; }
.tips-box strong { color:#e65100; }

/* 快捷操作 */
.quick-actions { display:flex; gap:12px; margin:16px; }
.quick-btn { flex:1; background:#fff; border-radius:12px; padding:16px 8px; text-align:center; box-shadow:0 2px 8px rgba(0,0,0,0.05); cursor:pointer; transition:all 0.2s; }
.quick-btn:active { transform:scale(0.96); }
.quick-icon { font-size:28px; margin-bottom:6px; }
.quick-btn span { font-size:13px; color:#555; }

/* ===== 结果页 - 健康证卡片 ===== */
.cert-card { margin:16px; border-radius:12px; overflow:hidden; box-shadow:0 4px 16px rgba(0,0,0,0.1); }
.cert-header { background:linear-gradient(135deg,#00897b 0%,#00695c 100%); color:#fff; padding:24px 20px; text-align:center; position:relative; overflow:hidden; }
.cert-header.expired { background:linear-gradient(135deg,#757575 0%,#424242 100%); }
.cert-header.revoked { background:linear-gradient(135deg,#c62828 0%,#b71c1c 100%); }
.cert-header::before { content:""; position:absolute; top:-30px; right:-30px; width:100px; height:100px; background:rgba(255,255,255,0.08); border-radius:50%; }
.cert-header::after { content:""; position:absolute; bottom:-40px; left:-20px; width:120px; height:120px; background:rgba(255,255,255,0.06); border-radius:50%; }
.cert-header .cert-title { font-size:20px; font-weight:700; letter-spacing:3px; margin-bottom:6px; position:relative; z-index:1; }
.cert-header .cert-subtitle { font-size:12px; opacity:0.85; letter-spacing:1px; position:relative; z-index:1; }
.cert-status { display:inline-block; background:rgba(255,255,255,0.2); padding:4px 14px; border-radius:20px; font-size:12px; margin-top:10px; position:relative; z-index:1; }
.cert-body { background:#fff; padding:20px 16px; }
.cert-photo-section { display:flex; align-items:flex-start; gap:16px; margin-bottom:20px; padding-bottom:16px; border-bottom:1px dashed #e0e0e0; }
.cert-photo { width:90px; height:115px; background:#f0f0f0; border-radius:6px; display:flex; align-items:center; justify-content:center; color:#999; font-size:12px; flex-shrink:0; overflow:hidden; }
.cert-photo img { width:100%; height:100%; object-fit:cover; }
.cert-basic-info { flex:1; }
.info-row { display:flex; margin-bottom:8px; font-size:14px; line-height:1.5; }
.info-row .label { color:#888; width:72px; flex-shrink:0; }
.info-row .value { color:#333; font-weight:500; flex:1; word-break:break-all; }
.info-section-title { font-size:15px; font-weight:600; color:#1e88e5; margin:16px 0 12px; padding-left:10px; border-left:3px solid #1e88e5; }
.detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px 16px; }
.detail-item { font-size:13px; }
.detail-item .label { color:#888; margin-bottom:4px; }
.detail-item .value { color:#333; font-weight:500; }
.validity-bar { border-radius:8px; padding:14px; margin-top:16px; display:flex; align-items:center; gap:12px; }
.validity-bar.valid { background:#e8f5e9; }
.validity-bar.expired, .validity-bar.revoked { background:#ffebee; }
.validity-bar .icon { font-size:28px; }
.validity-bar .text { flex:1; }
.validity-bar.valid .text .main { font-size:14px; font-weight:600; color:#2e7d32; margin-bottom:2px; }
.validity-bar.valid .text .sub { font-size:12px; color:#66bb6a; }
.validity-bar.expired .text .main, .validity-bar.revoked .text .main { font-size:14px; font-weight:600; color:#c62828; margin-bottom:2px; }
.validity-bar.expired .text .sub, .validity-bar.revoked .text .sub { font-size:12px; color:#ef5350; }
.seal-section { text-align:right; margin-top:20px; padding-top:16px; border-top:1px dashed #e0e0e0; }
.seal { display:inline-block; width:90px; height:90px; border:3px solid #e53935; border-radius:50%; color:#e53935; font-size:10px; text-align:center; line-height:1.4; padding:16px 6px; transform:rotate(-12deg); opacity:0.85; font-weight:600; letter-spacing:1px; }

/* 二维码区域 */
.qrcode-section { margin-top:20px; padding-top:16px; border-top:1px dashed #e0e0e0; }
.qrcode-box { display:flex; align-items:center; gap:16px; background:#f9f9f9; border-radius:10px; padding:16px; }
.qrcode-img { width:120px; height:120px; background:#fff; border-radius:8px; padding:8px; flex-shrink:0; box-shadow:0 2px 8px rgba(0,0,0,0.08); }
.qrcode-img img { width:100%; height:100%; object-fit:contain; }
.qrcode-info { flex:1; }
.qrcode-info p { font-size:13px; color:#666; margin-bottom:12px; line-height:1.5; }

/* ===== 扫码页 ===== */
.scan-page { background:#000; min-height:calc(100vh - 50px); padding-bottom:0; }
.scan-container { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:calc(100vh - 120px); padding:20px; }
.scan-video-wrapper { position:relative; width:100%; max-width:300px; aspect-ratio:1; background:#000; border-radius:12px; overflow:hidden; }
.scan-video { width:100%; height:100%; object-fit:cover; }
.scan-frame { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:70%; height:70%; }
.scan-corner { position:absolute; width:24px; height:24px; border-color:#00e676; border-style:solid; }
.scan-corner.tl { top:0; left:0; border-width:3px 0 0 3px; border-radius:6px 0 0 0; }
.scan-corner.tr { top:0; right:0; border-width:3px 3px 0 0; border-radius:0 6px 0 0; }
.scan-corner.bl { bottom:0; left:0; border-width:0 0 3px 3px; border-radius:0 0 0 6px; }
.scan-corner.br { bottom:0; right:0; border-width:0 3px 3px 0; border-radius:0 0 6px 0; }
.scan-line { position:absolute; top:0; left:10%; right:10%; height:2px; background:linear-gradient(90deg,transparent,#00e676,transparent); box-shadow:0 0 10px #00e676; }
.scan-line.scanning { animation:scanMove 2s linear infinite; }
@keyframes scanMove { 0%{top:0;} 50%{top:calc(100% - 2px);} 100%{top:0;} }
.scan-tips { margin-top:24px; text-align:center; }
.scan-tips p { color:#ccc; font-size:14px; }
.scan-actions { margin-top:20px; width:100%; max-width:300px; }

/* ===== 管理页 ===== */
.admin-toolbar { display:flex; gap:8px; padding:12px 16px; background:#fff; border-bottom:1px solid #eee; position:sticky; top:50px; z-index:50; }
.search-input { flex:1; height:40px; padding:0 14px; border:1px solid #e0e0e0; border-radius:8px; font-size:14px; outline:none; }
.search-input:focus { border-color:#1e88e5; }
.btn-search { width:44px; height:40px; background:#1e88e5; color:#fff; border:none; border-radius:8px; font-size:16px; cursor:pointer; }
.admin-list { padding:8px 0; }
.admin-item { display:flex; align-items:center; gap:12px; padding:14px 16px; background:#fff; margin-bottom:1px; border-bottom:1px solid #f0f0f0; }
.admin-item-photo { width:52px; height:52px; border-radius:50%; background:#e3f2fd; display:flex; align-items:center; justify-content:center; color:#1e88e5; font-size:20px; font-weight:600; flex-shrink:0; overflow:hidden; }
.admin-item-photo img { width:100%; height:100%; object-fit:cover; }
.admin-item-info { flex:1; min-width:0; }
.admin-item-name { font-size:15px; font-weight:600; color:#333; margin-bottom:4px; }
.admin-item-gender { font-size:12px; color:#999; font-weight:normal; }
.admin-item-idcard { font-size:12px; color:#888; margin-bottom:4px; }
.admin-item-unit { font-size:12px; color:#666; margin-bottom:6px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.admin-item-meta { display:flex; align-items:center; gap:8px; }
.status-tag { display:inline-block; padding:2px 8px; border-radius:10px; font-size:11px; }
.status-tag.valid { background:#e8f5e9; color:#2e7d32; }
.status-tag.expired { background:#ffebee; color:#c62828; }
.status-tag.revoked { background:#f3e5f5; color:#7b1fa2; }
.admin-item-date { font-size:11px; color:#aaa; }
.admin-item-actions { display:flex; gap:4px; flex-shrink:0; }
.action-btn { width:32px; height:32px; border:none; border-radius:6px; cursor:pointer; font-size:14px; display:flex; align-items:center; justify-content:center; transition:all 0.2s; }
.action-btn.view { background:#e3f2fd; color:#1976d2; }
.action-btn.edit { background:#fff3e0; color:#f57c00; }
.action-btn.delete { background:#ffebee; color:#d32f2f; }
.action-btn:active { transform:scale(0.9); }
.empty-state, .loading-state { text-align:center; padding:60px 20px; }
.empty-icon { font-size:48px; margin-bottom:12px; opacity:0.5; }
.empty-state p { color:#999; font-size:14px; }
.admin-pagination { display:flex; align-items:center; justify-content:center; gap:16px; padding:16px; }
.admin-pagination button { padding:8px 16px; border:1px solid #ddd; background:#fff; border-radius:6px; cursor:pointer; font-size:13px; }
.admin-pagination button:disabled { opacity:0.5; cursor:not-allowed; }
.admin-pagination span { font-size:13px; color:#666; }

/* ===== 弹窗 ===== */
.modal-overlay { position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,0.5); z-index:200; display:flex; align-items:flex-end; justify-content:center; }
.modal-content { background:#fff; width:100%; max-width:750px; max-height:90vh; border-radius:16px 16px 0 0; display:flex; flex-direction:column; animation:slideUp 0.3s ease; }
@keyframes slideUp { from{transform:translateY(100%);} to{transform:translateY(0);} }
.modal-header { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:1px solid #eee; }
.modal-header h3 { font-size:17px; font-weight:600; }
.modal-close { font-size:24px; color:#999; cursor:pointer; padding:0 4px; }
.modal-body { flex:1; overflow-y:auto; padding:16px 20px; }
.modal-footer { display:flex; gap:12px; padding:12px 20px; border-top:1px solid #eee; }
.modal-footer .btn-outline, .modal-footer .btn-primary { flex:1; }

/* 头像上传 */
.avatar-upload-group { text-align:center; }
.avatar-upload { display:flex; flex-direction:column; align-items:center; gap:10px; }
.avatar-preview { width:100px; height:120px; background:#f5f5f5; border-radius:8px; display:flex; align-items:center; justify-content:center; color:#bbb; font-size:12px; overflow:hidden; border:2px dashed #ddd; }
.avatar-preview img { width:100%; height:100%; object-fit:cover; }
.uploading-text { font-size:12px; color:#1e88e5; }

/* ===== 底部导航 ===== */
.bottom-nav { position:fixed; bottom:0; left:50%; transform:translateX(-50%); width:100%; max-width:750px; background:#fff; display:flex; border-top:1px solid #eee; z-index:100; padding-bottom:env(safe-area-inset-bottom); }
.nav-item { flex:1; display:flex; flex-direction:column; align-items:center; padding:8px 0; cursor:pointer; color:#999; transition:color 0.2s; }
.nav-item.active { color:#1e88e5; }
.nav-icon { font-size:22px; margin-bottom:2px; }
.nav-item span { font-size:11px; }

/* ===== 加载动画 ===== */
.loading-mask { position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,0.4); display:flex; align-items:center; justify-content:center; z-index:999; }
.loading-box { background:#fff; border-radius:12px; padding:24px 32px; text-align:center; }
.spinner { width:36px; height:36px; border:3px solid #e3f2fd; border-top-color:#1e88e5; border-radius:50%; animation:spin 0.8s linear infinite; margin:0 auto 12px; }
@keyframes spin { to{transform:rotate(360deg);} }
.loading-box p { font-size:14px; color:#666; }

/* ===== Toast ===== */
.toast { position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); background:rgba(0,0,0,0.75); color:#fff; padding:12px 24px; border-radius:8px; font-size:14px; z-index:1000; max-width:80%; text-align:center; animation:fadeIn 0.2s; }
.toast.success { background:rgba(46,125,50,0.9); }
.toast.error { background:rgba(198,40,40,0.9); }
.toast.warning { background:rgba(230,81,0,0.9); }
@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }

/* ===== 管理后台新增样式 ===== */
.status-filter {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: #333;
  outline: none;
  cursor: pointer;
  white-space: nowrap;
}
.status-filter:focus { border-color: #1e88e5; }

.admin-stats {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px;
  font-size: 12px;
  color: #888;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 0 16px 12px;
}

.action-btn.qrcode {
  background: #f3e5f5;
  color: #7b1fa2;
}
.action-btn.qrcode:hover { background: #e1bee7; }

.action-btn.download {
  background: #e3f2fd;
  color: #1565c0;
}
.action-btn.download:hover { background: #bbdefb; }

/* 详情弹窗 */
.detail-modal { max-width: 520px; }
.detail-modal .modal-body { max-height: 70vh; overflow-y: auto; }

/* 二维码弹窗 */
.qrcode-modal { max-width: 320px; }
.qrcode-modal .modal-body { padding: 24px; }

/* 管理列表项操作按钮调整 */
.admin-item-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ===== 登录页样式 ===== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}
.login-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px 32px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.login-header {
  text-align: center;
  margin-bottom: 28px;
}
.login-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.login-header h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #1a1a1a;
}
.login-header p {
  margin: 0;
  font-size: 13px;
  color: #888;
}
.login-form .form-group {
  margin-bottom: 18px;
}
.login-form .form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #555;
  font-weight: 500;
}
.login-form .form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.login-form .form-group input:focus {
  border-color: #667eea;
}
.btn-block {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  margin-top: 8px;
}
.login-tip {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: #aaa;
}

/* 顶部导航右侧 */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-user {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: 12px;
}
.nav-logout {
  font-size: 13px;
  cursor: pointer;
  background: rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: 12px;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-logout:hover { background: rgba(255,255,255,0.25); }

/* ===== 印章设置样式 ===== */
.nav-seal-btn {
  font-size: 13px;
  cursor: pointer;
  background: rgba(255,255,255,0.15);
  padding: 4px 10px;
  border-radius: 12px;
  transition: background 0.2s;
}
.nav-seal-btn:hover { background: rgba(255,255,255,0.25); }

.seal-modal { max-width: 480px; }
.seal-mode-tabs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.seal-mode-tabs span {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}
.seal-mode-tabs span.active {
  background: #1565c0;
  color: #fff;
  border-color: #1565c0;
}

.seal-text-config textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
}

.seal-colors {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.seal-colors span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s;
}
.seal-colors span:hover { transform: scale(1.15); }
.seal-colors span.active { border-color: #333; transform: scale(1.15); }

.seal-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.seal-preview-box {
  width: 80px;
  height: 80px;
  border: 1px dashed #ccc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  overflow: hidden;
}
.seal-preview-box img { width: 100%; height: 100%; object-fit: contain; }
.seal-preview-box span { font-size: 11px; color: #999; }

.seal-preview-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.seal-preview-section > label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  color: #666;
  font-weight: 500;
}
.seal-preview-area {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 16px;
}
.seal-preview-cert {
  position: relative;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  height: 120px;
  padding: 12px;
}
.seal-preview-qr {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 60px;
  height: 60px;
  background: #eee;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #999;
}
.seal-preview-stamp {
  position: absolute;
  right: 20px;
  bottom: 16px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seal-preview-stamp img { width: 100%; height: 100%; object-fit: contain; }
.seal-preview-text {
  width: 100%;
  height: 100%;
  border: 2px solid;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  line-height: 1.3;
  text-align: center;
  font-weight: 600;
}

/* ===== 底部信息 ===== */
.footer { text-align:center; padding:20px 16px; font-size:11px; color:#aaa; line-height:1.8; }

/* ===== 健康证预览按钮 ===== */
.action-btn.preview { background:#e8f5e9; color:#2e7d32; }
.action-btn.preview:hover { background:#c8e6c9; }

/* ===== 印章位置微调 ===== */
.seal-adjust-section { margin-top:14px; padding-top:14px; border-top:1px dashed #e0e0e0; }
.seal-adjust-grid { display:flex; gap:8px; flex-wrap:wrap; margin-top:6px; }
.btn-adjust { width:40px; height:40px; border:1px solid #cfd8dc; background:#fff; border-radius:8px; font-size:16px; line-height:1; cursor:pointer; color:#37474f; transition:all .2s; }
.btn-adjust:hover { background:#e3f2fd; border-color:#1e88e5; }
.btn-adjust:active { transform:scale(.92); }
.seal-adjust-info { margin-top:8px; font-size:12px; color:#888; }

/* ===== 健康证预览弹窗 ===== */
.preview-modal { max-width:520px; }
.preview-body { overflow:auto; text-align:center; padding:16px; }
.cert-preview-img { max-width:100%; max-height:72vh; border:1px solid #eee; border-radius:8px; box-shadow:0 2px 12px rgba(0,0,0,.12); }
.preview-loading { padding:40px; color:#999; font-size:14px; }

/* ===== 访问记录弹窗 ===== */
.access-modal { max-width: 640px; }
.access-list { max-height: 480px; overflow-y: auto; }
.access-item { padding: 10px 14px; border-bottom: 1px solid #f0f0f0; }
.access-item:last-child { border-bottom: none; }
.access-time { font-size: 12px; color: #999; }
.access-info { margin-top: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.access-user { font-weight: 600; color: #333; }
.access-action { font-size: 12px; padding: 1px 8px; border-radius: 10px; }
.access-action.act-in { background: #e8f5e9; color: #2e7d32; }
.access-action.act-out { background: #fff3e0; color: #e65100; }
.access-ip { font-size: 12px; color: #666; background: #f5f5f5; padding: 1px 6px; border-radius: 4px; }
.access-ua { font-size: 11px; color: #bbb; margin-top: 3px; word-break: break-all; }
.access-total { font-size: 12px; color: #999; }
