:root {
  --app-primary: #4d8af0;
  --app-primary-dark: #1a56db;
  --app-sidebar: #1f2d3d;
  --app-sidebar-deep: #172332;
  --app-text: #303133;
  --app-muted: #909399;
  --app-border: #ebeef5;
  --app-bg: #f5f7fa;
  --app-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--app-text);
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
  background: var(--app-bg);
}

button, input, textarea, select { font-family: inherit; }

svg { width: 1em; height: 1em; fill: currentColor; }

/* 登录页：保持原 Vue 登录页的蓝色渐变、左右布局和玻璃卡片风格。 */
.login-body { overflow: hidden; background: #1a56db; }

.login-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, #4d8af0 0%, #1a56db 100%);
}

.login-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/login-background.jpg") center / cover no-repeat;
}

.background-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(77, 138, 240, .88), rgba(26, 86, 219, .94));
  backdrop-filter: blur(3px);
}

.floating-shapes { position: absolute; inset: 0; overflow: hidden; }
.shape { position: absolute; display: block; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); animation: float-shape 12s ease-in-out infinite; }
.shape-1 { width: 180px; height: 180px; left: 7%; top: 14%; border-radius: 50%; }
.shape-2 { width: 120px; height: 120px; right: 10%; top: 18%; border-radius: 30px; transform: rotate(25deg); animation-delay: -2s; }
.shape-3 { width: 90px; height: 90px; left: 20%; bottom: 10%; border-radius: 24px; transform: rotate(45deg); animation-delay: -5s; }
.shape-4 { width: 220px; height: 220px; right: -50px; bottom: -70px; border-radius: 50%; animation-delay: -7s; }

@keyframes float-shape {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -22px; }
}

.login-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  width: min(1180px, calc(100vw - 64px));
  min-height: 620px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 22px;
  background: rgba(255,255,255,.12);
  box-shadow: 0 30px 80px rgba(2, 32, 90, .3);
  backdrop-filter: blur(18px);
}

.login-left, .login-right { display: flex; align-items: center; }
.login-left { padding: 76px 72px; color: #fff; }
.login-right { justify-content: center; padding: 52px; background: rgba(255,255,255,.94); }
.welcome-section { width: 100%; max-width: 520px; }
.logo-container { display: flex; align-items: center; gap: 18px; margin-bottom: 68px; }
.logo-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; color: #fff; background: rgba(255,255,255,.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.logo-icon svg { width: 34px; height: 34px; }
.logo-text { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: 1px; }
.welcome-title { margin: 0 0 14px; font-size: 38px; font-weight: 600; }
.welcome-subtitle { margin: 0 0 44px; font-size: 17px; color: rgba(255,255,255,.82); }
.feature-list { display: grid; gap: 20px; }
.feature-item { display: flex; align-items: center; gap: 14px; font-size: 16px; color: rgba(255,255,255,.95); }
.feature-check { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.2); font-weight: 700; }

