/* 书香校园 · 智慧借阅系统 - 全局样式 */
:root {
  --primary: #FF9B50;
  --primary-light: #FFE4C4;
  --bg: #FDF6F0;
  --white: #FFFFFF;
  --text: #333333;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border: #EEEEEE;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --header-dark: #2C3E50;
  --blue: #1890FF;
  --green: #52C41A;
  --red: #F5222D;
  --tab-scan-blue: #589ef8;
  --tab-scan-blue-dark: #3b82f6;
  --page-gutter: 28px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tab-bar-h: 56px;
  --tab-bar-fab-size: 46px;
  --tab-bar-fab-overhang: 22px;
  --tab-bar-clearance: calc(var(--tab-bar-h) + var(--tab-bar-fab-overhang) + var(--safe-bottom) + 8px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-tap-highlight-color: transparent; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.5;
  max-width: 500px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}

body.mobile-app-body {
  background: var(--white);
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* 手机端页面容器 */
.mobile-page {
  padding-bottom: var(--tab-bar-clearance);
  min-height: 100vh;
  background: var(--white);
}

.mobile-page.no-tab { padding-bottom: 16px; }

/* 导航栏 */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: calc(44px + var(--safe-top));
  padding: var(--safe-top) 15px 0;
  background: var(--white);
  position: relative;
}

.nav-bar .back {
  position: absolute;
  left: 15px;
  font-size: 18px;
  color: var(--text);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
}

.nav-bar .title {
  font-size: 17px;
  font-weight: 600;
}

.nav-bar .actions {
  position: absolute;
  right: 15px;
  display: flex;
  gap: 12px;
  font-size: 18px;
}

.nav-bar.transparent { background: transparent; }

/* 搜索栏 */
.search-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px 12px;
  background: var(--white);
}

.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: #F5F5F5;
  border-radius: 20px;
  padding: 8px 14px;
  gap: 8px;
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  outline: none;
}

.search-box i { color: var(--text-muted); font-size: 14px; }

.search-cancel { font-size: 14px; color: var(--text); white-space: nowrap; }

/* 首页 */
.home-search-wrap {
  background: var(--white);
  padding: calc(8px + var(--safe-top)) 15px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.home-search {
  flex: 1;
  background: #F5F5F5;
  border-radius: 20px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.home-icons { display: flex; gap: 8px; }

.home-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F5F5F5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.banner-slide {
  margin: 0 15px 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  min-height: 140px;
  background: linear-gradient(135deg, #6A9FD8, #8EC5FC);
  display: none;
  text-decoration: none;
  color: inherit;
}

.banner-slide.active { display: block; }

.banner-carousel { position: relative; margin-bottom: 16px; }

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
}

.banner-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}

.banner-dots .dot.active {
  width: 16px;
  border-radius: 3px;
  background: #fff;
}

.banner-slide .banner-text {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 2;
}

.banner-slide h2 { font-size: 22px; margin-bottom: 6px; }

.banner-slide p { font-size: 13px; opacity: 0.9; }

.banner-slide img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  opacity: 0.3;
}

.quick-nav {
  display: flex;
  justify-content: space-around;
  padding: 0 15px 20px;
  background: var(--white);
  margin-bottom: 12px;
}

.quick-item { text-align: center; }

.quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  margin: 0 auto 8px;
}

