/* ============================================
   汽运预约接站小程序 - 微信原生浅色卡片风格
   WeChat Mini Program Light Card Theme
   ============================================ */

:root {
  --bg-page: #f5f6fa;
  --bg-header: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  --bg-card: #ffffff;
  --bg-input: #ffffff;
  --bg-hover: #f8fafc;
  
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --text-placeholder: #bfbfbf;
  
  --accent-blue: #3b82f6;
  --accent-blue-light: #eff6ff;
  --accent-green: #10b981;
  --accent-green-light: #ecfdf5;
  --accent-orange: #f59e0b;
  --accent-orange-light: #fffbeb;
  --accent-red: #ef4444;
  --accent-red-light: #fef2f2;
  --accent-purple: #8b5cf6;
  
  --border-color: #f0f0f0;
  --border-light: #e5e7eb;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-button: 0 4px 14px rgba(59, 130, 246, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.5;
    min-height: 100vh;
}

/* 页面容器 */
.page-container {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg-page);
    padding: 0 16px 100px;
}

/* 简洁公共头部 */
.app-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    margin: 0 -16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
}

.app-header-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

.app-header-back {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50%;
}

.app-header-back:active {
    background: var(--bg-page);
}

/* 卡片 */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin: 12px;
    padding: 4px 16px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    padding: 16px 0 12px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.card-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--accent-blue);
    border-radius: 2px;
}

/* 表单项 - 左右布局 */
.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    min-height: 56px;
}

.form-row:last-child {
    border-bottom: none;
}

.form-label {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 400;
    flex-shrink: 0;
    margin-right: 16px;
}

.form-label .required {
    color: var(--accent-red);
    margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--text-primary);
    text-align: right;
    outline: none;
    font-family: inherit;
}

.form-input::placeholder,
.form-textarea::placeholder,
.form-select::placeholder {
    color: var(--text-placeholder);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    color: var(--text-primary);
}

.form-textarea {
    min-height: 60px;
    padding: 8px 0;
    resize: none;
    text-align: left;
}

.form-select-arrow {
    color: var(--text-muted);
    margin-left: 4px;
    font-size: 14px;
}

/* 旧版 form-group 兼容 */
.form-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    min-height: 56px;
    margin-bottom: 0;
}

.form-group:last-child {
    border-bottom: none;
}

/* 人数选择器 */
.counter {
    display: flex;
    align-items: center;
    gap: 16px;
}

.counter-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    background: var(--bg-card);
    font-size: 18px;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}

.counter-btn:active {
    background: var(--accent-blue-light);
    transform: scale(0.95);
}

.counter-btn.disabled {
    color: var(--text-muted);
    border-color: var(--border-color);
    background: var(--bg-page);
}

.counter-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 32px;
    text-align: center;
}

/* 单选按钮组 */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 0;
}

.radio-item {
    flex: 1;
    min-width: calc(50% - 5px);
    position: relative;
}

.radio-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-item label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.radio-item input[type="radio"]:checked + label {
    border-color: var(--accent-blue);
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    font-weight: 600;
}

.radio-item label .price {
    font-size: 13px;
    color: var(--accent-red);
    margin-top: 4px;
    font-weight: 500;
}

.radio-item input[type="radio"]:checked + label .price {
    color: var(--accent-blue);
}

/* 下拉选择 */
.select-row .form-label {
    flex-shrink: 0;
    margin-right: 16px;
}

.select-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
}

.form-select {
    width: 100%;
    height: 44px;
    padding: 0 28px 0 0;
    border: none;
    background: transparent;
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    text-align: right;
    direction: rtl;
    cursor: pointer;
}

.form-select option {
    direction: ltr;
    text-align: left;
}

.form-select:invalid,
.form-select option[value=""] {
    color: var(--text-muted);
}

.select-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 16px;
    color: var(--text-muted);
    pointer-events: none;
}

/* 按钮 */
.btn {
    display: block;
    width: 100%;
    height: 48px;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    line-height: 48px;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-blue);
    color: #fff;
    box-shadow: var(--shadow-button);
}

.btn-primary:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-primary:disabled {
    background: #bfdbfe;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-outline {
    background: #fff;
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
}

.btn-outline:active {
    background: var(--accent-blue-light);
}

.btn-danger {
    background: #fff;
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
}

