/* admin.css - 清水蟹舫管理后台 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #F4F3F0;
  color: #1A1A1C;
  font-size: 14px;
  display: flex;
  min-height: 100vh;
}

/* ===== 侧边栏 ===== */
.sidebar {
  width: 220px;
  background: linear-gradient(180deg, #141416 0%, #0C0C0E 100%);
  color: #F0EDE6;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
}
.logo {
  display: flex;
  align-items: center;
  padding: 24px 20px;
  border-bottom: 1px solid rgba(201,169,97,0.15);
}
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #E8D5A8, #C9A961, #A8893E);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: #1A1208;
  margin-right: 12px;
}
.logo-name { font-size: 16px; font-weight: 700; letter-spacing: 2px; }
.logo-sub { font-size: 11px; color: rgba(201,169,97,0.6); margin-top: 2px; letter-spacing: 1px; }
.nav { flex: 1; padding: 16px 12px; }
.nav-item {
  display: flex; align-items: center;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  color: rgba(240,237,230,0.6);
  font-size: 14px;
  margin-bottom: 4px;
  transition: all 0.2s;
}
.nav-item:hover { background: rgba(255,255,255,0.05); color: #F0EDE6; }
.nav-item.active {
  background: linear-gradient(135deg, rgba(201,169,97,0.2), rgba(201,169,97,0.05));
  color: #E8D5A8;
  border: 1px solid rgba(201,169,97,0.25);
}
.nav-ico { margin-right: 10px; font-size: 16px; }
/* 新订单数量徽章 */
.nav-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #D4544A;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 2px 6px rgba(212,84,74,0.4);
}
.nav-badge.badge-warn { background: #C9A961; box-shadow: 0 2px 6px rgba(201,169,97,0.4); }
/* 导航分组（一级+二级菜单） */
.nav-group .nav-parent { justify-content: flex-start; }
.nav-group .nav-arrow {
  margin-left: auto;
  font-size: 10px;
  transition: transform 0.2s;
  color: rgba(240,237,230,0.4);
}
.nav-group.open .nav-arrow { transform: rotate(180deg); }
.nav-sub { display: none; padding: 2px 0 6px 0; }
.nav-group.open .nav-sub { display: block; }
.nav-sub-item {
  margin-left: 14px;
  padding: 10px 16px;
  font-size: 13px;
  color: rgba(240,237,230,0.55);
}
.nav-sub-item .nav-ico { font-size: 12px; margin-right: 8px; }
.nav-sub-item:hover { color: #F0EDE6; background: rgba(255,255,255,0.05); }
.nav-sub-item.active {
  background: linear-gradient(135deg, rgba(201,169,97,0.2), rgba(201,169,97,0.05));
  color: #E8D5A8;
  border: 1px solid rgba(201,169,97,0.25);
}
.nav-sub-item .nav-badge { margin-left: 6px; }
.sidebar-footer { padding: 16px 20px; border-top: 1px solid rgba(201,169,97,0.1); }
.api-status { font-size: 12px; color: #6BC99A; }

/* ===== 主内容 ===== */
.main {
  flex: 1;
  margin-left: 220px;
  padding: 0;
}
.topbar {
  background: #fff;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #E8E6E1;
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar h1 { font-size: 20px; font-weight: 700; }
.page { padding: 24px 32px; }
.hidden { display: none !important; }

/* ===== 统计卡片 ===== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #E8E6E1;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.stat-label { font-size: 13px; color: #6B6358; margin-bottom: 12px; }
.stat-value { font-size: 36px; font-weight: 900; color: #1A1A1C; line-height: 1; }
.stat-trend { font-size: 12px; color: #A8A095; margin-top: 10px; }
.stat-green .stat-value { color: #4CAF7D; }
.stat-gray .stat-value { color: #8A857E; }
.stat-gold .stat-value { color: #A8893E; }

/* ===== 面板/表格 ===== */
/* 页面状态 TAB 切换 */
.page-tabs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.ptabs-group { display: flex; gap: 8px; flex-wrap: wrap; }
.search-input {
  width: 260px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A8A095' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
  padding-left: 36px;
}
.page-tab {
  border: 1px solid #E8E6E1;
  background: #fff;
  color: #6B6358;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.page-tab:hover { border-color: #C9A961; color: #A8893E; }
.page-tab.active {
  background: linear-gradient(135deg, #E8D5A8, #C9A961);
  border-color: #C9A961;
  color: #1A1208;
  box-shadow: 0 2px 8px rgba(201,169,97,0.35);
}
.ptab-count {
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: rgba(0,0,0,0.08);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.page-tab.active .ptab-count { background: rgba(26,18,8,0.18); }

.panel {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E8E6E1;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  overflow: hidden;
}
.panel-head {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #F0EEE9;
}
.panel-head h3 { font-size: 16px; font-weight: 700; }
.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: left;
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 600;
  color: #6B6358;
  background: #FAF9F7;
  border-bottom: 1px solid #EDEBE6;
  white-space: nowrap;
}
.table td {
  padding: 14px 20px;
  font-size: 13px;
  border-bottom: 1px solid #F2F0EB;
  color: #1A1A1C;
}
.table tr:hover td { background: #FAF9F7; }
.table .empty { text-align: center; color: #A8A095; padding: 40px; }

/* 状态标签 */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}
.badge-green { background: rgba(76,175,125,0.1); color: #4CAF7D; }
.badge-gold { background: rgba(201,169,97,0.12); color: #A8893E; }
.badge-blue { background: rgba(58,124,184,0.1); color: #3A7CB8; }
.badge-gray { background: #F0EEE9; color: #8A857E; }
.badge-red { background: rgba(212,84,74,0.12); color: #C0392B; }
.badge-orange { background: rgba(230,126,34,0.12); color: #D35400; }
.badge-purple { background: rgba(142,68,173,0.12); color: #7D3C98; }
.badge + .badge { margin-left: 4px; }
.badge-red { background: rgba(212,84,74,0.1); color: #D4544A; }

/* ===== 工具栏 ===== */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}
.toolbar-left, .toolbar-right { display: flex; gap: 10px; align-items: center; }

/* ===== 表单元素 ===== */
.input, .select, .textarea {
  padding: 9px 14px;
  border: 1px solid #D8D4CE;
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
  color: #1A1A1C;
  outline: none;
  transition: border-color 0.2s;
}
.input:focus, .select:focus, .textarea:focus { border-color: #C9A961; }
.input:disabled, .select:disabled, .textarea:disabled {
  background: #F0EDE8;
  color: #999;
  cursor: not-allowed;
  border-color: #E0DDD8;
}
.input { width: 220px; }
.select { min-width: 140px; }
.textarea { width: 100%; font-family: monospace; font-size: 12px; resize: vertical; }

/* 输入框 + 按钮组合 */
.input-group { display: flex; align-items: center; gap: 8px; }
.input-group .input { flex: 1; }
.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 6px; white-space: nowrap; }

/* 批量创建卡号预览 */
.preview-box {
  width: 100%;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px dashed #C9A961;
  border-radius: 8px;
  background: rgba(201,169,97,0.06);
  color: #8A6D3B;
  font-size: 12px;
  word-break: break-all;
  line-height: 1.6;
  box-sizing: border-box;
}

/* 下拉菜单 */
.dropdown { position: relative; display: inline-block; }
.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 140px;
  background: #fff;
  border: 1px solid #E0DDD8;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 100;
  overflow: hidden;
}
.dropdown-item {
  padding: 11px 16px;
  font-size: 13px;
  color: #1A1A1C;
  cursor: pointer;
  transition: background 0.15s;
}
.dropdown-item:hover { background: rgba(201,169,97,0.12); color: #8A6D3B; }
.dropdown-item + .dropdown-item { border-top: 1px solid #F0EDE8; }

/* Excel 导入 */
.import-tips {
  background: rgba(201,169,97,0.08);
  border: 1px solid rgba(201,169,97,0.25);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 14px;
}
.import-tips p { margin: 4px 0; font-size: 12.5px; color: #6B5D3E; line-height: 1.7; }
.import-actions { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.upload-btn { position: relative; cursor: pointer; }
.upload-btn input[type=file] { display: none; }
.import-preview { margin-top: 6px; }
.preview-title { font-size: 13px; font-weight: 600; color: #1A1A1C; margin-bottom: 8px; }
.table-sm th, .table-sm td { padding: 8px 10px; font-size: 12px; }

/* 卡券列表勾选列 + 分页 */
.col-check { width: 34px; text-align: center; }
.col-check input[type=checkbox] { width: 15px; height: 15px; cursor: pointer; vertical-align: middle; }
.muted { color: #8A857E; font-size: 12px; }
.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid #F0EDE8;
}
.page-info { font-size: 12.5px; color: #8A857E; margin-right: 6px; }

/* ===== 按钮 ===== */
.btn {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary {
  background: linear-gradient(135deg, #E8D5A8, #C9A961, #A8893E);
  color: #1A1208;
  box-shadow: 0 2px 8px rgba(201,169,97,0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(201,169,97,0.4); }
.btn-ghost {
  background: #fff;
  color: #A8893E;
  border: 1px solid #C9A961;
}
.btn-ghost:hover { background: rgba(201,169,97,0.05); }
.btn-text {
  background: none;
  color: #A8893E;
  padding: 4px 8px;
  font-size: 13px;
}
.btn-danger {
  background: rgba(212,84,74,0.08);
  color: #D4544A;
  padding: 5px 12px;
  font-size: 12px;
}
.btn-danger:hover { background: rgba(212,84,74,0.15); }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.select-sm { padding: 5px 10px; font-size: 12px; min-width: 90px; }

/* ===== 弹窗 ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.modal-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 460px;
  max-width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.modal-head {
  padding: 20px 24px;
  border-bottom: 1px solid #F0EEE9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-head h3 { font-size: 17px; font-weight: 700; }
.modal-close {
  font-size: 24px;
  color: #A8A095;
  cursor: pointer;
  line-height: 1;
}
.modal-body { padding: 24px; }
.modal-foot {
  padding: 16px 24px;
  border-top: 1px solid #F0EEE9;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.form-row { margin-bottom: 18px; }
.form-row:last-child { margin-bottom: 0; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #6B6358;
  margin-bottom: 6px;
}
.form-row .input, .form-row .select { width: 100%; }
.ship-time-show {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  background: #F7F5F1;
  border: 1px solid #E8E2D8;
  color: #6B6358;
  font-size: 14px;
  box-sizing: border-box;
}
.hint { font-size: 12px; color: #A8A095; margin-bottom: 12px; line-height: 1.6; }

/* ===== Toast ===== */
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #1A1A1C;
  color: #F0EDE6;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  z-index: 999;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-left: 3px solid #4CAF7D; }
.toast.error { border-left: 3px solid #D4544A; }

/* 操作链接 */
.action-link {
  color: #A8893E;
  cursor: pointer;
  font-size: 13px;
  margin-right: 12px;
}
.action-link:hover { text-decoration: underline; }
.action-link.danger { color: #D4544A; }
.action-link.disabled { color: #CCC; cursor: not-allowed; }
.action-link.disabled:hover { text-decoration: none; }

/* 产品标签 */
.tag { display:inline-block; background:rgba(201,169,97,0.12); color:#C9A961; padding:2px 8px; border-radius:4px; font-size:11px; margin-right:4px; margin-bottom:2px; }

/* 两列表单 */
.form-row-2 { display:flex; gap:16px; }
.form-row-2 > div { flex:1; }

/* 提示文字 */
.hint-text { color:#A8A095; font-size:12px; font-weight:normal; }


/* ============ 登录页面 ============ */
.login-mask { position:fixed; top:0; left:0; right:0; bottom:0; background:linear-gradient(135deg, #1a1a1f 0%, #2a2520 100%); display:flex; align-items:center; justify-content:center; z-index:9999; }
.login-mask.hidden { display:none; }
.login-box { width:380px; background:#fff; border-radius:16px; padding:40px 36px; box-shadow:0 20px 60px rgba(0,0,0,0.5); }
.login-logo { text-align:center; margin-bottom:32px; }
.login-icon { width:64px; height:64px; margin:0 auto 16px; background:linear-gradient(135deg, #C9A961, #A8893E); border-radius:16px; display:flex; align-items:center; justify-content:center; font-size:32px; color:#fff; font-weight:bold; }
.login-title { font-size:24px; font-weight:bold; color:#1a1a1f; margin-bottom:4px; }
.login-sub { font-size:14px; color:#A8A095; }
.login-row { margin-bottom:20px; }
.login-row label { display:block; font-size:13px; color:#5a5550; margin-bottom:8px; font-weight:500; }
.login-row .input { width:100%; padding:12px 16px; border:1px solid #E0DCD5; border-radius:8px; font-size:14px; box-sizing:border-box; }
.login-row .input:focus { border-color:#C9A961; outline:none; }
.login-error { color:#D4544A; font-size:13px; min-height:20px; margin-bottom:12px; }
.btn-login { width:100%; padding:14px; font-size:16px; border-radius:8px; }
.btn-logout { width:100%; margin-top:12px; font-size:12px; padding:8px; }


.badge-paid { background: linear-gradient(135deg, #C9A961, #A8893E); color: #fff; padding: 2px 10px; border-radius: 10px; font-size: 12px; }


.badge-refund { background: linear-gradient(135deg, #D4544A, #B83A30); color: #fff; padding: 2px 10px; border-radius: 10px; font-size: 12px; }

/* 登录页面 */
.login-page {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #1A1A1C 0%, #2D2D30 50%, #1A1A1C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.login-page.hidden { display: none; }
.login-box {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
  width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.login-logo { text-align: center; margin-bottom: 32px; }
.login-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #C9A961, #A8893E);
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  margin: 0 auto 16px;
}
.login-logo h2 { font-size: 22px; color: #1A1A1C; margin-bottom: 8px; }
.login-logo p { font-size: 14px; color: #8A857E; }
.login-form .form-row { margin-bottom: 20px; }
.login-form label { display: block; font-size: 14px; color: #333; margin-bottom: 8px; font-weight: 500; }
.login-form .input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E0DDD8;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.login-form .input:focus { border-color: #C9A961; }
.btn-login {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #C9A961, #A8893E);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 500;
  margin-top: 8px;
}
.btn-login:hover { opacity: 0.9; }
.login-hint {
  text-align: center;
  font-size: 12px;
  color: #A8A095;
  margin-top: 16px;
}


/* 可点击行 */
.clickable-row { cursor: pointer; transition: background 0.2s; }
.clickable-row:hover { background: rgba(201,169,97,0.05); }

/* 部分退款标签 */
.badge-partial { background: linear-gradient(135deg, #E8A838, #C88A20); color: #fff; padding: 2px 10px; border-radius: 10px; font-size: 12px; }

/* 宽弹窗 */
.modal-wide { max-width: 800px; width: 90%; }

/* 详情弹窗专属样式 */
.detail-modal .modal-box {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 25px 80px rgba(0,0,0,0.25);
  width: 1040px;
  max-width: 95vw;
  max-height: 92vh;
}
.detail-modal .modal-head {
  background: linear-gradient(90deg, #FAF7F2, #FFFFFF);
  border-bottom: 1px solid #EDE8DF;
  padding: 22px 28px;
}
.detail-modal .modal-head h3 {
  color: #1A1A1C;
  font-size: 18px;
  letter-spacing: 1px;
}
.detail-modal .modal-close { color: #999; }
.detail-modal .modal-close:hover { color: #333; }
.detail-modal .modal-body {
  padding: 28px;
  color: #333;
}
.detail-modal .modal-foot {
  border-top: 1px solid #EDE8DF;
  padding: 18px 28px;
  background: #FAFAFA;
}

/* 详情分组 */
.dm-section {
  margin-bottom: 28px;
}
.dm-section:last-child { margin-bottom: 0; }
.dm-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #A8893E;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F0EBE0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dm-section-title::before {
  content: '';
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, #E8D5A8, #C9A961);
  border-radius: 2px;
}

/* 信息网格 */
.dm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px 28px;
}
.dm-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dm-label {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.5px;
}
.dm-val {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  line-height: 1.5;
}
.dm-val.gold { color: #A8893E; font-weight: 600; }
.dm-val.green { color: #4CAF7D; }
.dm-val.gray { color: #999; }

/* 详情表格 */
.dm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.dm-table th {
  background: #FAF7F2;
  padding: 12px 14px;
  text-align: left;
  color: #A8893E;
  font-weight: 600;
  border-bottom: 1px solid #EDE8DF;
  white-space: nowrap;
}
.dm-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #F5F2EC;
  color: #444;
  white-space: nowrap;
}
.dm-table tr:last-child td { border-bottom: none; }
.dm-table tr:hover td { background: #FAFAFA; }

/* 空状态 */
.dm-empty {
  padding: 24px;
  text-align: center;
  color: #999;
  background: #FAFAFA;
  border-radius: 10px;
  font-size: 13px;
}

/* 详情弹窗内的徽章 */
.detail-modal .badge { border: none; }
.detail-modal .badge-green { background: rgba(76,175,125,0.12); color: #4CAF7D; }
.detail-modal .badge-gold { background: rgba(201,169,97,0.15); color: #A8893E; }
.detail-modal .badge-gray { background: #F0F0F0; color: #999; }
.detail-modal .badge-blue { background: rgba(100,150,255,0.12); color: #5A8AC8; }

/* ===== 小程序设置页 ===== */
.settings-wrap {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.settings-card {
  background: #fff;
  border: 1px solid #EDE8DF;
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.settings-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F0EDE6;
}
.settings-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1C;
  padding-left: 12px;
  border-left: 3px solid #C9A961;
}
.settings-card-desc {
  font-size: 12px;
  color: #A8A095;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
.settings-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #6B6358;
  margin-bottom: 8px;
}
.settings-input {
  width: 100% !important;
  padding: 10px 14px;
  font-size: 14px;
}
.time-slot-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.time-slot-input {
  flex: 1;
  max-width: 320px;
}
.date-range-sep {
  color: #8A857E;
  font-size: 13px;
  white-space: nowrap;
}
.settings-toggle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #E5E0D8;
}
.settings-toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: #6B6358;
}
.settings-toggle-hint {
  font-size: 12px;
  color: #A8A095;
}
.toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #D8D4CE;
  border-radius: 24px;
  transition: 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.toggle input:checked + .toggle-slider {
  background: #A8893E;
}
.toggle input:checked + .toggle-slider::before {
  transform: translateX(20px);
}
.settings-textarea {
  width: 100%;
  min-height: 220px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.8;
  border-radius: 10px;
  border: 1px solid #D8D4CE;
  resize: vertical;
}
.settings-textarea:focus { border-color: #C9A961; }
.settings-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 0;
}
.settings-tip {
  font-size: 12px;
  color: #A8893E;
}