.quick-icon.blue { background: #4A90E2; }
.quick-icon.orange { background: var(--primary); }
.quick-icon.yellow { background: #F5B041; }
.quick-icon.pink { background: #EC7063; }

.quick-item span { font-size: 12px; color: var(--text-secondary); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 15px 12px;
}

.section-head h3 { font-size: 16px; font-weight: 600; }

.section-head a { font-size: 13px; color: var(--text-muted); }

.book-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 15px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.book-scroll::-webkit-scrollbar { display: none; }

.book-card-mini {
  flex: 0 0 100px;
  width: 100px;
}

.book-card-mini img {
  width: 100px;
  height: 130px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.book-card-mini .title {
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.book-card-mini .author { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.activity-banner {
  margin: 0 15px 16px;
  background: linear-gradient(135deg, #E8F4FC, #D4E8F7);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
}

.activity-banner .tag {
  display: inline-block;
  background: #4A90E2;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.activity-banner h4 { font-size: 15px; margin-bottom: 4px; }

.activity-banner p { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }

.btn-sm {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
}

/* 底部 Tab：紧凑白底 + 中间圆形悬浮（不裁剪） */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  height: calc(var(--tab-bar-h) + var(--tab-bar-fab-overhang) + var(--safe-bottom));
  z-index: 1000;
  pointer-events: none;
  overflow: visible;
  background: transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.tab-bar-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--tab-bar-h) + var(--safe-bottom));
  background: #ffffff;
  pointer-events: none;
  z-index: 1;
  border-top: 1px solid #eeeeee;
  box-shadow: none;
}

.tab-bar-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: flex-end;
  height: calc(var(--tab-bar-h) + var(--safe-bottom));
  padding: 4px 6px calc(10px + var(--safe-bottom));
  pointer-events: auto;
  background: transparent;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 46px;
  padding: 0 2px;
  color: var(--text-muted);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  background: transparent;
}

.tab-item > i {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.tab-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-muted);
  white-space: nowrap;
  text-align: center;
}

.tab-item.active {
  color: var(--primary);
}

.tab-item.active > i,
.tab-item.active .tab-label {
  color: var(--primary);
}

.tab-item-scan {
  position: relative;
  justify-content: flex-end;
  padding-top: 0;
  overflow: visible;
  background: transparent;
}

.tab-label-scan {
  margin-top: calc(var(--tab-bar-fab-size) - var(--tab-bar-fab-overhang) + 6px);
}

.tab-scan-fab {
  position: absolute;
  left: 50%;
  top: calc(-1 * var(--tab-bar-fab-overhang));
  transform: translateX(-50%);
  width: var(--tab-bar-fab-size);
  height: var(--tab-bar-fab-size);
  border-radius: 50%;
  background: linear-gradient(165deg, #3b82f6 0%, #589ef8 45%, #6ab0f3 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  border: 3px solid #fff;
  box-shadow: none;
  filter: none;
  -webkit-filter: none;
  -webkit-box-shadow: none;
  z-index: 10;
  pointer-events: auto;
}

.tab-scan-fab i {
  text-shadow: none;
  filter: none;
}

.tab-item-scan.active {
  color: var(--tab-scan-blue);
}

.tab-item-scan.active .tab-label-scan {
  color: var(--tab-scan-blue);
  font-weight: 700;
}

/* 分类页 */
.category-layout {
  display: flex;
  height: calc(100vh - var(--tab-bar-clearance));
  background: var(--white);
}

.mobile-page-category {
  padding-bottom: 0;
}

.category-layout-page {
  height: calc(100vh - 44px - var(--safe-top) - var(--tab-bar-clearance));
}

.category-sidebar {
  width: 28%;
  background: #F8F8F8;
  overflow-y: auto;
}

.category-sidebar a {
  display: block;
  padding: 16px 10px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  border-left: 3px solid transparent;
}

.category-sidebar a.active {
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
  border-left-color: var(--primary);
}

.category-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  background: var(--white);
}

.cat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 10px;
  box-shadow: var(--shadow);
}

.cat-card.peach { background: linear-gradient(135deg, #FFF5EE, #FFE8D6); }
.cat-card.blue { background: linear-gradient(135deg, #EEF5FF, #D6E8FF); }
.cat-card.yellow { background: linear-gradient(135deg, #FFFBEE, #FFF3D6); }
.cat-card.green { background: linear-gradient(135deg, #EEFFF5, #D6FFE8); }

.cat-card h4 { font-size: 15px; margin-bottom: 4px; }

.cat-card p { font-size: 12px; color: var(--text-muted); }

.cat-card i { font-size: 36px; opacity: 0.6; color: var(--primary); }

.cat-card-icon-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

/* 搜索页 */
.search-section { padding: 0 15px 20px; background: var(--white); }

.search-section h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}

.history-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.history-tag {
  background: #F5F5F5;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}

.hot-list { list-style: none; }

.hot-list li {
  display: flex;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
}

.hot-list .rank {
  width: 24px;
  font-weight: 600;
  margin-right: 12px;
}

.hot-list .rank.r1 { color: var(--primary); }
.hot-list .rank.r2, .hot-list .rank.r3 { color: var(--gold); }
.hot-list .rank.r4 { color: var(--text-muted); }

/* 详情页 */
.detail-header {
  background: var(--header-dark);
  padding: 0 15px 40px;
  color: #fff;
}

.detail-header .nav-bar { background: transparent; color: #fff; }

.detail-header .back, .detail-header .actions { color: #fff; }

.detail-nav-icon-btn {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 18px;
  padding: 4px 8px;
  margin-right: 12px;
  cursor: pointer;
  line-height: 1;
}

body.detail-share-open {
  overflow: hidden;
}

.detail-book {
  display: flex;
  gap: 16px;
  padding: 10px 0 20px;
}

.detail-book img {
  width: 100px;
  height: 140px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.detail-book .info h1 { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }

.detail-book .info p { font-size: 12px; color: rgba(255,255,255,0.75); margin-bottom: 4px; }

.rating-card {
  background: var(--white);
  margin: -24px 15px 0;
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}

.rating-card .score {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-right: 16px;
}

.rating-card .stars { color: var(--gold); font-size: 12px; }

.rating-card .count { margin-left: auto; font-size: 12px; color: var(--text-muted); }

.detail-tabs {
  display: flex;
  background: var(--white);
  margin-top: 12px;
  border-bottom: 1px solid var(--border);
}

.detail-tabs a {
  flex: 1;
  text-align: center;
  padding: 14px;
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
}

.detail-tabs a.active {
  color: var(--text);
  font-weight: 600;
}

.detail-tabs a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.detail-body {
  background: var(--white);
  padding: 16px 15px 120px;
  min-height: 300px;
}

.detail-body h3 { font-size: 15px; margin-bottom: 10px; }

.detail-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

.author-box {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.author-box img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef1f5;
  color: #b8c0cc;
  font-size: 28px;
}

.detail-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1100;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 -6px 28px rgba(15, 23, 42, 0.08);
  padding: 14px 0 calc(14px + var(--safe-bottom));
}

.detail-footer-inner {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.detail-footer .btn-outline,
.detail-footer .btn-primary,
.detail-footer-shop .btn-buy-outline,
.detail-footer-shop .btn-borrow-solid {
  flex: 1;
  min-height: 50px;
  padding: 14px 16px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.detail-footer .btn-outline:active,
.detail-footer .btn-primary:active,
.detail-footer-shop .btn-buy-outline:active,
.detail-footer-shop .btn-borrow-solid:active {
  transform: scale(0.98);
}

.btn-outline {
  border: 1.5px solid #e8e8e8;
  background: #fafafa;
  color: #333;
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #ff9b50 0%, #ff8a35 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 155, 80, 0.38);
}

.detail-footer-shop {
  /* inherits inner gap from .detail-footer-inner */
}

.detail-footer-shop .btn-buy-outline {
  border: 1.5px solid var(--primary);
  background: #fff;
  color: var(--primary);
  cursor: pointer;
}

.detail-footer-shop .btn-borrow-solid {
  border: none;
  background: linear-gradient(135deg, #ff9b50 0%, #ff8a35 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 155, 80, 0.38);
}

.detail-book-cover {
  width: 100px;
  height: 140px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* 图书详情 · 分享弹窗 */
.detail-share-modal[hidden] {
  display: none !important;
}

.detail-share-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.detail-share-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.detail-share-sheet {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 16px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.12);
  animation: detailShareUp 0.28s ease;
}

@keyframes detailShareUp {
  from { transform: translateY(100%); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}

.detail-share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.detail-share-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.detail-share-close {
  appearance: none;
  -webkit-appearance: none;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  color: #666;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-share-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.detail-share-link-row {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-share-link-row input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  background: #f9fafb;
}

.detail-share-copy-btn {
  flex-shrink: 0;
  padding: 0 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff9b50 0%, #ff8a35 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 155, 80, 0.35);
}

.detail-share-poster-btn {
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--primary);
  border-radius: 14px;
  background: #fff;
  color: var(--primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.detail-share-poster-btn:active {
  background: #fff8f0;
}

.detail-share-poster-wrap {
  margin-top: 18px;
  text-align: center;
}

.detail-share-poster-wrap[hidden] {
  display: none !important;
}

.detail-share-poster-wrap canvas {
  display: block;
  width: min(280px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.14);
}

.detail-share-poster-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.purchase-order-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.purchase-order-card .po-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.purchase-order-card .po-type-tag {
  font-size: 11px;
  color: #666;
  background: #f5f5f5;
  padding: 2px 8px;
  border-radius: 10px;
  margin-right: 6px;
}

.purchase-order-card .po-status {
  color: var(--primary);
  font-weight: 600;
}

.purchase-order-card .po-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.purchase-order-card .po-item img {
  width: 52px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}

.logistics-timeline {
  margin-top: 16px;
  padding-left: 8px;
  border-left: 2px solid #f0f0f0;
}

.logistics-timeline li {
  position: relative;
  padding: 0 0 16px 16px;
  font-size: 13px;
  line-height: 1.5;
  list-style: none;
}

.logistics-timeline li::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.logistics-timeline .lt-time {
  color: #999;
  font-size: 12px;
}

/* 扫码页 */
.scan-page { background: var(--white); text-align: center; padding: 20px 15px; }

.scan-tip { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

#reader {
  width: 280px;
  height: 280px;
  margin: 0 auto 20px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 2px solid var(--primary);
}

.scan-actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 30px; }

.scan-actions button {
  flex: 1;
  max-width: 160px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  background: var(--white);
  font-size: 13px;
  cursor: pointer;
}

.scan-links {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* 书架 */
.stats-row {
  display: flex;
  gap: 10px;
  padding: 15px;
}

.stat-card {
  flex: 1;
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
}

.stat-card.blue { background: #E8F4FF; }
.stat-card.yellow { background: #FFF8E6; }
.stat-card.orange { background: #FFF0E6; }

.stat-card .num { font-size: 24px; font-weight: 700; }
.stat-card.blue .num { color: #1890FF; }
.stat-card.yellow .num { color: var(--primary); }
.stat-card.orange .num { color: #E67E22; }

.stat-card .label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.shelf-tabs {
  display: flex;
  padding: 0 15px;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.shelf-tabs a {
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
}

.shelf-tabs a.active { color: var(--primary); font-weight: 600; }

.shelf-tabs a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.book-list-item {
  display: flex;
  gap: 12px;
  padding: 15px;
  background: var(--white);
  margin-bottom: 1px;
  align-items: center;
}

.book-list-item img {
  width: 56px;
  height: 76px;
  border-radius: 6px;
  object-fit: cover;
}

.book-list-item .meta { flex: 1; min-width: 0; }

.book-list-item .meta h4 {
  font-size: 15px;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.book-list-item .meta p { font-size: 12px; color: var(--text-muted); }

.status-tag { font-size: 12px; }
.status-tag.borrowing { color: var(--primary); }
.status-tag.returned { color: var(--green); }
.status-tag.overdue { color: var(--red); }
.status-tag.reserve { color: var(--primary); }

/* 借阅记录 tabs */
.record-tabs {
  display: flex;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.record-tabs a {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.record-tabs a.active { color: var(--primary); font-weight: 600; border-bottom: 2px solid var(--primary); }

.record-item {
  display: flex;
  gap: 12px;
  padding: 15px;
  align-items: center;
}

.record-item .status { font-size: 13px; margin-left: auto; white-space: nowrap; }
.record-item .status.borrowed { color: var(--blue); }
.record-item .status.returned { color: var(--green); }
.record-item .status.overdue { color: var(--red); }

/* 消息中心 */
.msg-categories {
  display: flex;
  justify-content: space-around;
  padding: 20px 15px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.msg-cat { text-align: center; }

.msg-cat .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  margin: 0 auto 8px;
}

.msg-cat span { font-size: 12px; color: var(--text-secondary); }

.msg-item {
  display: flex;
  gap: 12px;
  padding: 16px 15px;
  background: var(--white);
  border-bottom: 1px solid #f5f5f5;
  align-items: flex-start;
}

.msg-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.msg-item .content { flex: 1; min-width: 0; }

.msg-item .content h4 { font-size: 14px; margin-bottom: 4px; }

.msg-item .content p {
  font-size: 12px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msg-item .time { font-size: 12px; color: var(--text-muted); flex-shrink: 0; }

/* 活动页 */
.activity-hero {
  margin: 15px;
  border-radius: var(--radius);
  padding: 24px 20px;
  background: linear-gradient(135deg, #6A82FB, #9B7EDE);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
}

.activity-hero h2 { font-size: 20px; margin-bottom: 10px; }

.activity-hero .join-btn {
  background: #fff;
  color: #6A82FB;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  display: inline-block;
}

.activity-card {
  display: flex;
  gap: 12px;
  margin: 0 15px 12px;
  padding: 12px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.activity-card img { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; }

.activity-card .info { flex: 1; }

.activity-card h4 { font-size: 14px; margin-bottom: 8px; }

.activity-card .tags { display: flex; gap: 8px; align-items: center; font-size: 12px; }

.tag-progress { background: #E8F4FF; color: #1890FF; padding: 2px 8px; border-radius: 4px; }
.tag-signup { background: #FFF3E0; color: var(--primary); padding: 2px 8px; border-radius: 4px; }

/* 积分 */
.points-card {
  margin: 15px;
  padding: 24px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #FF9B50, #FFB366);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
}

.points-card .value { font-size: 36px; font-weight: 700; margin-top: 8px; }

.points-card .detail-btn {
  background: #fff;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
}

.points-menu {
  display: flex;
  justify-content: space-around;
  padding: 16px;
  background: var(--white);
}

.points-menu-item { text-align: center; }

.points-menu-item .sq {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: 0 auto 6px;
}

.task-list { background: var(--white); margin-top: 12px; padding: 0 15px; }

.task-list h3 { padding: 16px 0 8px; font-size: 16px; }

.task-item {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
}

.task-item .icon { width: 36px; color: var(--text-secondary); }

.task-item .info { flex: 1; font-size: 14px; }

.task-item .pts { color: var(--primary); font-size: 12px; }

.task-item .btn-status {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  border: none;
  cursor: pointer;
}

.btn-status.done { background: #E8F8E8; color: var(--green); }
.btn-status.go { background: #F0E8FF; color: #7B68EE; }

/* 个人中心 */
.user-center-page {
  background: #f3f5f9;
  padding: 0 16px calc(var(--tab-bar-clearance) + 20px);
}

.user-hero {
  position: relative;
  margin: 0 -16px 0;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 20px 52px;
  overflow: hidden;
  color: #fff;
}

.user-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e4fd8 0%, #2563eb 42%, #3b82f6 100%);
  z-index: 0;
}

.user-hero-bg::before,
.user-hero-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.user-hero-bg::before {
  width: 200px;
  height: 200px;
  top: -60px;
  right: -40px;
}

.user-hero-bg::after {
  width: 140px;
  height: 140px;
  bottom: -30px;
  left: -20px;
  background: rgba(255, 255, 255, 0.06);
}

.user-hero-top,
.user-hero-profile {
  position: relative;
  z-index: 1;
}

.user-hero-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 28px;
}

.user-hero-profile-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-hero-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

.user-hero-qr {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.user-hero-qr:active {
  background: rgba(255, 255, 255, 0.28);
}

.user-hero-profile {
  position: relative;
  z-index: 1;
}

.user-hero-personal {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
  color: inherit;
}

.user-hero-personal:active {
  opacity: 0.92;
}

.user-hero-profile .user-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 10px 0 0 calc(72px + 16px);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.user-hero-profile .user-hero-link:active {
  color: rgba(255, 255, 255, 0.95);
}

.user-hero-profile .user-hero-link i {
  font-size: 11px;
  opacity: 0.9;
}

.user-hero-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
}

.user-hero-info {
  flex: 1;
  min-width: 0;
}

.user-hero-name {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.user-hero-cardno {
  margin: 8px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.03em;
}


.user-stats-float {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  margin-bottom: 16px;
}

.user-stats-card {
  display: flex;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.user-stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 8px;
  color: inherit;
  position: relative;
}

.user-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 22%;
  height: 56%;
  width: 1px;
  background: #f1f5f9;
}

.user-stat-item:active {
  background: #f8fafc;
}

.user-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.user-stat-label {
  font-size: 12px;
  color: #94a3b8;
}

.user-menu-card {
  margin: 0 0 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.user-menu-card a {
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #f8fafc;
  font-size: 15px;
  color: #1e293b;
}

.user-menu-card a:last-child {
  border-bottom: none;
}

.user-menu-card a:active {
  background: #f8fafc;
}

.user-menu-card a > i:first-child {
  width: 22px;
  margin-right: 14px;
  font-size: 17px;
  color: #64748b;
  text-align: center;
}

.user-menu-card a > span {
  flex: 1;
}

.user-menu-card a > i:last-child {
  margin-left: auto;
  color: #d1d5db;
  font-size: 12px;
}

.user-menu-badge {
  font-style: normal;
  font-size: 12px;
  color: #16a34a;
  margin-right: 8px;
  font-weight: 600;
}

.user-logout-btn {
  display: block;
  width: 100%;
  margin: 16px 0 0;
  padding: 15px;
  text-align: center;
  background: #fff;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.user-logout-btn:active {
  background: #fef2f2;
}

/* 读者证弹层 */
.user-reader-modal[hidden] {
  display: none !important;
}

.user-reader-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.user-reader-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}

.user-reader-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  text-align: center;
  box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.15);
}

.user-reader-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.user-reader-sheet-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}

.user-reader-close {
  appearance: none;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 18px;
  cursor: pointer;
}

.user-reader-site {
  margin: 0 0 16px;
  font-size: 13px;
  color: #94a3b8;
}

.user-reader-cardno-wrap {
  background: linear-gradient(135deg, #ff9b50 0%, #ffb366 55%, #ffc98a 100%);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 155, 80, 0.3);
}

.user-reader-cardno-label {
  display: block;
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 6px;
}

.user-reader-cardno {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
}

.user-reader-qr-wrap {
  display: inline-block;
  padding: 14px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 12px;
}

.user-reader-qr-wrap canvas {
  display: block;
  width: 200px !important;
  height: 200px !important;
}

.user-reader-qr-fail {
  margin: 0;
  padding: 40px 12px;
  font-size: 13px;
  color: #94a3b8;
}

.user-reader-hint {
  margin: 0 0 18px;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}

.user-reader-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-reader-copy {
  appearance: none;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(145deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.user-reader-full {
  display: block;
  padding: 12px;
  font-size: 14px;
  color: #2563eb;
  font-weight: 600;
}

body.user-reader-open {
  overflow: hidden;
}

/* 旧版个人中心（兼容其他页引用） */
.user-header {
  padding: 20px 15px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.user-header img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.user-header h2 { font-size: 18px; }

.user-header p { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.user-stats {
  display: flex;
  justify-content: space-around;
  padding: 0 15px 20px;
}

.user-stats .item { text-align: center; }

.user-stats .num { font-size: 20px; font-weight: 700; }

.user-stats .label { font-size: 12px; color: var(--text-muted); }

.menu-card {
  margin: 0 15px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.menu-card a {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #f8f8f8;
  font-size: 14px;
}

.menu-card a:last-child { border-bottom: none; }

.menu-card a i:first-child { width: 24px; color: var(--text-secondary); margin-right: 12px; }

.menu-card a i:last-child { margin-left: auto; color: #ccc; font-size: 12px; }

.btn-logout {
  display: block;
  margin: 20px 15px;
  padding: 14px;
  text-align: center;
  background: #FFF1F0;
  color: var(--red);
  border-radius: var(--radius);
  font-size: 15px;
  border: none;
  width: calc(100% - 30px);
  cursor: pointer;
}

/* 设置 */
.settings-list { background: var(--white); }

.settings-list a, .settings-list .row {
  display: flex;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
}

.settings-list a i:first-child { width: 24px; margin-right: 12px; color: var(--text-secondary); }

.settings-list .val { margin-left: auto; color: var(--text-muted); font-size: 13px; margin-right: 8px; }

/* 预约 */
.reserve-tabs {
  display: flex;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.reserve-tabs a {
  flex: 1;
  text-align: center;
  padding: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.reserve-tabs a.active { color: var(--primary); font-weight: 600; border-bottom: 2px solid var(--primary); }

/* ========== PC 后台 ========== */
body.admin-body {
  max-width: none;
  margin: 0;
  display: flex;
  min-height: 100vh;
  background: #f0f2f5;
}

.admin-sidebar {
  width: 240px;
  background: var(--bg);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}

.admin-logo {
  padding: 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
}

.admin-menu { flex: 1; padding: 12px 0; }

.admin-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* 后台侧栏选中态由 assets/css/admin.css 统一控制 */

.admin-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.admin-topbar {
  height: 56px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.admin-content { flex: 1; padding: 24px; overflow: auto; }

.admin-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 20px;
}

.admin-card h2 { font-size: 18px; margin-bottom: 16px; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.stat-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.stat-box .label { font-size: 13px; color: var(--text-muted); }

.stat-box .value { font-size: 28px; font-weight: 700; color: var(--primary); margin-top: 8px; }

table.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }

table.admin-table th, table.admin-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

table.admin-table th { background: #fafafa; font-weight: 600; }

.form-row { margin-bottom: 16px; }

.form-row label { display: block; margin-bottom: 6px; font-size: 14px; color: var(--text-secondary); }

.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  max-width: 400px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.btn-admin {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

.btn-admin.secondary { background: #f0f0f0; color: var(--text); }

.btn-admin.danger { background: var(--red); }

.btn-admin.sm { padding: 4px 10px; font-size: 12px; }

.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #f6ffed; color: var(--green); border: 1px solid #b7eb8f; }
.alert-error { background: #fff2f0; color: var(--red); border: 1px solid #ffccc7; }

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FDF6F0, #FFE4C4);
  max-width: none;
}

.login-box {
  width: 400px;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-box h1 { text-align: center; margin-bottom: 24px; color: var(--primary); }

.pagination { display: flex; gap: 8px; margin-top: 16px; }
.pagination a { padding: 6px 12px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; }
.pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  body.admin-body { flex-direction: column; }
  .admin-sidebar { width: 100%; }
}

/* 手机端认证页 */
body.auth-page {
  background: linear-gradient(160deg, #FDF6F0 0%, #FFE4C4 50%, #FFF8F0 100%);
  min-height: 100vh;
  max-width: 500px;
  padding: 0;
}

.auth-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 40px 24px 24px;
}

.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}

.auth-logo .icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #FF9B50, #FFAA55);
  color: #fff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(255, 155, 80, 0.35);
}

.auth-logo h1 {
  font-size: 22px;
  color: var(--text);
  font-weight: 700;
}

.auth-logo p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

.auth-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.auth-card h2 {
  font-size: 18px;
  margin-bottom: 24px;
  text-align: center;
}

.auth-field {
  margin-bottom: 18px;
}

.auth-field label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.auth-field .input-wrap {
  display: flex;
  align-items: center;
  background: #F8F8F8;
  border-radius: 12px;
  padding: 0 14px;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.auth-field .input-wrap:focus-within {
  border-color: var(--primary);
  background: #fff;
}

.auth-field .input-wrap i {
  color: var(--text-muted);
  width: 20px;
  font-size: 14px;
}

.auth-field input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 10px;
  font-size: 15px;
  outline: none;
}

.auth-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #FF9B50, #FFAA55);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(255, 155, 80, 0.35);
}

.auth-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* 个人信息 */
.profile-page {
  padding: 16px;
  background: #f3f5f9;
  min-height: 100vh;
  box-sizing: border-box;
}

.profile-avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px 28px;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.06);
}

.profile-avatar-stage {
  position: relative;
  width: 108px;
  height: 108px;
  margin: 0 auto 16px;
  flex-shrink: 0;
}

.profile-avatar-ring {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  overflow: hidden;
  background: #e8eef5;
  border: 4px solid #fff;
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.18);
}

.profile-avatar-ring img,
.profile-page .profile-avatar-img {
  display: block;
  width: 108px !important;
  height: 108px !important;
  max-width: 108px !important;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.profile-avatar-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.5);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.profile-upload-btn {
  position: absolute;
  right: -2px;
  bottom: -2px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #3b82f6, #2563eb);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.4);
  -webkit-tap-highlight-color: transparent;
}

.profile-upload-btn span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.profile-upload-btn:active {
  transform: scale(0.95);
}

.profile-upload-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: #334155;
}

.profile-upload-hint {
  margin: 0;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}

.profile-form-card {
  margin: 0;
  padding: 24px 20px 28px;
}

.auth-field input.is-disabled {
  color: #94a3b8;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 13px;
}

.auth-links a { color: var(--primary); }

.auth-footer {
  text-align: center;
  margin-top: auto;
  padding-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-footer a { color: var(--primary); font-weight: 600; }

.auth-error {
  background: #FFF1F0;
  color: #F5222D;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

.auth-guest {
  text-align: center;
  margin-top: 16px;
}

.auth-guest a {
  color: var(--text-muted);
  font-size: 13px;
}

/* ========== 借书卡办理页 ========== */
.lc-page {
  padding: 16px 16px 32px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 280px);
}

.lc-hero {
  text-align: center;
  padding: 28px 16px 24px;
}

.lc-hero-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: linear-gradient(145deg, #2563eb, #589ef8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.lc-hero-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.lc-hero-desc {
  font-size: 15px;
  color: #64748b;
  font-weight: 500;
}

.lc-section-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin: 20px 0 12px;
}

.lc-benefits {
  background: #fff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  border: 1px solid #eef2f6;
}

.lc-benefits-compact {
  margin-top: 0;
}

.lc-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lc-benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  line-height: 1.5;
}

.lc-benefit-list li + li {
  border-top: 1px solid #f1f5f9;
}

.lc-benefit-list li i {
  width: 22px;
  flex-shrink: 0;
  text-align: center;
  color: #2563eb;
  font-size: 16px;
  margin-top: 2px;
}

.lc-plan-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lc-plan-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 20px 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.lc-plan-card.is-featured {
  border-color: #93c5fd;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
}

.lc-plan-tag {
  position: absolute;
  top: 0;
  right: 18px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #2563eb, #589ef8);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.lc-plan-name {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.lc-plan-meta {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

.lc-plan-meta strong {
  color: #2563eb;
  font-weight: 700;
}

.lc-plan-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed #e5e7eb;
}

.lc-plan-price {
  font-size: 28px;
  font-weight: 800;
  color: #ea580c;
  line-height: 1;
}

.lc-plan-price small {
  font-size: 16px;
  font-weight: 700;
  margin-right: 2px;
}

.lc-plan-btn {
  flex-shrink: 0;
  padding: 12px 24px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(135deg, #ff9b50, #ff8c42);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 155, 80, 0.4);
}

.lc-active-card {
  position: relative;
  background: linear-gradient(145deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
  color: #fff;
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 10px 32px rgba(37, 99, 235, 0.35);
}

.lc-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.lc-active-label {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 6px;
}

.lc-active-name {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

.lc-active-expire {
  font-size: 14px;
  opacity: 0.95;
  margin-bottom: 12px;
}

.lc-active-scope {
  font-size: 13px;
  opacity: 0.9;
}

.lc-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.lc-primary-btn,
.lc-secondary-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.lc-primary-btn {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.lc-secondary-btn {
  background: #f1f5f9;
  color: #334155;
}

.lc-deposit-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  text-decoration: none;
}

.lc-empty {
  text-align: center;
  padding: 60px 24px;
  color: #64748b;
}

.lc-empty-icon {
  font-size: 56px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.lc-empty h2 {
  font-size: 18px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.lc-link-btn {
  display: inline-block;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 600;
}

.lc-empty-sm {
  padding: 32px 16px;
}

/* ========== 收银台 / 支付页 ========== */
.pay-page {
  padding: 0 0 calc(92px + var(--safe-bottom));
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 120px, #f8fafc 100%);
  min-height: 100vh;
}

.pay-page-inner {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px var(--page-gutter) 28px;
  box-sizing: border-box;
}

.pay-order-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px 22px 22px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
  border: 1px solid #eef2f6;
}

.pay-order-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}

.pay-order-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.pay-order-head-text {
  flex: 1;
  min-width: 0;
}

.pay-order-type {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 8px;
}

.pay-order-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #ea580c;
  background: #fff7ed;
  padding: 4px 10px;
  border-radius: 6px;
}

.pay-order-badge-card {
  color: #2563eb;
  background: #eff6ff;
}

.pay-amount-block {
  padding: 22px 0 20px;
  text-align: center;
}

.pay-amount-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.pay-amount {
  font-size: 42px;
  font-weight: 800;
  color: #ea580c;
  line-height: 1.1;
}

.pay-amount small {
  font-size: 22px;
  font-weight: 700;
  margin-right: 2px;
}

.pay-order-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  background: #f8fafc;
  border-radius: 12px;
}

.pay-order-meta-label {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}

.pay-order-no {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  word-break: break-all;
  line-height: 1.5;
}

.pay-panel {
  margin-top: 16px;
  background: #fff;
  border-radius: 20px;
  padding: 20px 22px 22px;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.05);
  border: 1px solid #eef2f6;
}

.pay-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 14px;
}

.pay-method-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fafafa;
  border-radius: 14px;
  padding: 16px 18px;
  border: 2px solid #e5e7eb;
}

.pay-method-item.is-selected {
  border-color: #07c160;
  background: #f0fdf4;
}

.pay-method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #07c160;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.pay-method-name {
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.pay-method-check {
  color: #07c160;
  font-size: 20px;
}

.pay-hint {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pay-hint i {
  flex-shrink: 0;
  margin-top: 2px;
}

.pay-hint-dev {
  background: #eff6ff;
  color: #1d4ed8;
}

.pay-hint-warn {
  background: #fffbeb;
  color: #b45309;
}

.pay-footer-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 500px;
  z-index: 1100;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.08);
  box-sizing: border-box;
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
}

.pay-footer-inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 calc(16px + var(--safe-bottom));
  box-sizing: border-box;
}

.pay-footer-left {
  flex: 1;
  min-width: 0;
  padding-right: 8px;
}

.pay-footer-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 2px;
}

.pay-footer-amount {
  font-size: 22px;
  font-weight: 800;
  color: #ea580c;
}

.pay-footer-btn {
  flex-shrink: 0;
  min-width: 120px;
  max-width: 48%;
  padding: 13px 22px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(135deg, #07c160, #06ae56);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(7, 193, 96, 0.35);
  white-space: nowrap;
}

.pay-success-card {
  margin-top: 16px;
  background: #fff;
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  border: 1px solid #eef2f6;
}

.pay-success-card i {
  font-size: 56px;
  color: #52c41a;
  margin-bottom: 16px;
}

.pay-success-card h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pay-success-card p {
  font-size: 14px;
  color: #64748b;
}

.pay-success-btn {
  display: block;
  margin-top: 24px;
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff9b50, #ff8c42);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

/* ========== 借阅确认页 ========== */
.bc-page {
  padding: 16px;
  background: #f5f6f8;
}

.bc-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px 18px 24px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.bc-title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #111827;
}

.bc-book {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f1f5f9;
}

.bc-book-cover {
  width: 88px;
  height: 118px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.bc-book-meta h2 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
}

.bc-book-meta p {
  margin: 0 0 4px;
  font-size: 13px;
  color: #64748b;
}

.bc-muted { color: #94a3b8 !important; }

.bc-section {
  margin-bottom: 18px;
}

.bc-section-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bc-section-title i {
  color: #2563eb;
}

.bc-lc-hint {
  margin: 0 0 12px;
  padding: 10px 12px;
  font-size: 13px;
  border-radius: 10px;
  line-height: 1.5;
}

.bc-lc-hint-ok {
  background: #ecfdf5;
  color: #047857;
}

.bc-lc-hint-ok i { margin-right: 6px; }

.bc-lc-empty {
  text-align: center;
  padding: 20px 12px;
  background: linear-gradient(180deg, #fff7ed 0%, #fff 100%);
  border: 1px dashed #fdba74;
  border-radius: 14px;
}

.bc-lc-empty-icon {
  font-size: 40px;
  color: #fb923c;
  margin-bottom: 10px;
}

.bc-lc-empty-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #9a3412;
}

.bc-lc-empty-desc {
  margin: 0 0 16px;
  font-size: 13px;
  color: #78716c;
  line-height: 1.6;
}

.bc-lc-plan-preview {
  text-align: left;
  margin-bottom: 16px;
}

.bc-lc-plan-preview-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
}

.bc-lc-plan-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 12px;
  color: #64748b;
}

.bc-lc-plan-chip strong {
  font-size: 14px;
  color: #0f172a;
}

.bc-lc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bc-lc-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 14px 44px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  background: #fafbfc;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.bc-lc-item.is-selected {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.bc-lc-item.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.bc-lc-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bc-lc-check {
  position: absolute;
  left: 14px;
  top: 16px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  transition: all 0.15s;
}

.bc-lc-item.is-selected .bc-lc-check {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.bc-lc-item-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.bc-lc-item-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.bc-lc-plan-name {
  font-size: 16px;
  color: #0f172a;
}

.bc-lc-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}

.bc-lc-badge-ok {
  background: #d1fae5;
  color: #047857;
}

.bc-lc-badge-warn {
  background: #fee2e2;
  color: #b91c1c;
}

.bc-lc-item-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.bc-lc-item-row i {
  width: 14px;
  color: #94a3b8;
  text-align: center;
}

.bc-lc-warn {
  margin: 12px 0 0;
  padding: 10px 12px;
  font-size: 13px;
  color: #b45309;
  background: #fffbeb;
  border-radius: 10px;
  line-height: 1.5;
}

.bc-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
}

.bc-section-warn {
  padding: 14px;
  background: #fef2f2;
  border-radius: 12px;
  margin-bottom: 16px;
}

.bc-section-warn p {
  margin: 0 0 12px;
  font-size: 14px;
  color: #b91c1c;
  line-height: 1.5;
}

.bc-rules {
  background: #fdf6f0;
  border-radius: 14px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.bc-rule {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 155, 80, 0.15);
}

.bc-rule:last-child { border-bottom: none; }

.bc-rule span { color: #78716c; }

.bc-rule strong { color: #111827; }

.bc-accent { color: #ff9b50 !important; }

.bc-alert {
  text-align: center;
  color: #dc2626;
  font-size: 14px;
  margin-bottom: 12px;
}

.bc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.bc-btn-block { width: 100%; }

.bc-btn-primary {
  background: linear-gradient(135deg, #ff9b50, #ff8c42);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 155, 80, 0.35);
}

.bc-btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.bc-btn-outline {
  background: #fff;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.bc-cancel {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  color: #94a3b8;
  text-decoration: none;
}

.bc-modal[hidden] { display: none !important; }

.bc-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.bc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}

.bc-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 16px;
  padding: 22px 20px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
}

.bc-modal-panel h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
}

.bc-modal-panel p {
  margin: 0 0 18px;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

.bc-modal-actions {
  display: flex;
  gap: 10px;
}

.bc-modal-actions .bc-btn {
  flex: 1;
  padding: 12px;
  font-size: 15px;
}