.login-card { width: 100%; max-width: 420px; padding: 38px 36px; border: 1px solid #edf0f7; border-radius: 16px; background: #fff; box-shadow: 0 16px 50px rgba(30, 64, 175, .12); }
.login-card-header { margin-bottom: 30px; text-align: center; }
.login-title { margin: 0 0 9px; font-size: 25px; font-weight: 600; color: #303133; }
.login-subtitle { margin: 0; color: #909399; }
.login-alert { margin-bottom: 22px; padding: 11px 14px; font-size: 13px; }
.login-form { display: grid; gap: 22px; }
.form-item { margin: 0; }
.input-wrapper { position: relative; }
.input-icon { position: absolute; z-index: 2; left: 16px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 20px; color: #8b95a5; }
.input-icon svg { width: 19px; height: 19px; }
.custom-input { height: 50px; padding-left: 48px; padding-right: 48px; border: 1px solid #dcdfe6; border-radius: 8px; background: #fbfcfe; font-size: 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.custom-input:focus { border-color: var(--app-primary); background: #fff; box-shadow: 0 0 0 3px rgba(77,138,240,.14); }
.password-toggle { position: absolute; z-index: 2; right: 14px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 30px; height: 30px; border: 0; color: #8b95a5; background: transparent; }
.password-toggle svg { width: 20px; height: 20px; }
.remember-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: -6px; font-size: 13px; }
.remember-option { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #606266; cursor: pointer; user-select: none; }
.remember-option .form-check-input { width: 16px; height: 16px; margin: 0; border-color: #c7cfdb; cursor: pointer; }
.remember-option .form-check-input:checked { border-color: var(--app-primary); background-color: var(--app-primary); }
.remember-option .form-check-input:focus { box-shadow: 0 0 0 3px rgba(77,138,240,.14); }
.remember-hint { color: #909399; font-size: 12px; white-space: nowrap; }
.login-btn { width: 100%; height: 50px; margin-top: 6px; border: 0; border-radius: 8px; color: #fff; background: linear-gradient(135deg, #4d8af0, #1a56db); box-shadow: 0 8px 22px rgba(26,86,219,.25); font-size: 16px; }
.login-btn:hover, .login-btn:focus { color: #fff; background: linear-gradient(135deg, #5b96f4, #174ec8); }

/* 后台框架 */
.admin-body { overflow-x: hidden; }
.admin-shell { min-height: 100vh; }
.admin-sidebar { position: fixed; z-index: 1035; inset: 0 auto 0 0; width: 240px; overflow: hidden auto; color: #d7deea; background: linear-gradient(180deg, var(--app-sidebar), var(--app-sidebar-deep)); box-shadow: 2px 0 8px rgba(0,0,0,.08); transition: width .22s ease, transform .22s ease; }
.brand { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 20px; color: #fff; text-decoration: none; background: rgba(0,0,0,.1); white-space: nowrap; }
.brand:hover { color: #fff; }
.brand-icon { display: grid; flex: 0 0 32px; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #fff; background: var(--app-primary); }
.brand-icon svg { width: 21px; height: 21px; }
.brand-text { overflow: hidden; font-size: 16px; font-weight: 600; letter-spacing: .3px; text-overflow: ellipsis; }
.sidebar-nav { padding: 18px 12px; }
.nav-section-title { padding: 9px 12px; color: #8190a5; font-size: 12px; letter-spacing: .8px; white-space: nowrap; }
.sidebar-link { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px; border-radius: 6px; color: #cad4e2; text-decoration: none; white-space: nowrap; transition: color .18s, background .18s; }
.sidebar-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.sidebar-link.active { color: #fff; background: var(--app-primary); box-shadow: 0 5px 14px rgba(77,138,240,.24); }
.sidebar-link-icon { display: grid; flex: 0 0 20px; place-items: center; }
.sidebar-link-icon svg { width: 18px; height: 18px; }
.admin-main { min-height: 100vh; margin-left: 240px; transition: margin-left .22s ease; }
.admin-header { position: sticky; z-index: 1025; top: 0; display: flex; align-items: center; justify-content: space-between; height: 64px; padding: 0 22px; border-bottom: 1px solid #ebeef5; background: rgba(255,255,255,.97); box-shadow: 0 1px 4px rgba(0,21,41,.08); backdrop-filter: blur(8px); }
.header-left { display: flex; align-items: center; gap: 20px; min-width: 0; }
.sidebar-toggle { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 6px; color: #606266; background: transparent; }
.sidebar-toggle:hover { color: var(--app-primary); background: #f2f6fc; }
.sidebar-toggle svg { width: 21px; height: 21px; }
.breadcrumb-wrap { display: flex; align-items: center; gap: 10px; color: #909399; white-space: nowrap; }
.breadcrumb-wrap strong { color: #303133; font-weight: 500; }
.breadcrumb-separator { color: #c0c4cc; }
.admin-profile { display: flex; align-items: center; gap: 10px; padding: 5px 9px; border: 0; border-radius: 8px; background: transparent; }
.admin-profile:hover { background: #f5f7fa; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #4d8af0, #1a56db); font-size: 14px; font-weight: 600; }
.profile-name { max-width: 150px; overflow: hidden; color: #303133; text-overflow: ellipsis; white-space: nowrap; }
.profile-caret { color: #909399; }
.tabs-bar { display: flex; align-items: end; height: 42px; padding: 7px 18px 0; border-bottom: 1px solid #e4e7ed; background: #fff; }
.tab-item { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 15px; border: 1px solid #e4e7ed; border-bottom-color: #fff; border-radius: 5px 5px 0 0; color: #606266; background: #fff; }
.tab-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--app-primary); }
.admin-content { padding: 20px; }

.admin-shell.sidebar-collapsed .admin-sidebar { width: 72px; }
.admin-shell.sidebar-collapsed .admin-main { margin-left: 72px; }
.admin-shell.sidebar-collapsed .brand { padding: 0 20px; }
.admin-shell.sidebar-collapsed .brand-text,
.admin-shell.sidebar-collapsed .nav-section-title,
.admin-shell.sidebar-collapsed .sidebar-link span:last-child { display: none; }
.admin-shell.sidebar-collapsed .sidebar-link { justify-content: center; padding-inline: 0; }

/* 用户管理页 */
.page-card { overflow: hidden; border: 1px solid #ebeef5; border-radius: 5px; background: #fff; box-shadow: var(--app-shadow); }
.page-card-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; padding: 18px 20px; border-bottom: 1px solid #ebeef5; }
.page-card-title { margin: 0; font-size: 16px; font-weight: 600; }
.page-card-subtitle { margin: 6px 0 0; color: #909399; font-size: 13px; }
.action-primary { min-width: 94px; background: var(--app-primary); border-color: var(--app-primary); }
.page-card-header-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 9px; }
.page-card-header-actions .btn { white-space: nowrap; }
.import-feedback { margin: 14px 18px 0; padding: 11px 14px; border: 1px solid; border-radius: 9px; font-size: 13px; line-height: 1.6; }
.import-feedback-success { border-color: #b7ebc6; color: #237b42; background: #f0fbf3; }
.import-feedback-danger { border-color: #f3c2c2; color: #b42318; background: #fff5f5; }
.users-table-wrap { min-height: 420px; }
.users-table { min-width: 1380px; font-size: 13px; }
.users-table th { height: 48px; padding: 10px 12px; color: #606266; background: #fafafa; font-weight: 600; white-space: nowrap; }
.users-table td { height: 52px; padding: 9px 12px; color: #606266; white-space: nowrap; }
.users-table > tbody > tr:nth-of-type(odd) > * { --bs-table-accent-bg: #fafafa; }
.operation-column { min-width: 330px; }
.operation-buttons { display: flex; align-items: center; gap: 7px; }
.operation-buttons .btn { white-space: nowrap; }
.status-tag { display: inline-block; min-width: 50px; padding: 4px 9px; border: 1px solid; border-radius: 4px; font-size: 12px; line-height: 1.2; }
.status-success { color: #67c23a; border-color: #c2e7b0; background: #f0f9eb; }
.status-danger { color: #f56c6c; border-color: #fbc4c4; background: #fef0f0; }
.empty-state { height: 180px !important; color: #909399 !important; text-align: center; }
.app-modal { border: 0; border-radius: 8px; box-shadow: 0 18px 55px rgba(0,0,0,.18); }
.app-modal .modal-header { padding: 18px 20px; border-color: #ebeef5; }
.app-modal .modal-body { padding: 24px 28px; }
.app-modal .modal-footer { padding: 14px 20px; border-color: #ebeef5; }
.required-label::before { margin-right: 4px; color: #f56c6c; content: "*"; }
.permission-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; padding: 14px; border: 1px solid #dcdfe6; border-radius: 6px; }
.permission-item { display: flex; align-items: center; gap: 8px; min-height: 30px; cursor: pointer; }
.permission-item .form-check-input { margin: 0; }
.account-switch { min-height: 38px; padding-top: 7px; }
.credential-box { margin-top: 4px; color: #303133; background: #f8fafc; resize: none; }
.toast-container { z-index: 2000; }
.toast.toast-success { color: #22543d; background: #f0f9eb; }
.toast.toast-danger { color: #842029; background: #f8d7da; }

@media (max-width: 992px) {
  .login-content { grid-template-columns: 1fr; width: min(500px, calc(100vw - 32px)); min-height: auto; }
  .login-left { display: none; }
  .login-right { padding: 34px 28px; }
  .admin-sidebar { transform: translateX(-100%); width: 240px; }
  .admin-main, .admin-shell.sidebar-collapsed .admin-main { margin-left: 0; }
  .admin-shell.mobile-sidebar-open .admin-sidebar { transform: translateX(0); }
  .admin-shell.sidebar-collapsed .admin-sidebar { width: 240px; }
  .admin-shell.sidebar-collapsed .brand-text,
  .admin-shell.sidebar-collapsed .nav-section-title,
  .admin-shell.sidebar-collapsed .sidebar-link span:last-child { display: initial; }
  .admin-shell.sidebar-collapsed .sidebar-link { justify-content: flex-start; padding-inline: 14px; }
}

@media (max-width: 576px) {
  .login-right { padding: 20px 14px; }
  .login-card { padding: 30px 22px; }
  .admin-header { padding: 0 12px; }
  .breadcrumb-wrap, .profile-name { display: none; }
  .admin-content { padding: 12px; }
  .page-card-header { align-items: flex-start; flex-direction: column; }
  .action-primary { width: 100%; }
  .page-card-header-actions { width: 100%; justify-content: stretch; }
  .page-card-header-actions .btn { flex: 1 1 145px; }
  .permission-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 品牌与店铺后台扩展 */
.eyebrow { margin: 0 0 8px; color: var(--app-primary); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.dashboard-welcome { min-height: 150px; display: flex; align-items: center; background: linear-gradient(135deg, #fff 0%, #f3f7ff 100%); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.stat-card { display: flex; flex-direction: column; min-height: 150px; padding: 24px; border: 1px solid var(--app-border); border-radius: 10px; background: #fff; box-shadow: var(--app-shadow); }
.stat-card.compact { min-height: 112px; padding: 18px 20px; }
.stat-label { color: var(--app-muted); }
.stat-value { margin: 12px 0; color: #1f2d3d; font-size: 30px; line-height: 1; }
.stat-value-text { font-size: 22px; }
.stat-card a { margin-top: auto; color: var(--app-primary); text-decoration: none; }
.filter-bar { display: grid; grid-template-columns: minmax(180px, 1fr) 150px auto auto; gap: 10px; margin-bottom: 18px; padding: 14px; border: 1px solid var(--app-border); border-radius: 8px; background: #f8fafc; }
.filter-bar-wide { grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); }
.data-table { min-width: 980px; table-layout: auto; }
.shops-table { min-width: 1320px; }
.data-table td { max-width: 280px; overflow-wrap: anywhere; }
.operation-column { min-width: 150px; }
.operation-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; color: var(--app-muted); }
.page-size { width: 76px; }
.status-primary { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }
.status-secondary { color: #606266; background: #f4f4f5; border-color: #e9e9eb; }
.permission-table th, .permission-table td { text-align: center; vertical-align: middle; }
.permission-table th:first-child, .permission-table td:first-child { text-align: left; }
.profile-card { max-width: 720px; }
.profile-form { max-width: 520px; }
.login-form .password-toggle { min-width: 56px; color: #606266; font-size: 13px; }

@media (max-width: 768px) {
  .filter-bar, .filter-bar-wide { grid-template-columns: 1fr; }
  .pagination-bar { align-items: flex-start; flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* 后台视觉优化：保留原侧边栏、顶部栏、页签和内容区布局，仅参考附图调整视觉样式。 */
.admin-body {
  color: #101d37;
  background:
    radial-gradient(circle at 58% -180px, rgba(65, 126, 240, .07), transparent 440px),
    #f4f7fb;
}

.admin-body .admin-sidebar {
  color: #dce5f2;
  background: linear-gradient(180deg, #1b2a3d 0%, #172538 100%);
  box-shadow: 6px 0 24px rgba(12, 28, 49, .08);
}

.admin-body .brand { background: rgba(5, 15, 28, .13); }

.admin-body .brand-icon {
  border-radius: 9px;
  background: linear-gradient(135deg, #5da0ff, #2467e8);
  box-shadow: 0 7px 18px rgba(36, 103, 232, .25);
}

.admin-body .sidebar-link { border-radius: 9px; }

.admin-body .sidebar-link.active {
  background: linear-gradient(135deg, #4f8ff1, #3478e8);
  box-shadow: 0 8px 20px rgba(41, 111, 224, .27);
}

.admin-body .admin-header {
  border-bottom-color: #e2e8f1;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 18px rgba(25, 53, 93, .05);
}

.admin-body .sidebar-toggle,
.admin-body .admin-profile { border-radius: 9px; }

.admin-body .avatar {
  background: linear-gradient(135deg, #5da0ff, #2467e8);
  box-shadow: 0 6px 14px rgba(36, 103, 232, .18);
}

.admin-body .tabs-bar {
  border-bottom-color: #e2e8f1;
  background: rgba(255, 255, 255, .92);
}

.admin-body .tab-item {
  border-color: #dce5f1;
  border-bottom-color: #fff;
  border-radius: 8px 8px 0 0;
  color: #34445c;
  font-weight: 650;
}

.admin-body .tab-dot { background: #2467e8; }
.admin-body .admin-content { padding: 20px; }

.admin-body .page-card {
  border-color: #dfe7f2;
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(25, 53, 93, .07);
}

.admin-body .page-card-header {
  min-height: 88px;
  padding: 22px 24px;
  border-bottom-color: #e4eaf3;
}

.admin-body .page-card-title {
  color: #101d37;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.01em;
}

.admin-body .page-card-subtitle {
  margin-top: 7px;
  color: #77869e;
  line-height: 1.6;
}

.admin-body .btn,
.admin-body .form-control,
.admin-body .form-select { border-radius: 9px; }

.admin-body .action-primary,
.admin-body .btn-primary {
  border-color: #2467e8;
  color: #fff;
  background: #2467e8;
  box-shadow: 0 7px 16px rgba(36, 103, 232, .14);
  font-weight: 700;
}

.admin-body .action-primary:hover,
.admin-body .btn-primary:hover,
.admin-body .btn-primary:focus {
  border-color: #1857cb;
  background: #1857cb;
}

.admin-body .btn-light {
  border-color: #d9e1ec;
  color: #26364e;
  background: #fff;
}

.admin-body .btn-light:hover { background: #f5f8fc; }

.admin-body .form-control,
.admin-body .form-select {
  min-height: 42px;
  border-color: #d9e2ef;
  color: #1d2a40;
  background-color: #fff;
  box-shadow: none;
}

.admin-body .form-control::placeholder { color: #9aa8bd; }

.admin-body .form-control:focus,
.admin-body .form-select:focus {
  border-color: #70a2ff;
  box-shadow: 0 0 0 3px rgba(36, 103, 232, .11);
}

.admin-body .filter-bar {
  gap: 10px;
  margin: 0;
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid #e4eaf3;
  border-radius: 0;
  background: #f8fafd;
}

.admin-body .table-responsive { margin: 0; }

.admin-body .data-table {
  margin: 0;
  border-color: #e3e9f2;
  color: #28384f;
  font-size: 13px;
}

.admin-body .data-table > thead > tr > th {
  height: 48px;
  padding: 12px 14px;
  border-color: #e3e9f2;
  color: #101d37;
  background: #fbfcfe;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.admin-body .data-table > tbody > tr > td {
  min-height: 52px;
  padding: 12px 14px;
  border-color: #e7ecf3;
  vertical-align: middle;
}

.admin-body .data-table > tbody > tr { transition: background .16s ease; }
.admin-body .data-table > tbody > tr:hover > * { --bs-table-accent-bg: #f5f8fd; }

.admin-body .operation-buttons .btn {
  min-height: 31px;
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 12px;
}

.admin-body .status-tag {
  min-width: 58px;
  padding: 5px 10px;
  border-radius: 999px;
  text-align: center;
  font-weight: 650;
}

.admin-body .pagination-bar {
  min-height: 66px;
  margin: 0;
  padding: 14px 18px;
  border-top: 1px solid #e4eaf3;
  color: #77869e;
  background: #fff;
}

.admin-body .pagination-bar .btn,
.admin-body .pagination-bar .form-select { min-height: 34px; }

.admin-body .stats-grid { gap: 14px; }

.admin-body .stat-card {
  position: relative;
  min-height: 156px;
  padding: 22px;
  overflow: hidden;
  border-color: #dfe7f2;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(25, 53, 93, .06);
}

.admin-body .stat-card::after {
  position: absolute;
  right: -22px;
  bottom: -32px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(36, 103, 232, .045);
  content: "";
}

.admin-body .stat-card.compact {
  min-height: 132px;
  padding: 20px;
}

.admin-body .stat-label {
  position: relative;
  z-index: 1;
  color: #7e8da5;
}

.admin-body .stat-value {
  position: relative;
  z-index: 1;
  margin: 15px 0 10px;
  color: #071630;
  font-size: 31px;
  font-weight: 780;
  letter-spacing: -.03em;
}

.admin-body .dashboard-welcome {
  min-height: 190px;
  padding: 34px;
  border-color: #d9e5f7;
  background: linear-gradient(120deg, rgba(255,255,255,.98), rgba(240,246,255,.96));
}

.admin-body .eyebrow { color: #2467e8; }

.admin-body .app-modal {
  overflow: hidden;
  border: 1px solid #e0e7f1;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 35, 68, .2);
}

.admin-body .app-modal .modal-header { padding: 20px 24px; }
.admin-body .app-modal .modal-body { padding: 24px; }
.admin-body .app-modal .modal-footer { padding: 16px 24px; background: #fbfcfe; }
.admin-body .permission-table { overflow: hidden; border: 1px solid #dfe6f0; border-radius: 10px; }
.admin-body .permission-table table { margin: 0; }
.admin-body .profile-card { border-radius: 16px; }
.admin-body .profile-form { padding: 28px; }

.admin-body .shop-license-thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border: 1px solid #dfe6f0;
  border-radius: 6px;
}

.admin-body .license-preview-button {
  display: inline-flex;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.admin-body .license-preview-button:focus-visible {
  outline: 3px solid rgba(36, 103, 232, .22);
  outline-offset: 3px;
}

.admin-body .shop-license-preview {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  border: 1px solid #dfe6f0;
  border-radius: 10px;
}

.admin-body .license-image-modal-body {
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: center;
  background: #f6f8fb;
}

.admin-body .license-image-large {
  display: block;
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

@media (max-width: 576px) {
  .admin-body .admin-content { padding: 12px; }
  .admin-body .page-card-header { padding: 19px; }
  .admin-body .filter-bar { padding: 14px; }
  .admin-body .pagination-bar { padding: 13px 14px; }
  .admin-body .dashboard-welcome { padding: 24px; }
  .admin-body .profile-form { padding: 20px; }
}
.collection-log-view {
  min-height: 280px;
  max-height: 60vh;
  margin: 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--border-color, #e3e8f0);
  border-radius: 10px;
  background: #101827;
  color: #d9e2f2;
  font: 13px/1.65 Consolas, "Microsoft YaHei", monospace;
  white-space: pre-wrap;
  word-break: break-word;
}
