:root {
    --primary: #2f7a4a;
    --primary-dark: #225f39;
    --secondary: #4f6d7a;
    --accent: #c96d35;
    --sport-blue: #3f6f8c;
    --sport-cyan: #5b8ea5;
    --sport-orange: #b9793d;
    --sport-lime: #7c9a56;
    --warning: #bf8a45;
    --danger: #b85c4c;
    --bg-dark: #1f2a24;
    --bg-base: #eef2e8;
    --bg-card: rgba(255, 255, 255, 0.94);
    --bg-glass: rgba(255, 255, 255, 0.82);
    --text-primary: #243126;
    --text-secondary: rgba(36, 49, 38, 0.76);
    --text-muted: rgba(36, 49, 38, 0.56);
    --gradient-primary: linear-gradient(135deg, #3f8b5a 0%, #2f7a4a 100%);
    --gradient-secondary: linear-gradient(135deg, #6f8c78 0%, #4f6d5f 100%);
    --gradient-accent: linear-gradient(135deg, #d99855 0%, #b9783f 100%);
    --shadow-sm: 0 3px 10px rgba(38, 53, 39, 0.08);
    --shadow-md: 0 10px 26px rgba(38, 53, 39, 0.12);
    --shadow-lg: 0 18px 40px rgba(38, 53, 39, 0.14);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
    --header-height: 60px;
    --nav-height: 70px;
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
    background:
        radial-gradient(920px 540px at 12% 8%, rgba(102, 141, 109, 0.20) 0%, rgba(102, 141, 109, 0) 58%),
        radial-gradient(920px 520px at 88% 6%, rgba(121, 157, 170, 0.16) 0%, rgba(121, 157, 170, 0) 55%),
        linear-gradient(180deg, rgba(217, 205, 177, 0.26) 0%, rgba(238, 242, 232, 0) 38%),
        repeating-linear-gradient(120deg, rgba(77, 112, 86, 0.04) 0 2px, transparent 2px 16px),
        var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    overscroll-behavior: none;
}

#app {
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    background:
        radial-gradient(640px 340px at 18% 14%, rgba(115, 149, 99, 0.18) 0%, rgba(115, 149, 99, 0) 60%),
        radial-gradient(560px 320px at 82% 18%, rgba(130, 165, 178, 0.14) 0%, rgba(130, 165, 178, 0) 62%),
        linear-gradient(180deg, rgba(217, 205, 177, 0.14) 0%, rgba(238, 242, 232, 0) 44%),
        var(--bg-base);
    position: relative;
    overflow: hidden;
}

.app-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: var(--header-height);
    background: rgba(240, 245, 235, 0.93);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(61, 81, 64, 0.14);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 100;
}

.header-left, .header-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-center {
    flex: 2;
    text-align: center;
}

.app-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 0.3px;
}

.role-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(61, 81, 64, 0.14);
    box-shadow: var(--shadow-sm);
}

.role-icon {
    font-size: 16px;
}

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

.role-toggle {
    background: var(--gradient-primary);
    border: none;
    color: #f3f7ef;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.role-toggle:active {
    transform: scale(0.95);
    opacity: 0.9;
}