.btn-danger:active {
    background: var(--accent-red-light);
}

.btn-success {
    background: #fff;
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.btn-success:active {
    background: var(--accent-green-light);
}

.btn-sm {
    height: 36px;
    line-height: 36px;
    font-size: 13px;
    border-radius: 18px;
    width: auto;
    padding: 0 16px;
    display: inline-block;
}

/* 管理后台入口 */
.page-footer {
    text-align: center;
    padding: 8px 0 86px;
}

.admin-link {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
}

.admin-link:active {
    color: var(--accent-blue);
}

/* 底部导航 - 蓝底悬浮 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 480px;
    height: 56px;
    background: var(--bg-header);
    display: flex;
    box-shadow: 0 -4px 16px rgba(59, 130, 246, 0.25);
    z-index: 999;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
    gap: 3px;
}

.nav-item:active {
    background: rgba(255, 255, 255, 0.12);
}

.nav-item.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.nav-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    transition: stroke 0.2s ease;
}

.nav-text {
    line-height: 1;
}

/* 提交按钮区 */
.submit-section {
    padding: 24px 16px;
}

/* 顶部信息区 */
.info-header {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin: 12px;
    padding: 16px;
    box-shadow: var(--shadow-card);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-header .title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.info-header .subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.info-header .action {
    color: var(--accent-blue);
    font-size: 14px;
    text-decoration: none;
}

/* 订单卡片 */
.order-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    margin: 12px;
    padding: 16px;
    box-shadow: var(--shadow-card);
    position: relative;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.order-no {
    font-size: 13px;
    color: var(--text-muted);
    font-family: "SF Mono", "Monaco", "Consolas", monospace;
}

.order-status {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid transparent;
}

.status-pending {
    background: var(--accent-orange-light);
    color: var(--accent-orange);
    border-color: rgba(245, 158, 11, 0.2);
}

.status-confirmed {
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    border-color: rgba(59, 130, 246, 0.2);
}

.status-completed {
    background: var(--accent-green-light);
    color: var(--accent-green);
    border-color: rgba(16, 185, 129, 0.2);
}

.status-cancelled {
    background: #f3f4f6;
    color: var(--text-secondary);
    border-color: var(--border-light);
}

.order-body {
    margin-bottom: 12px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}

.order-row .label {
    color: var(--text-secondary);
}

.order-row .value {
    color: var(--text-primary);
    font-weight: 500;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.order-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-red);
}

.order-amount .unit {
    font-size: 13px;
    font-weight: 400;
    margin-right: 2px;
}

.order-actions {
    display: flex;
    gap: 8px;
}

.tel-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    margin-left: 4px;
}

.tel-link:active {
    opacity: 0.7;
}

/* 信息提示 */
.notice-box {
    background: var(--accent-orange-light);
    border-left: 3px solid var(--accent-orange);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 14px;
    margin: 12px;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.7;
    box-shadow: var(--shadow-card);
}

.notice-box .notice-title {
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.refund-box {
    background: var(--accent-green-light);
    border-left: 3px solid var(--accent-green);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 14px;
    margin: 12px;
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.7;
    box-shadow: var(--shadow-card);
}

.refund-box .notice-title {
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 6px;
}

/* 咨询信息 */
.contact-list {
    list-style: none;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-location {
    color: var(--text-primary);
    font-weight: 500;
}

.contact-info {
    color: var(--text-secondary);
}

.contact-phone {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
}

/* 空状态 */
.empty-tip {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-muted);
    font-size: 14px;
}

/* Toast 提示 */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 14px;
    z-index: 9999;
    display: none;
    max-width: 80%;
    text-align: center;
}

.toast.show {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.9); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* 价格汇总 */
.price-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 1px dashed var(--border-color);
    margin-top: 4px;
}

.price-summary .label {
    font-size: 15px;
    color: var(--text-secondary);
}

.price-summary .amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-red);
}

.price-summary .amount .unit {
    font-size: 14px;
    margin-right: 2px;
}

/* 弹窗 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    width: 100%;
    max-width: 480px;
    padding: 22px;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.modal-title {
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    transition: all 0.3s;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* 成功页 */
.success-page {
    text-align: center;
    padding: 60px 20px 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-green-light);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 40px;
    color: var(--accent-green);
}

