/* ===== 主题变量 ===== */
:root {
  /* 浅色主题（默认） */
  --bg-primary: #f5f5f5;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border-color: #e0e0e0;
  --input-bg: #ffffff;
  --menu-hover: #f5f5f5;
}

[data-theme="dark"] {
  /* 深色主题 */
  --bg-primary: #0f0f23;
  --bg-secondary: #1a1a2e;
  --bg-card: #16213e;
  --text-primary: #e0e0e0;
  --text-secondary: #b0b0b0;
  --text-muted: #808080;
  --border-color: #2a2a3e;
  --input-bg: #1a1a2e;
  --menu-hover: #1f2940;
}

/* ===== 全局重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    background: var(--bg-primary);
    height: 100%;
    overflow: hidden;
    color: var(--text-primary);
    -webkit-tap-highlight-color: transparent;
    transition: background 0.3s, color 0.3s;
}

#app {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ===== 页面容器 ===== */
.page {
    display: none;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}
.page.active {
    display: flex;
}
.page-content {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px 100px;
    -webkit-overflow-scrolling: touch;
}

/* ===== 顶部状态栏 ===== */
.status-bar {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
    padding: 0 4px;
}

/* ===== 页面头部（含返回按钮） ===== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}
.page-header .back-btn {
    color: #007AFF;
    font-size: 14px;
    cursor: pointer;
}
.page-header .page-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== 用户卡片 ===== */
.user-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 20px;
    color: white;
    margin-bottom: 16px;
}
.user-card.center {
    text-align: center;
}
.user-avatar {
    font-size: 36px;
    margin-bottom: 8px;
}
.user-name {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 5px;
}
.user-unit {
    font-size: 13px;
    opacity: 0.9;
}

/* ===== 分区标题 ===== */
.section-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 16px 0 10px;
}