.notification-btn {
    position: relative;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-main {
    padding: var(--header-height) 0 calc(var(--nav-height) + var(--safe-area-bottom) + 20px);
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.app-main::-webkit-scrollbar {
    display: none;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    height: calc(var(--nav-height) + var(--safe-area-bottom));
    background: rgba(240, 245, 235, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(61, 81, 64, 0.15);
    box-shadow: 0 -10px 30px rgba(38, 53, 39, 0.10);
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 8px 0;
    z-index: 100;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: rgba(15, 23, 42, 0.55);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px;
}

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

.nav-item.active .nav-icon {
    transform: scale(1.1);
}

.nav-icon {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.nav-label {
    font-size: 10px;
    font-weight: 500;
}

.officer-dashboard-btn {
    position: fixed;
    top: calc(var(--header-height) + 16px);
    right: 16px;
    z-index: 150;
}

.officer-dashboard-btn button {
    background: var(--gradient-secondary);
    border: none;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s;
}

.officer-dashboard-btn button:active {
    transform: scale(0.95);
}

/* Page Container */
.page {
    padding: 20px 16px;
    animation: fadeIn 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background:
        linear-gradient(150deg, rgba(79, 120, 86, 0.22) 0%, rgba(108, 146, 118, 0.14) 38%, rgba(171, 196, 162, 0.08) 70%, rgba(205, 178, 140, 0.14) 100%),
        rgba(255, 255, 255, 0.82);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(61, 81, 64, 0.14);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle, rgba(78, 125, 88, 0.24) 0%, rgba(78, 125, 88, 0) 56%),
        radial-gradient(circle, rgba(173, 137, 83, 0.18) 0%, rgba(173, 137, 83, 0) 60%);
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-greeting {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.hero-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    letter-spacing: -0.2px;
}

.hero-title span {
    color: var(--primary);
}

.hero-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.stat-card {
    flex: 1;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid rgba(61, 81, 64, 0.14);
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    font-size: 20px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

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

.hero-weather {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    border: 1px solid rgba(61, 81, 64, 0.14);
    box-shadow: var(--shadow-sm);
}

.weather-icon {
    font-size: 32px;
}

.weather-info {
    flex: 1;
}

.weather-temp {
    font-size: 20px;
    font-weight: 700;
}

.weather-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

.weather-alert {
    background: rgba(253, 203, 110, 0.2);
    color: var(--warning);
    font-size: 11px;
    padding: 4px 8px;
    border-radius: var(--radius-full);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(61, 81, 64, 0.10);
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-item:active {
    transform: scale(0.95);
    background: var(--bg-glass);
}

.action-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.action-icon.green { background: linear-gradient(135deg, rgba(76, 135, 93, 0.24), rgba(53, 103, 69, 0.24)); }
.action-icon.purple { background: linear-gradient(135deg, rgba(99, 125, 112, 0.24), rgba(76, 102, 90, 0.24)); }
.action-icon.pink { background: linear-gradient(135deg, rgba(174, 132, 96, 0.22), rgba(145, 106, 72, 0.22)); }
.action-icon.orange { background: linear-gradient(135deg, rgba(187, 148, 97, 0.24), rgba(160, 118, 71, 0.24)); }

.action-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-align: center;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
}

.section-more {
    font-size: 13px;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Feature Cards */
.featured-trails {
    margin-bottom: 24px;
}

.trail-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(61, 81, 64, 0.13);
    box-shadow: var(--shadow-md);
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.trail-header {
    position: relative;
    height: 140px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.trail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trail-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gradient-primary);
    color: #f3f7ef;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.trail-status {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.trail-status.available {
    background: rgba(63, 139, 90, 0.92);
    color: #f3f7ef;
}

.trail-status.busy {
    background: rgba(191, 138, 69, 0.92);
    color: #f9f5ee;
}

.trail-status.crowded {
    background: rgba(225, 112, 85, 0.9);
    color: white;
}

.trail-content {
    padding: 16px;
}

.trail-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.trail-info {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.trail-info-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

.trail-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.trail-progress-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.trail-progress-bar.low { background: var(--primary); }
.trail-progress-bar.medium { background: var(--warning); }
.trail-progress-bar.high { background: var(--danger); }

/* AI Recommendation Card */
.ai-card {
    background: linear-gradient(135deg, rgba(111, 140, 120, 0.22) 0%, rgba(141, 170, 126, 0.16) 55%, rgba(204, 173, 131, 0.18) 100%);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid rgba(74, 102, 81, 0.24);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ai-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.ai-info h3 {
    font-size: 16px;
    font-weight: 700;
}

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

.ai-message {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.ai-message strong {
    color: var(--primary);
}

.ai-actions {
    display: flex;
    gap: 12px;
}

.ai-btn {
    flex: 1;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.ai-btn.primary {
    background: var(--gradient-primary);
    color: #f3f7ef;
}

.ai-btn.secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Points Card */
.points-card {
    background: linear-gradient(135deg, #3e7a53 0%, #5e8f63 62%, #7f9b64 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.points-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
}

.points-card-content {
    position: relative;
    z-index: 1;
}

.points-label {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.points-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
}

.points-trend {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.points-trend.up {
    color: #00B894;
}

.points-trend.down {
    color: var(--danger);
}

.points-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.points-btn {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: var(--radius-md);
    color: #f3f7ef;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.points-btn:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.3);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.bento-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid rgba(61, 81, 64, 0.14);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.bento-item:active {
    transform: scale(0.95);
}

.bento-item.large {
    grid-column: span 2;
}

.bento-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.bento-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.bento-desc {
    font-size: 11px;
    color: var(--text-muted);
}

/* Map Page */
.map-container {
    height: calc(100vh - var(--header-height) - var(--nav-height) - 40px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 16px;
    right: 16px;
    z-index: 1000;
}

.ai-route-card {
    background: rgba(242, 247, 237, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid rgba(61, 81, 64, 0.14);
    box-shadow: var(--shadow-sm);
}

.ai-route-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ai-route-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ai-route-title {
    font-size: 14px;
    font-weight: 600;
}

.ai-route-subtitle {
    font-size: 11px;
    color: var(--text-muted);
}

.route-details {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.route-detail-item {
    flex: 1;
}

.route-detail-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.route-detail-value {
    font-size: 16px;
    font-weight: 700;
}

.route-detail-value.green { color: var(--primary); }
.route-detail-value.yellow { color: var(--warning); }
.route-detail-value.red { color: var(--danger); }

.route-incentive {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 170, 0.1);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.incentive-icon {
    font-size: 18px;
}

.incentive-text {
    font-size: 12px;
    color: var(--primary);
}

.incentive-text strong {
    font-weight: 700;
}

.route-actions {
    display: flex;
    gap: 12px;
}

.route-btn {
    flex: 1;
    padding: 14px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.route-btn.primary {
    background: var(--gradient-primary);
    color: #f3f7ef;
}

.route-btn.secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

/* Traffic Slider */
.traffic-slider-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-top: 16px;
}

.traffic-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.traffic-slider-title {
    font-size: 14px;
    font-weight: 600;
}

.traffic-slider-value {
    font-size: 24px;
    font-weight: 700;
}

.traffic-slider-value.warning { color: var(--warning); }
.traffic-slider-value.danger { color: var(--danger); }

.traffic-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    margin-bottom: 16px;
}

.traffic-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(61, 81, 64, 0.14);
}

.traffic-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--text-muted);
}

.traffic-status {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 13px;
    text-align: center;
}

.traffic-status.normal {
    background: rgba(0, 212, 170, 0.1);
    color: var(--primary);
}

.traffic-status.warning {
    background: rgba(253, 203, 110, 0.1);
    color: var(--warning);
}

.traffic-status.danger {
    background: rgba(225, 112, 85, 0.1);
    color: var(--danger);
}

/* Booking Page */
.booking-mode-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.mode-tab {
    flex: 1;
    padding: 12px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.72);
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.mode-tab.active {
    background: linear-gradient(135deg, rgba(96, 136, 98, 0.20) 0%, rgba(127, 160, 118, 0.18) 48%, rgba(178, 145, 97, 0.16) 100%), rgba(255, 255, 255, 0.86);
    border-color: rgba(74, 112, 78, 0.25);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
}

.mode-tab:active {
    transform: scale(0.98);
}

.booking-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.filter-chip {
    flex-shrink: 0;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.filter-chip.active {
    background: var(--gradient-primary);
    color: #f3f7ef;
    border-color: transparent;
}

.booking-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 12px;
    border: 1px solid rgba(61, 81, 64, 0.14);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.booking-name {
    font-size: 16px;
    font-weight: 700;
}

.booking-badge {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.booking-badge.green-point {
    background: rgba(0, 212, 170, 0.2);
    color: var(--primary);
}

.booking-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.booking-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

.booking-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.booking-price span {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

.booking-btn {
    padding: 8px 20px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    color: #f3f7ef;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

/* Anti-Bot Protection */
.anti-bot-card {
    background: linear-gradient(135deg, rgba(87, 130, 95, 0.16) 0%, rgba(111, 140, 120, 0.16) 100%);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(74, 112, 78, 0.26);
    box-shadow: var(--shadow-md);
}

.anti-bot-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.anti-bot-icon {
    font-size: 28px;
}

.anti-bot-title {
    font-size: 14px;
    font-weight: 600;
}

.anti-bot-stats {
    display: flex;
    gap: 20px;
}

.anti-bot-stat {
    text-align: center;
}

.anti-bot-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.anti-bot-stat-label {
    font-size: 10px;
    color: var(--text-muted);
}

/* Care Page */
.care-hero {
    background: linear-gradient(180deg, rgba(83, 129, 91, 0.20) 0%, rgba(83, 129, 91, 0.04) 60%, transparent 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.care-hero-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.care-hero-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.care-hero-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.care-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.care-action-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(61, 81, 64, 0.14);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.care-action-card:active {
    transform: scale(0.95);
}

.care-action-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.care-action-icon.report { background: linear-gradient(135deg, rgba(73, 128, 90, 0.22), rgba(56, 103, 72, 0.22)); }
.care-action-icon.clean { background: linear-gradient(135deg, rgba(106, 136, 122, 0.22), rgba(84, 111, 99, 0.22)); }
.care-action-icon.hike { background: linear-gradient(135deg, rgba(173, 133, 93, 0.22), rgba(144, 106, 72, 0.22)); }
.care-action-icon.offline { background: linear-gradient(135deg, rgba(190, 154, 106, 0.22), rgba(164, 128, 80, 0.22)); }

.care-action-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.care-action-desc {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.care-action-points {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.care-action-points span {
    font-size: 12px;
    font-weight: 400;
}

/* Report Modal */
.report-upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.report-upload-area:active {
    border-color: var(--primary);
    background: rgba(0, 212, 170, 0.05);
}

.report-upload-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.report-upload-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.report-upload-hint {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Mall Page */
.mall-balance {
    background: linear-gradient(135deg, #4b7853 0%, #6a9467 60%, #8ba474 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.mall-balance::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}

.mall-balance-content {
    position: relative;
    z-index: 1;
}

.mall-balance-label {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.mall-balance-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.mall-balance-actions {
    display: flex;
    gap: 12px;
}

.mall-btn {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mall-btn:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.3);
}

.mall-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.mall-tab {
    flex-shrink: 0;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mall-tab.active {
    background: var(--gradient-primary);
    color: #f3f7ef;
    border-color: transparent;
}

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

.mall-product-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(61, 81, 64, 0.14);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mall-product-card:active {
    transform: scale(0.95);
}

.mall-product-image {
    height: 100px;
    background: var(--bg-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.mall-product-info {
    padding: 12px;
}

.mall-product-name {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.mall-product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.mall-product-price span {
    font-size: 10px;
    font-weight: 400;
    color: var(--text-muted);
}

/* RWA Card */
.rwa-card {
    background: linear-gradient(135deg, rgba(187, 151, 102, 0.18) 0%, rgba(164, 122, 75, 0.16) 100%);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(156, 120, 74, 0.30);
}

.rwa-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.rwa-icon {
    font-size: 28px;
}

.rwa-title {
    font-size: 14px;
    font-weight: 600;
}

.rwa-subtitle {
    font-size: 11px;
    color: var(--text-muted);
}

.rwa-stats {
    display: flex;
    gap: 20px;
}

.rwa-stat {
    flex: 1;
}

.rwa-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--warning);
}

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

/* Profile Page */
.profile-header {
    text-align: center;
    padding: 24px 0;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border: 3px solid rgba(74, 112, 78, 0.32);
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.profile-level {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--primary);
}

.profile-stats-row {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.profile-stat-card {
    flex: 1;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow-sm);
}

.profile-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

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

.profile-menu {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(61, 81, 64, 0.14);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background 0.2s ease;
}

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

.profile-menu-item:active {
    background: var(--bg-glass);
}

.profile-menu-icon {
    font-size: 22px;
}

.profile-menu-content {
    flex: 1;
}

.profile-menu-title {
    font-size: 14px;
    font-weight: 500;
}

.profile-menu-desc {
    font-size: 11px;
    color: var(--text-muted);
}

.profile-menu-arrow {
    font-size: 18px;
    color: var(--text-muted);
}

/* Officer Dashboard */
.officer-dashboard {
    padding: 16px;
}

.officer-header {
    background: linear-gradient(135deg, #5d7766 0%, #486150 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}

.officer-header-title {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.officer-header-value {
    font-size: 28px;
    font-weight: 700;
}

.officer-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.officer-metric-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid rgba(61, 81, 64, 0.14);
    box-shadow: var(--shadow-sm);
}

.officer-metric-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.officer-metric-icon {
    font-size: 20px;
}

.officer-metric-title {
    font-size: 12px;
    color: var(--text-secondary);
}

.officer-metric-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.officer-metric-trend {
    font-size: 11px;
}

.officer-metric-trend.up { color: var(--primary); }
.officer-metric-trend.down { color: var(--danger); }

/* ROI Calculator */
.roi-calculator {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(61, 81, 64, 0.14);
    box-shadow: var(--shadow-md);
}

.roi-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.roi-slider-group {
    margin-bottom: 20px;
}

.roi-slider-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.roi-slider-name {
    font-size: 13px;
    color: var(--text-secondary);
}

.roi-slider-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.roi-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
}

.roi-result {
    background: rgba(73, 128, 90, 0.12);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
}

.roi-result-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.roi-result-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 200;
    display: none;
    align-items: flex-end;
    justify-content: center;
}

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

.modal-content {
    background: #f0f5eb;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    width: 100%;
    max-width: 430px;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(61, 81, 64, 0.14);
    position: sticky;
    top: 0;
    background: #f0f5eb;
    z-index: 10;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-card);
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 20px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: calc(var(--header-height) + 16px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: calc(100% - 32px);
    max-width: 398px;
}

.toast {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    border: 1px solid rgba(61, 81, 64, 0.14);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastIn 0.3s ease;
    box-shadow: var(--shadow-lg);
}

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

.toast-icon {
    font-size: 22px;
}

.toast-message {
    flex: 1;
    font-size: 13px;
}

.toast.success { border-color: rgba(0, 212, 170, 0.5); }
.toast.error { border-color: rgba(225, 112, 85, 0.5); }
.toast.warning { border-color: rgba(253, 203, 110, 0.5); }

/* Leaflet Custom Styles */
.leaflet-control-attribution {
    display: none;
}

.leaflet-control-zoom {
    border: none !important;
    box-shadow: var(--shadow-md) !important;
}

.leaflet-control-zoom a {
    background: rgba(241, 246, 236, 0.95) !important;
    color: var(--primary-dark) !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 18px !important;
}

.leaflet-control-zoom a:hover {
    background: rgba(220, 231, 214, 0.95) !important;
}

/* Loading Animation */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--bg-card);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.empty-state-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.empty-state-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.flex {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.gap-12 {
    gap: 12px;
}

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

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

.text-muted {
    color: var(--text-muted);
}

.font-bold {
    font-weight: 700;
}

/* ================================
   Reference-inspired visual layer
   (minimal outdoor iOS style)
================================ */
:root {
    --primary: #2f6c45;
    --primary-dark: #234f33;
    --secondary: #8b8f95;
    --accent: #274a32;
    --warning: #b8833b;
    --danger: #ba5d4d;

    --bg-base: #f5f6f3;
    --bg-card: #ffffff;
    --bg-glass: #f0f1ed;

    --text-primary: #171a1f;
    --text-secondary: rgba(23, 26, 31, 0.68);
    --text-muted: rgba(23, 26, 31, 0.46);

    --gradient-primary: linear-gradient(135deg, #2f6c45 0%, #3f8258 100%);
    --gradient-secondary: linear-gradient(135deg, #5f7f69 0%, #4e6957 100%);
    --gradient-accent: linear-gradient(135deg, #5f7f69 0%, #395843 100%);

    --shadow-sm: 0 3px 10px rgba(17, 22, 17, 0.06);
    --shadow-md: 0 10px 26px rgba(17, 22, 17, 0.09);
    --shadow-lg: 0 16px 36px rgba(17, 22, 17, 0.12);
}

body {
    background: linear-gradient(180deg, #f8f9f6 0%, #f2f3ef 100%);
}

#app {
    background: #f5f6f3;
}

#app::before {
    content: "";
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100% - var(--header-height) - var(--nav-height) - var(--safe-area-bottom));
    z-index: 0;
    pointer-events: none;
    opacity: 0.34;
    background-size: cover;
    background-position: center;
    filter: saturate(0.96) contrast(1.04);
}

#app[data-page="home"]::before {
    background-image: url("https://staticmap.openstreetmap.de/staticmap.php?center=22.3365,114.1736&zoom=11&size=1400x2000&maptype=mapnik");
}

#app[data-page="booking"]::before {
    background-image: url("https://staticmap.openstreetmap.de/staticmap.php?center=22.3755,114.1802&zoom=11&size=1400x2000&maptype=mapnik");
}

#app[data-page="care"]::before {
    background-image: url("https://staticmap.openstreetmap.de/staticmap.php?center=22.3930,114.2200&zoom=11&size=1400x2000&maptype=mapnik");
}

#app[data-page="mall"]::before {
    background-image: url("https://staticmap.openstreetmap.de/staticmap.php?center=22.3000,114.1700&zoom=11&size=1400x2000&maptype=mapnik");
}

#app[data-page="profile"]::before {
    background-image: url("https://staticmap.openstreetmap.de/staticmap.php?center=22.3050,114.1690&zoom=11&size=1400x2000&maptype=mapnik");
}

#app[data-page="officer"]::before,
#app[data-page="map"]::before {
    background-image: none;
}

#app > * {
    position: relative;
    z-index: 1;
}

.app-header {
    background: rgba(245, 246, 243, 0.92);
    border-bottom: 1px solid rgba(23, 26, 31, 0.06);
    box-shadow: none;
}

.app-title {
    color: var(--text-primary);
    font-size: 24px;
    font-weight: 800;
    background: none;
    -webkit-text-fill-color: initial;
}

.role-switch {
    background: #fff;
    border: 1px solid rgba(23, 26, 31, 0.08);
}

.role-toggle {
    background: #1d2228;
    color: #fff;
}

.bottom-nav {
    background: rgba(245, 246, 243, 0.96);
    border-top: 1px solid rgba(23, 26, 31, 0.08);
    box-shadow: 0 -8px 24px rgba(17, 22, 17, 0.08);
}

.nav-item.active {
    color: #14171b;
}

.nav-item.active .nav-icon {
    background: #1f252b;
    color: #fff;
}

.nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon i {
    font-size: 18px;
    line-height: 1;
}

.page {
    padding: 20px 18px;
}

.hero-section {
    background: #fff;
    border: 1px solid rgba(23, 26, 31, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow-md);
}

.hero-section::before {
    background: radial-gradient(circle at 70% 30%, rgba(63, 130, 88, 0.18) 0%, rgba(63, 130, 88, 0) 62%);
}

.hero-title {
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.4px;
}

.hero-title span {
    color: var(--primary-dark);
}

.stat-card,
.hero-weather,
.action-item,
.trail-card,
.ai-card,
.booking-card,
.care-action-card,
.mall-product-card,
.bento-item,
.profile-menu,
.profile-stat-card,
.roi-calculator,
.officer-metric-card,
.traffic-slider-container,
.ai-route-card,
.modal-content,
.toast {
    border: 1px solid rgba(23, 26, 31, 0.08);
    box-shadow: var(--shadow-sm);
    background: #fff;
}

.quick-actions {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.action-item {
    border-radius: 18px;
}

.action-icon {
    border-radius: 50%;
    background: #f2f4f2 !important;
}

.action-icon i {
    font-size: 21px;
    color: #1f2830;
}

.action-label {
    font-weight: 600;
    color: var(--text-primary);
}

.section-title {
    color: #15181d;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-more {
    color: var(--text-secondary);
    font-weight: 600;
}

.trail-card {
    border-radius: 24px;
    overflow: hidden;
}

.trail-header {
    height: 190px;
    position: relative;
}

.trail-image {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 1;
}

.trail-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 14, 11, 0.10) 0%, rgba(10, 14, 11, 0.28) 100%);
    pointer-events: none;
    z-index: 1;
}

.trail-map {
    pointer-events: none;
}

.trail-badge {
    background: rgba(17, 20, 24, 0.76);
    color: #fff;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.trail-status {
    backdrop-filter: blur(4px);
    z-index: 2;
}

.trail-content {
    padding: 18px;
}

.trail-name {
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: 0;
    margin-bottom: 10px;
}

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

.trail-info-item i {
    color: var(--primary-dark);
}

.trail-progress {
    background: rgba(17, 20, 24, 0.12);
}

.ai-card {
    border-radius: 24px;
}

.ai-btn.primary,
.route-btn.primary,
.booking-btn,
.filter-chip.active,
.mall-tab.active,
.mode-tab.active {
    background: #1e242a;
    color: #fff;
    border-color: #1e242a;
}

.ai-btn.secondary,
.route-btn.secondary,
.mode-tab,
.filter-chip,
.mall-tab {
    background: #f3f4f1;
    color: #222831;
    border: 1px solid rgba(23, 26, 31, 0.08);
}

.booking-mode-tabs {
    gap: 8px;
}

.mode-tab {
    border-radius: 14px;
    box-shadow: none;
}

.booking-card,
.care-action-card,
.mall-product-card,
.bento-item {
    border-radius: 20px;
}

.booking-price,
.stat-value,
.points-value,
.profile-stat-value,
.officer-metric-value,
.rwa-stat-value {
    color: var(--text-primary);
}

.points-card,
.mall-balance,
.officer-header {
    background: linear-gradient(135deg, #2a4434 0%, #3f664f 100%);
    color: #f9fbf8;
    border: none;
}

.points-btn,
.mall-btn {
    color: #f6faf6;
}

.care-hero {
    background: linear-gradient(180deg, rgba(61, 104, 73, 0.14) 0%, rgba(61, 104, 73, 0.03) 100%);
    border: 1px solid rgba(23, 26, 31, 0.08);
}

.modal-overlay {
    background: rgba(17, 20, 24, 0.45);
    backdrop-filter: blur(8px);
}

.modal-content {
    border-radius: 28px 28px 0 0;
    background: #f7f8f5;
}

.leaflet-control-zoom a {
    border-radius: 10px !important;
}