.success-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.success-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* 响应式 */
@media (min-width: 481px) {
    .page-container {
        border-left: 1px solid var(--border-color);
        border-right: 1px solid var(--border-color);
    }
}

/* 管理后台浅色适配 */
.admin-header {
    background: var(--bg-header);
    color: #fff;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.2);
}

.admin-header .title {
    font-size: 17px;
    font-weight: 600;
}

.admin-header .user {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}

.admin-header .logout {
    color: #fff;
    text-decoration: none;
    margin-left: 12px;
    font-size: 13px;
    opacity: 0.9;
    transition: all 0.2s;
}

.admin-header .logout:hover {
    opacity: 1;
}

.admin-nav {
    display: flex;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    position: sticky;
    top: 56px;
    z-index: 99;
}

.admin-nav a {
    padding: 13px 20px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.admin-nav a.active {
    color: var(--accent-blue);
    border-bottom-color: var(--accent-blue);
    font-weight: 600;
}

.admin-nav a:hover {
    color: var(--text-primary);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 18px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 30px;
    font-weight: 700;
    color: var(--accent-blue);
}

.stat-number.warning {
    color: var(--accent-orange);
}

.stat-number.danger {
    color: var(--accent-red);
}

.stat-number.success {
    color: var(--accent-green);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.section-title {
    font-size: 15px;
    font-weight: 600;
    padding: 14px 16px 8px;
    color: var(--text-primary);
}

.filter-bar {
    padding: 14px;
    background: var(--bg-card);
    margin: 12px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.filter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-select {
    flex: 1;
    min-width: 100px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: #fff;
    color: var(--text-primary);
    outline: none;
}

.filter-input {
    flex: 2;
    min-width: 120px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: #fff;
    color: var(--text-primary);
    outline: none;
}

.filter-btn {
    height: 38px;
    padding: 0 18px;
    background: var(--accent-blue);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: #2563eb;
}

.order-count {
    padding: 4px 16px 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.msg-box {
    margin: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: var(--accent-green-light);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.action-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px;
}

.action-btns .btn {
    flex: 1;
    min-width: 100px;
}

.config-item {
    margin-bottom: 18px;
}

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

.config-item input,
.config-item textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: #fff;
    color: var(--text-primary);
    outline: none;
    transition: all 0.2s;
    font-family: inherit;
}

.config-item input:focus,
.config-item textarea:focus {
    border-color: var(--accent-blue);
}

.config-item textarea {
    min-height: 90px;
    resize: vertical;
}

.loc-item, .time-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-primary);
}

.loc-item:last-child, .time-item:last-child {
    border-bottom: none;
}

.loc-display, .time-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.loc-actions, .time-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.edit-btn {
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 12px;
    transition: all 0.2s;
}

.edit-btn:hover {
    background: rgba(59, 130, 246, 0.15);
}

.edit-form {
    margin-top: 12px;
    display: none;
}

.edit-form.active {
    display: block;
}

.edit-inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.edit-inline-form input {
    flex: 1;
    min-width: 80px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: #fff;
    color: var(--text-primary);
    outline: none;
}

.edit-inline-form button[type="submit"] {
    height: 38px;
    padding: 0 18px;
    background: var(--accent-blue);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
}

.edit-inline-form .cancel-btn {
    height: 38px;
    padding: 0 18px;
    background: #f3f4f6;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
    cursor: pointer;
}

.add-form {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.add-form input {
    flex: 1;
    min-width: 80px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
    background: #fff;
    color: var(--text-primary);
    outline: none;
}

.add-form button {
    height: 38px;
    padding: 0 18px;
    background: var(--accent-blue);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.add-form button:hover {
    background: #2563eb;
}

.delete-btn {
    color: var(--accent-red);
    background: var(--accent-red-light);
    border: 1px solid rgba(239, 68, 68, 0.2);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 12px;
    transition: all 0.2s;
}

.delete-btn:hover {
    background: #fee2e2;
}

.edit-btn {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 12px;
    transition: all 0.2s;
}

.edit-btn:hover {
    background: rgba(59, 130, 246, 0.15);
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-page);
    padding: 20px;
}

.login-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    width: 100%;
    max-width: 380px;
    box-shadow: var(--shadow-card);
}

.login-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.login-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.login-error {
    background: var(--accent-red-light);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 16px;
    text-align: center;
}

/* 滚动条 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-page);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}