/* ===== 大按钮 ===== */
.button-large {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #007AFF 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
    transition: opacity 0.2s;
}
.button-large:active { opacity: 0.85; }
.button-large.success {
    background: linear-gradient(135deg, #52C41A 0%, #389E0D 100%);
}
.button-large.danger {
    background: linear-gradient(135deg, #FF4D4F 0%, #D9363E 100%);
}

/* ===== 小按钮 ===== */
.btn-small {
    padding: 6px 14px;
    background: #007AFF;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
}
.btn-outline {
    width: 100%;
    padding: 10px;
    background: #fff;
    color: #007AFF;
    border: 1px solid #007AFF;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 8px;
}
.btn-primary {
    padding: 8px 16px;
    background: #007AFF;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    flex: 1;
}
.btn-secondary {
    padding: 8px 16px;
    background: #E0E0E0;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    flex: 1;
}

/* ===== 卡片 ===== */
.card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.card-title {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

/* ===== 库存进度条 ===== */
.inventory-item {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.inventory-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}
.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: #4CAF50;
    border-radius: 4px;
    transition: width 0.3s;
}
.progress-fill.warning { background: #FF9800; }

/* ===== 位置卡片 ===== */
.location-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
}
.location-text {
    font-size: 14px;
    color: var(--text-primary);
}

/* ===== 表单 ===== */
.form-group {
    margin-bottom: 16px;
}
.form-label {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: block;
    font-weight: 500;
}
.select-box {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
}
.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
}
.input-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.input-row .form-input {
    flex: 1;
}
.input-unit {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== 单选组 ===== */
.radio-group {
    display: flex;
    gap: 10px;
}
.radio-label {
    flex: 1;
    padding: 10px;
    background: var(--bg-primary);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 14px;
    transition: all 0.2s;
    color: var(--text-primary);
}
.radio-label.active {
    background: #E6F7FF;
    border-color: #007AFF;
    color: #007AFF;
    font-weight: 600;
}

/* ===== 标注区域 ===== */
.annotate-card {
    margin-bottom: 16px;
}
.annotate-list {
    margin-top: 10px;
}
.annotate-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-primary);
}
.annotate-item:last-child { border-bottom: none; }
.annotate-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}
.annotate-dot.red { background: #FF4D4F; }
.annotate-dot.green { background: #52C41A; }

/* ===== 投放点列表 ===== */
.drop-card {
    margin-bottom: 12px;
}
.drop-card.safe { border-left: 4px solid #52C41A; }
.drop-card.danger { border-left: 4px solid #FF4D4F; background: #FFF3F3; }
.drop-info {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 4px 0 10px;
}
.drop-info span { margin-right: 12px; }
.select-btn {
    width: 100%;
    padding: 10px;
    background: #52C41A;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}
.avoid-btn {
    width: 100%;
    padding: 10px;
    background: #FF4D4F;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

/* ===== 任务监控 ===== */
.task-card { text-align: center; padding: 18px; }
.task-label { font-size: 13px; color: var(--text-secondary); margin-bottom: 5px; }
.task-id { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.task-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}
.task-status.running { background: #F6FFED; color: #52C41A; }
.task-eta { font-size: 13px; color: var(--text-secondary); margin-top: 8px; }

.progress-card { text-align: center; padding: 16px; }
.progress-text { font-size: 14px; color: #007AFF; font-weight: 600; margin-bottom: 6px; }
.progress-sub { font-size: 12px; color: var(--text-secondary); }

.path-card {
    background: #E6F7FF;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}
.path-label { font-size: 12px; color: #007AFF; margin-bottom: 4px; }
.path-value { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 12px; }
.path-value:last-child { margin-bottom: 0; }

.drop-zone {
    border: 2px dashed #FF4D4F;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}
.drop-icon { font-size: 28px; margin-bottom: 5px; }
.drop-name { font-weight: 600; color: #FF4D4F; margin-bottom: 6px; }
.risk-score {
    display: inline-block;
    padding: 2px 10px;
    background: #E6F7FF;
    color: #007AFF;
    border-radius: 4px;
    font-size: 12px;
}

.emergency-card { background: #FFF3F3; border: 1px solid #FFCCC7; }
.emergency-title { font-size: 14px; color: #FF4D4F; margin-bottom: 10px; }
.emergency-btns { display: flex; gap: 8px; }

/* ===== 统计列表 ===== */
.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}
.stat-row:last-child { border-bottom: none; }
.stat-label { color: var(--text-secondary); }
.stat-value { font-weight: 600; color: var(--text-primary); }
.stat-value.danger { color: #FF4D4F; }

.tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}
.tag-success { background: #F6FFED; color: #52C41A; }
.tag-danger { background: #FFF3F3; color: #FF4D4F; }

/* ===== 日志时间线 ===== */
.log-row {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}
.log-row:last-child { border-bottom: none; }
.log-time { color: var(--text-muted); margin-right: 8px; }

/* ===== 地图占位 ===== */
.map-placeholder {
    background: var(--bg-primary);
    border: 2px dashed #007AFF;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.map-icon { font-size: 30px; margin-bottom: 5px; }
.map-text { color: var(--text-secondary); font-size: 14px; }

/* ===== 警告卡片 ===== */
.warning-card { background: #FFF7E6; border: 1px solid #FFD591; }
.warning-title { font-size: 13px; color: #FA8C16; margin-bottom: 8px; }
.warning-item { font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }

/* ===== 按钮行 ===== */
.btn-row { display: flex; gap: 10px; margin-top: 16px; }
.flex-1 { flex: 1; }

/* ===== 个人中心统计 ===== */
.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 16px;
}
.stat-box { flex: 1; }
.stat-num {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}
.stat-num.done { color: #52C41A; }
.stat-num.active { color: #1890FF; }
.stat-num.pending { color: #FA8C16; }
.stat-num.cancel { color: #FF4D4F; }

/* ===== 菜单列表 ===== */
.menu-list { padding: 0; }
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 14px;
    transition: background 0.15s;
    color: var(--text-primary);
}
.menu-item:active { background: var(--menu-hover); }
.menu-item:last-child { border-bottom: none; }
.menu-value { color: var(--text-secondary); font-size: 13px; }
.menu-toggle {
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background: #ccc;
    position: relative;
    transition: background 0.2s;
}
.menu-toggle.on { background: #52C41A; }
.menu-toggle::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    top: 2px;
    left: 2px;
    transition: left 0.2s;
}
.menu-toggle.on::after { left: 18px; }

/* ===== SOS卡片 ===== */
.sos-card { background: #FFF3F3; border: 1px solid #FFCCC7; margin-top: 16px; }
.sos-title { font-size: 14px; color: #FF4D4F; margin-bottom: 10px; }

/* ===== 底部Tab导航 ===== */
.tab-bar {
    display: flex;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding-bottom: env(safe-area-inset-bottom);
    flex-shrink: 0;
    z-index: 100;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}
.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 0;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}
.tab-item.active { color: #007AFF; }
.tab-icon { font-size: 20px; margin-bottom: 2px; }
.tab-label { font-size: 11px; }

/* ===== Toast提示 ===== */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.toast.show { opacity: 1; }

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 0; }

/* ===== 登录/注册页面优化样式 ===== */

/* 登录页面背景 - 渐变 + 动态光晕 */
#page-login,
#page-register {
    background: linear-gradient(135deg, #0F2027 0%, #203A43 50%, #2C5364 100%);
    position: relative;
    overflow: hidden;
}

/* 动态光晕装饰 */
#page-login::before,
#page-login::after,
#page-register::before,
#page-register::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

#page-login::before,
#page-register::before {
    top: -15%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0,188,212,0.6) 0%, rgba(0,150,136,0.2) 100%);
}

#page-login::after,
#page-register::after {
    bottom: -10%;
    left: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255,152,0,0.45) 0%, rgba(255,87,34,0.1) 100%);
}

/* 登录主体容器 */
.login-body {
    padding: 2rem 1.5rem 2rem;
    position: relative;
    z-index: 1;
    max-width: 460px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 品牌区域 */
.login-logo {
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
    background: rgba(255,255,255,0.1);
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.login-title {
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #FFF, #B2EBF2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 0.5rem;
    text-align: center;
}

.login-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.2rem;
    text-align: center;
}

/* 表单样式优化 */
.login-form .form-group,
#page-register .form-group {
    margin-bottom: 1.4rem;
}

.login-form .form-label,
#page-register .form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

.login-form .form-input,
#page-register .form-input {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.2rem;
    font-size: 0.95rem;
    color: #FFFFFF;
    outline: none;
    transition: all 0.3s ease;
}

.login-form .form-input:focus,
#page-register .form-input:focus {
    border-color: #00BCD4;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.35);
    background: rgba(255,255,255,0.12);
}

.login-form .form-input::placeholder,
#page-register .form-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
}

/* 登录按钮优化 */
.login-form .button-large {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(105deg, #00BCD4 0%, #0097A7 100%);
    border: none;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.8rem;
    letter-spacing: 1px;
    box-shadow: 0 6px 14px rgba(0,188,212,0.25);
}

.login-form .button-large:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 10px 20px rgba(0,188,212,0.35);
}

.login-form .button-large:active {
    transform: translateY(1px);
}

/* 切换链接 */
.login-switch {
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-switch:hover {
    color: #00BCD4;
}

/* 演示账号卡片 */
.login-demo,
.demo-card {
    margin-top: 2rem;
    background: rgba(255,255,255,0.04);
    border-radius: 1.2rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255,255,255,0.06);
}

.demo-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.6rem;
    text-align: center;
}

.demo-item,
.demo-btn {
    padding: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 0.5rem;
    margin-bottom: 0.3rem;
}

.demo-item:hover,
.demo-btn:hover {
    background: rgba(0,188,212,0.18);
    color: #00BCD4;
}

.demo-buttons {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.demo-btn {
    background: rgba(0,188,212,0.18);
    border: 1px solid rgba(0,188,212,0.4);
    border-radius: 2rem;
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    color: #00BCD4;
    font-weight: 500;
}

.brand {
    text-align: center;
    margin-bottom: 2rem;
}

.brand-icon {
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
    background: rgba(255,255,255,0.1);
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.brand h1 {
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #FFF, #B2EBF2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 0.5rem;
}

.brand-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.2rem;
}

/* 注册页面头部优化 */
#page-register .page-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 1;
}

#page-register .back-btn {
    color: #00BCD4;
    background: rgba(0,188,212,0.15);
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
}

#page-register .back-btn:hover {
    background: rgba(0,188,212,0.35);
}

#page-register .page-title {
    color: #FFFFFF;
}

#page-register .page-content {
    position: relative;
    z-index: 1;
    padding: 1.5rem 1.5rem 2rem;
    min-height: calc(100vh - 60px);
    overflow-y: auto;
}

/* 注册按钮优化 */
#page-register .button-large.success {
    background: linear-gradient(105deg, #00BCD4 0%, #0097A7 100%);
    border-radius: 2rem;
    box-shadow: 0 6px 14px rgba(0,188,212,0.25);
    transition: all 0.2s ease;
}

#page-register .button-large.success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,188,212,0.35);
}

/* 记住密码和忘记密码 */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.8rem 0 1.2rem;
    font-size: 0.75rem;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.checkbox input[type="checkbox"] {
    accent-color: #00BCD4;
}

.forgot-link {
    color: #00BCD4;
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* 页面切换动画 */
.page.active {
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(6px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* 确保登录/注册页面全屏显示，无底部黑条 */
#page-login .tab-bar,
#page-register .tab-bar {
    display: none !important;
}

#page-login,
#page-register {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* ===== 投放点选择相关样式 ===== */

/* 选中的投放点卡片（在填写物资信息页面） */
.selected-drop-card {
    background: linear-gradient(135deg, #E6F7FF 0%, #BAE7FF 100%);
    border: 2px solid #007AFF;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 8px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.selected-drop-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.selected-drop-name {
    font-size: 16px;
    font-weight: 600;
    color: #007AFF;
}

.selected-drop-coords {
    font-size: 12px;
    color: #666;
}

/* 小卡片（在地图选点页面） */
.mini-drop-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mini-drop-card:active {
    transform: scale(0.98);
}

.mini-drop-card.selected {
    background: linear-gradient(135deg, #E6F7FF 0%, #BAE7FF 100%);
    border-color: #007AFF;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.2);
}

.mini-drop-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.mini-drop-content {
    flex: 1;
    min-width: 0;
}

.mini-drop-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-drop-address {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-drop-check {
    font-size: 20px;
    color: #007AFF;
    font-weight: bold;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s;
}

.mini-drop-card.selected .mini-drop-check {
    opacity: 1;
}

/* 推荐投放点小卡片列表 */
#drop-point-list .mini-drop-card {
    margin-bottom: 8px;
}

#drop-point-list .mini-drop-card.safe {
    border-left: 4px solid #52c41a;
}

#drop-point-list .mini-drop-card.danger {
    border-left: 4px solid #ff4d4f;
    opacity: 0.7;
}
