/* 全局样式 - AI趣游品牌色彩 */
:root {
    --primary-color: #1E88E5;        /* 主蓝色 */
    --secondary-color: #64B5F6;      /* 浅蓝色 */
    --success-color: #4DD0E1;        /* 青色 */
    --info-color: #64B5F6;           /* 信息蓝色 */
    --warning-color: #ffc107;        /* 保持警告色 */
    --danger-color: #dc3545;         /* 保持危险色 */
    --light-color: #FEFEFD;          /* 保持浅色 */
    --dark-color: #0D47A1;           /* 深蓝色 */
    --accent-color: #4DD0E1;         /* 强调青色 */
    --background-light: #FEFEFD;     /* 保持背景色 */
    --text-primary: #0D47A1;         /* 深蓝色文字 */
    --text-secondary: #796CB;        /* 中性色文字 */
    --border-color: #64B5F6;         /* 边框蓝色 */
    --card-bg: #FEFEFD;              /* 卡片背景 */
    --gradient-primary: linear-gradient(135deg, #1E88E5 0%, #64B5F6 100%);
    --gradient-secondary: linear-gradient(135deg, #64B5F6 0%, #4DD0E1 100%);
    --gradient-accent: linear-gradient(135deg, #4DD0E1 0%, #1E88E5 100%);
    --gradient-light: linear-gradient(135deg, #F8F9FA 0%, #E3F2FD 100%);
    --gradient-warm: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    --gradient-nature: linear-gradient(135deg, #E8F5E8 0%, #C8E6C9 100%);
    --shadow-color: rgba(30, 136, 229, 0.1);
    --shadow-hover: rgba(30, 136, 229, 0.2);
}

/* Logo styling */
.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.hero-logo img {
    filter: drop-shadow(0 4px 8px rgba(30, 136, 229, 0.3));
    transition: transform 0.3s ease;
}

.hero-logo img:hover {
    transform: scale(1.05);
}

/* 图标尺寸约束 */
svg {
    max-width: 100%;
    height: auto;
}

.flex-shrink-0 svg {
    flex-shrink: 0;
}

/* 确保图标不会超出容器 */
.h-4.w-4 svg,
.h-5.w-5 svg,
.h-6.w-6 svg {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
}

/* 强制限制图标尺寸 */
.h-4.w-4 {
    width: 1rem !important;
    height: 1rem !important;
    min-width: 1rem !important;
    min-height: 1rem !important;
    max-width: 1rem !important;
    max-height: 1rem !important;
}

.h-5.w-5 {
    width: 1.25rem !important;
    height: 1.25rem !important;
    min-width: 1.25rem !important;
    min-height: 1.25rem !important;
    max-width: 1.25rem !important;
    max-height: 1.25rem !important;
}

.h-6.w-6 {
    width: 1.5rem !important;
    height: 1.5rem !important;
    min-width: 1.5rem !important;
    min-height: 1.5rem !important;
    max-width: 1.5rem !important;
    max-height: 1.5rem !important;
}

/* 确保flex容器中的图标不会扩展 */
.flex-shrink-0 {
    flex-shrink: 0 !important;
}

/* 防止SVG图标溢出 */
svg {
    overflow: visible;
    max-width: 100%;
    max-height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #FEFEFD 0%, #64B5F6 20%, #FEFEFD 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* 导航栏样式 */
.navbar {
    z-index: 1050;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: white !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 1) !important;
}

/* 英雄区域样式 */
.hero-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    color: white;
}

/* 轻量级英雄区域样式 - 更友好的首次访问体验 */
.hero-section-light {
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
    border: 1px solid rgba(100, 181, 246, 0.2);
    box-shadow: 0 4px 20px rgba(100, 181, 246, 0.1);
}

.hero-section-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(100, 181, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(77, 208, 225, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(254, 254, 253, 0.3) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-section-light::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(100, 181, 246, 0.1), transparent);
    z-index: 1;
    pointer-events: none;
}

/* 轻量级英雄区域内容样式 */
.hero-section-light .container {
    position: relative;
    z-index: 2;
}

.hero-section-light .hero-logo img {
    filter: drop-shadow(0 2px 8px rgba(100, 181, 246, 0.2));
}

.hero-section-light .hero-buttons .btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: 0 4px 12px rgba(100, 181, 246, 0.3);
}

.hero-section-light .hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(100, 181, 246, 0.4);
}

.hero-section-light .hero-buttons .btn-outline-light {
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    background: transparent;
}

.hero-section-light .hero-buttons .btn-outline-light:hover {
    background: var(--text-primary);
    color: white;
    transform: translateY(-2px);
}

/* 轻量级英雄区域的装饰元素 */
.hero-section-light .travel-decoration .decoration-dot {
    background: rgba(100, 181, 246, 0.3);
    box-shadow: 0 0 20px rgba(100, 181, 246, 0.2);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(77, 208, 225, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(100, 181, 246, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(254, 254, 253, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, transparent 0%, rgba(30, 136, 229, 0.1) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(30, 136, 229, 0.3) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.hero-section .hero-buttons {
    position: relative;
    z-index: 4;
    pointer-events: auto;
}

.hero-section .hero-buttons .btn {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

/* 注册页面标签页样式修复 */
.nav-tabs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

.nav-tabs .nav-item {
    flex: 1 !important;
    min-width: 0 !important;
}

.nav-tabs .nav-link {
    width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding: 0.75rem 0.5rem !important;
}

/* 确保标签页在小屏幕上也能正常显示 */
@media (max-width: 576px) {
    .nav-tabs .nav-link {
        font-size: 0.875rem !important;
        padding: 0.5rem 0.25rem !important;
    }
    
    .nav-tabs .nav-link i {
        display: block !important;
        margin-bottom: 0.25rem !important;
    }
}

/* 自定义Bootstrap渐变类 */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #2d5a2f 100%) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, var(--info-color) 0%, var(--primary-color) 100%) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}

/* Little Red Book style explore page */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile-first responsive design */
@media (max-width: 640px) {
    .plan-card {
        margin-bottom: 1rem;
    }
    
    .plan-image {
        aspect-ratio: 4/3;
    }
}

/* Tablet and desktop improvements */
@media (min-width: 641px) {
    #plansFeed {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .plan-card {
        margin-bottom: 0;
    }
}

/* Smooth animations */
.plan-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Loading states */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}



.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 卡片样式 */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 25px var(--shadow-color);
    transition: all 0.4s ease;
    overflow: hidden;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 181, 246, 0.2);
    position: relative;
}

/* Add subtle travel-themed corner decoration to cards */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 30px 30px 0;
    border-color: transparent rgba(149, 215, 193, 0.1) transparent transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::after {
    opacity: 1;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px var(--shadow-hover);
    border-color: rgba(100, 181, 246, 0.4);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* 步骤样式 */
.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px var(--shadow-color);
}

/* Feature card styling */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-icon-wrapper {
    position: relative;
    display: inline-block;
}

.feature-icon-wrapper i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.feature-icon-wrapper .icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    opacity: 0.1;
    transition: all 0.3s ease;
    z-index: 1;
}

.feature-card:hover .feature-icon-wrapper i {
    transform: scale(1.1);
}

.feature-card:hover .feature-icon-wrapper .icon-bg {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.2);
}

/* 统计样式 - General stats (not admin dashboard) */
.stats-section .stat-item {
    padding: 1rem;
}

.stats-section .stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Admin Dashboard Stats - High specificity to override Bootstrap */
.container-fluid .dashboard-stats .stat-item {
    flex: 1 !important;
    min-width: 200px !important;
    background: white !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    text-align: center !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    margin-bottom: 0 !important;
}

.container-fluid .dashboard-stats .stat-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

.container-fluid .dashboard-stats .stat-icon {
    font-size: 2.5rem !important;
    margin-bottom: 0.5rem !important;
    color: #007bff !important;
    display: block !important;
}

.container-fluid .dashboard-stats .stat-title {
    font-size: 0.875rem !important;
    color: #6c757d !important;
    margin-bottom: 0.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-weight: 500 !important;
    display: block !important;
}

.container-fluid .dashboard-stats .stat-number {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #212529 !important;
    margin-bottom: 0.25rem !important;
    display: block !important;
    line-height: 1.2 !important;
}

.container-fluid .dashboard-stats .stat-change {
    font-size: 0.75rem !important;
    color: #6c757d !important;
    display: block !important;
    margin-bottom: 0 !important;
}

.container-fluid .dashboard-stats .stat-change.positive {
    color: #28a745 !important;
}

.container-fluid .dashboard-stats .stat-change.negative {
    color: #dc3545 !important;
}

.container-fluid .dashboard-stats {
    margin-bottom: 2rem !important;
    width: 100% !important;
    display: block !important;
}

/* Override Bootstrap's col classes when used in dashboard stats */
.container-fluid .dashboard-stats .col-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.container-fluid .dashboard-stats .stats-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    margin: 0 -0.5rem !important;
    width: 100% !important;
}

/* Responsive dashboard stats - High specificity */
@media (max-width: 768px) {
    .container-fluid .dashboard-stats .stats-row {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .container-fluid .dashboard-stats .stat-item {
        min-width: auto !important;
        padding: 1rem !important;
        flex: none !important;
    }
    
    .container-fluid .dashboard-stats .stat-number {
        font-size: 1.5rem !important;
    }
    
    .container-fluid .dashboard-stats .stat-icon {
        font-size: 2rem !important;
    }
}

/* 加载样式 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 微信登录按钮 */
.wechat-login-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.wechat-login-btn .btn {
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 表单样式 */
.form-control {
    border-radius: 10px;
    border: 2px solid var(--border-color);
    padding: 12px 15px;
    transition: all 0.3s ease;
    background-color: white;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(4, 98, 194, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* 按钮样式 */
.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-hover);
    color: white;
}

.btn-primary span {
    position: relative;
    z-index: 2;
}

.btn-success {
    background: var(--gradient-accent);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4DD0E1 0%, #64B5F6 100%);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-success:hover::before {
    left: 0;
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(77, 208, 225, 0.4);
    color: white;
}

.btn-success span {
    position: relative;
    z-index: 2;
}

.btn-info {
    background: linear-gradient(135deg, var(--info-color), var(--primary-color));
    border: none;
    color: white;
}

.btn-info:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(106, 178, 242, 0.4);
    color: white;
}

/* Add sliding gradient effects to other button types */
.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-danger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-danger:hover::before {
    left: 0;
}

.btn-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
    color: white;
}

.btn-danger span {
    position: relative;
    z-index: 2;
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5a6268 0%, #6c757d 100%);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.4);
    color: white;
}

.btn-secondary span {
    position: relative;
    z-index: 2;
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0a800 0%, #ffc107 100%);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-warning:hover::before {
    left: 0;
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
    color: white;
}

.btn-warning span {
    position: relative;
    z-index: 2;
}

/* Button size variants with proper z-index and animations */
.btn-sm,
.btn-lg {
    position: relative;
    overflow: hidden;
}

.btn-sm *,
.btn-lg * {
    position: relative;
    z-index: 2;
}

/* Ensure small and large buttons also have sliding effects */
.btn-sm.btn-primary::before,
.btn-lg.btn-primary::before,
.btn-sm.btn-success::before,
.btn-lg.btn-success::before,
.btn-sm.btn-danger::before,
.btn-lg.btn-danger::before,
.btn-sm.btn-secondary::before,
.btn-lg.btn-secondary::before,
.btn-sm.btn-warning::before,
.btn-lg.btn-warning::before,
.btn-sm.btn-info::before,
.btn-lg.btn-info::before {
    z-index: 1;
}

.btn-sm.btn-outline-primary::before,
.btn-lg.btn-outline-primary::before,
.btn-sm.btn-outline-secondary::before,
.btn-lg.btn-outline-secondary::before,
.btn-sm.btn-outline-success::before,
.btn-lg.btn-outline-success::before,
.btn-sm.btn-outline-danger::before,
.btn-lg.btn-outline-danger::before,
.btn-sm.btn-outline-warning::before,
.btn-lg.btn-outline-warning::before,
.btn-sm.btn-outline-info::before,
.btn-lg.btn-outline-info::before,
.btn-sm.btn-outline-light::before,
.btn-lg.btn-outline-light::before {
    z-index: 1;
}

/* Ensure button text appears above animation effects */
.btn-primary,
.btn-success,
.btn-info,
.btn-danger,
.btn-secondary,
.btn-warning {
    position: relative;
}

.btn-primary span,
.btn-success span,
.btn-info span,
.btn-danger span,
.btn-secondary span,
.btn-warning span {
    position: relative;
    z-index: 2;
}

/* For buttons without span tags, ensure text is above effects */
.btn-primary:not(:has(span)),
.btn-success:not(:has(span)),
.btn-info:not(:has(span)),
.btn-danger:not(:has(span)),
.btn-secondary:not(:has(span)),
.btn-warning:not(:has(span)) {
    z-index: 2;
}

/* Ensure all button text content is above animations */
.btn {
    color: inherit;
}

.btn::before {
    z-index: 1;
}

.btn > * {
    position: relative;
    z-index: 2;
}

/* Specific fix for buttons with direct text content */
.btn:not(:has(span)) {
    color: inherit;
}

.btn:not(:has(span))::before {
    z-index: 1;
}

.btn:not(:has(span)) {
    z-index: 2;
}

/* General rule for all buttons to ensure text is above effects */
.btn {
    position: relative;
    overflow: hidden;
}

.btn:not(:has(span)) {
    z-index: 2;
}

/* Ensure all button text elements have proper z-index */
.btn * {
    position: relative;
    z-index: 2;
}

/* Ensure button text and icons are always above hover effects */
.btn i,
.btn svg,
.btn::after {
    position: relative;
    z-index: 2;
}

/* Override any conflicting z-index rules for button content */
.btn {
    position: relative;
}

.btn > * {
    position: relative !important;
    z-index: 2 !important;
}


/* Apply sliding gradient effects to all button types */
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info,
.btn-outline-light {
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 2px solid;
    transition: all 0.3s ease;
}

/* Ensure all buttons have proper positioning for pseudo-elements */
.btn {
    position: relative;
    overflow: hidden;
    color: inherit;
}

.btn > * {
    position: relative !important;
    z-index: 2 !important;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-outline-primary:hover::before {
    left: 0;
}

.btn-outline-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-hover);
    color: white;
    border-color: transparent;
}

.btn-outline-secondary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-outline-secondary:hover::before {
    left: 0;
}

.btn-outline-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-hover);
    color: white;
    border-color: transparent;
}

.btn-outline-success {
    border-color: var(--success-color);
    color: var(--success-color);
}

.btn-outline-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-outline-success:hover::before {
    left: 0;
}

.btn-outline-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(77, 208, 225, 0.4);
    color: white;
    border-color: transparent;
}

.btn-outline-danger {
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.btn-outline-danger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-outline-danger:hover::before {
    left: 0;
}

.btn-outline-danger:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
    color: white;
    border-color: transparent;
}

.btn-outline-warning {
    border-color: var(--warning-color);
    color: var(--warning-color);
}

.btn-outline-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-outline-warning:hover::before {
    left: 0;
}

.btn-outline-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
    color: white;
    border-color: transparent;
}

.btn-outline-info {
    border-color: var(--info-color);
    color: var(--info-color);
}

.btn-outline-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--info-color) 0%, var(--primary-color) 100%);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-outline-info:hover::before {
    left: 0;
}

.btn-outline-info:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(106, 178, 242, 0.4);
    color: white;
    border-color: transparent;
}

/* Ensure button text has good contrast and readability */
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-warning,
.btn-outline-info {
    font-weight: 500;
}

/* Additional contrast for dark backgrounds */
.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-success:hover,
.btn-outline-danger:hover,
.btn-outline-warning:hover,
.btn-outline-info:hover {
    color: white !important;
    font-weight: 600;
}

.btn-outline-light {
    border-color: var(--light-color);
    color: var(--light-color);
}

.btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: left 0.3s ease;
    z-index: 1;
}

.btn-outline-light:hover::before {
    left: 0;
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(248, 249, 250, 0.4);
    color: #495057;
    border-color: transparent;
}

/* 徽章样式 */
.badge {
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.badge-primary {
    background-color: var(--primary-color);
    color: white;
}

.badge-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.badge-success {
    background-color: var(--success-color);
    color: white;
}

.badge-info {
    background-color: var(--info-color);
    color: white;
}

/* 攻略卡片样式 */
.plan-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    background: var(--card-bg);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 181, 246, 0.2);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-card:hover::before {
    opacity: 1;
}

.plan-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 90%, rgba(100, 181, 246, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(77, 208, 225, 0.05) 0%, transparent 30%);
    pointer-events: none;
    z-index: 1;
}

.plan-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px var(--shadow-hover);
    border-color: rgba(100, 181, 246, 0.4);
}

.plan-card .card-body {
    position: relative;
    z-index: 2;
}

.plan-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.plan-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.plan-tags {
    margin-top: 1rem;
}

.plan-tags .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stats-section .stat-number {
        font-size: 2rem;
    }
    
    /* Mobile feature cards - reduced size */
    .feature-card .card-body {
        padding: 1rem;
    }
    
    .feature-card .feature-icon-wrapper i {
        font-size: 2rem !important;
    }
    
    .feature-card .feature-icon-wrapper .icon-bg {
        width: 60px;
        height: 60px;
    }
    
    .feature-card .card-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-card .card-text {
        font-size: 0.875rem;
        line-height: 1.4;
        margin-bottom: 0;
    }
    
    .feature-card .mb-3 {
        margin-bottom: 0.75rem !important;
    }
    
    /* Reduce spacing between feature cards */
    .features-section .col-md-4 {
        margin-bottom: 1rem;
    }
    
    .features-section .col-md-4:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    /* Extra compact feature cards for small mobile */
    .feature-card .card-body {
        padding: 0.75rem;
    }
    
    .feature-card .feature-icon-wrapper i {
        font-size: 1.75rem !important;
    }
    
    .feature-card .feature-icon-wrapper .icon-bg {
        width: 50px;
        height: 50px;
    }
    
    .feature-card .card-title {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .feature-card .card-text {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .feature-card .mb-3 {
        margin-bottom: 0.5rem !important;
    }
    
    /* Reduce section spacing */
    .features-section {
        margin-bottom: 3rem;
    }
    
    .features-section .col-md-4 {
        margin-bottom: 0.75rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.floating-icon {
    z-index: 3;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* CSS-based travel decorative elements */
.travel-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.travel-decoration::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: rgba(100, 181, 246, 0.2);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.travel-decoration::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 40px;
    height: 40px;
    background: rgba(77, 208, 225, 0.3);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
    pointer-events: none;
}

/* Additional decorative elements */
.hero-section .travel-decoration .decoration-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(254, 254, 253, 0.6);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
    pointer-events: none;
}

.hero-section .travel-decoration .decoration-dot:nth-child(1) {
    top: 30%;
    left: 15%;
    animation-delay: 0s;
}

.hero-section .travel-decoration .decoration-dot:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: -2s;
}

.hero-section .travel-decoration .decoration-dot:nth-child(3) {
    bottom: 25%;
    left: 25%;
    animation-delay: -4s;
}

.hero-section .travel-decoration .decoration-dot:nth-child(4) {
    bottom: 40%;
    right: 15%;
    animation-delay: -6s;
}

/* Travel-themed decorative patterns */
.travel-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(100, 181, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(77, 208, 225, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(254, 254, 253, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* 工具提示样式 */
.tooltip {
    font-size: 0.875rem;
}

.tooltip-inner {
    background-color: var(--dark-color);
    border-radius: 8px;
    padding: 8px 12px;
}

/* 模态框样式 */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(4, 98, 194, 0.3);
    background-color: white;
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    background-color: var(--light-color);
}

.modal-body {
    padding: 1.5rem;
    background-color: white;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    background-color: var(--background-light);
}

/* 进度条样式 */
.progress {
    height: 8px;
    border-radius: 10px;
    background-color: var(--border-color);
}

.progress-bar {
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
}

/* 警告框样式 */
.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: var(--success-color);
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
}

.alert-info {
    background: linear-gradient(135deg, var(--light-color), #bee5eb);
    color: var(--primary-color);
}

/* 导航栏背景 */
.navbar-dark.bg-primary {
    background: var(--gradient-primary) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(100, 181, 246, 0.3);
    box-shadow: 0 2px 20px var(--shadow-color);
}

/* 页脚样式 */
footer.bg-light {
    background: linear-gradient(135deg, var(--light-color) 0%, rgba(100, 181, 246, 0.1) 100%) !important;
    color: var(--text-primary);
    border-top: 1px solid rgba(100, 181, 246, 0.3);
}

.footer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.travel-icon {
    animation: float 8s ease-in-out infinite;
}

.travel-icon:nth-child(2) {
    animation-delay: -2s;
}

.travel-icon:nth-child(3) {
    animation-delay: -4s;
}

.travel-icon:nth-child(4) {
    animation-delay: -6s;
}

/* Footer decoration dots */
.footer-decoration-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.footer-decoration-dot:nth-child(2) {
    animation-delay: -2s;
}

.footer-decoration-dot:nth-child(3) {
    animation-delay: -4s;
}

.footer-decoration-dot:nth-child(4) {
    animation-delay: -6s;
}

/* 链接样式 */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 主要内容区域 */
main.container {
    position: relative;
}

main.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(100, 181, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(77, 208, 225, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(254, 254, 253, 0.02) 0%, transparent 50%),
        linear-gradient(45deg, transparent 40%, rgba(30, 136, 229, 0.01) 50%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* Additional travel-themed background patterns */
.travel-bg-pattern {
    position: relative;
}

.travel-bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 98%, rgba(100, 181, 246, 0.1) 100%),
        linear-gradient(0deg, transparent 98%, rgba(77, 208, 225, 0.1) 100%);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: -1;
}

/* 文本颜色 */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-info {
    color: var(--info-color) !important;
}

/* 背景色类 */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.bg-success {
    background-color: var(--success-color) !important;
}

.bg-info {
    background-color: var(--info-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

/* 边框颜色 */
.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

.border-success {
    border-color: var(--success-color) !important;
}

.border-info {
    border-color: var(--info-color) !important;
}

/* Klook Banner Styles */
#klook-banners-container {
    margin: 1rem 0;
    min-height: 90px; /* Ensure minimum height for banners */
}

.mobile-banner-container {
    width: 100%;
}

.mobile-banner-container .row {
    margin: 0;
}

.mobile-banner-container .col-6 {
    padding: 0 2px; /* Small gap between mobile banners */
}

.desktop-banner {
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
    text-align: center;
}

/* Ensure banner content is responsive */
#klook-banners-container iframe,
#klook-banners-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile banner specific styles */
@media (max-width: 768px) {
    .mobile-banner-container .col-6 {
        padding: 0 1px;
    }
    
    #klook-banners-container {
        margin: 0.5rem 0;
    }
}

/* Ensure banners don't break layout */
#klook-banners-container * {
    box-sizing: border-box;
}

/* Hide banners if they fail to load */
#klook-banners-container:empty {
    display: none;
}

/* Final override for dashboard stats - highest priority */
body .container-fluid .dashboard-stats .stat-item {
    all: unset !important;
    display: block !important;
    flex: 1 !important;
    min-width: 200px !important;
    background: white !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    padding: 1.5rem !important;
    text-align: center !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    margin-bottom: 0 !important;
}

body .container-fluid .dashboard-stats .stat-icon {
    all: unset !important;
    display: block !important;
    font-size: 2.5rem !important;
    margin-bottom: 0.5rem !important;
    color: #007bff !important;
}

body .container-fluid .dashboard-stats .stat-title {
    all: unset !important;
    display: block !important;
    font-size: 0.875rem !important;
    color: #6c757d !important;
    margin-bottom: 0.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-weight: 500 !important;
}

body .container-fluid .dashboard-stats .stat-number {
    all: unset !important;
    display: block !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #212529 !important;
    margin-bottom: 0.25rem !important;
    line-height: 1.2 !important;
}

body .container-fluid .dashboard-stats .stat-change {
    all: unset !important;
    display: block !important;
    font-size: 0.75rem !important;
    color: #6c757d !important;
    margin-bottom: 0 !important;
}

body .container-fluid .dashboard-stats .stats-row {
    all: unset !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    margin: 0 -0.5rem !important;
    width: 100% !important;
}

/* ===== Directions and Enhanced Map Markers ===== */

/* Enhanced custom marker styles */
.custom-marker {
    background: white;
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    text-align: center;
    min-width: 140px;
    border: 2px solid #007bff;
}

.marker-number {
    background: #007bff;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 24px;
    margin: 0 auto 4px;
    font-weight: bold;
    font-size: 12px;
}

.marker-info {
    margin-bottom: 6px;
}

.marker-name {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 2px;
    color: #333;
    line-height: 1.2;
}

.marker-time {
    font-size: 10px;
    color: #666;
    font-style: italic;
}

.marker-actions {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 4px;
}

.marker-actions .btn {
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 4px;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-actions .btn i {
    font-size: 10px;
}

/* Directions modal styles */
.directions-modal .modal-dialog {
    max-width: 800px;
}

.directions-modal .card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

.directions-modal .card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.directions-modal .card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.directions-modal .card-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.directions-modal .btn {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.directions-modal .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.directions-modal .btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

/* Taxi booking modal styles */
.taxi-booking-modal .modal-dialog {
    max-width: 500px;
}

.taxi-booking-modal .modal-body {
    padding: 2rem;
}

.taxi-booking-modal .row {
    margin-bottom: 1rem;
}

.taxi-booking-modal .text-success {
    color: #28a745 !important;
    font-weight: 600;
}

.taxi-booking-modal .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
}

/* Route display styles */
.route-polyline {
    stroke-width: 4;
    stroke-opacity: 0.8;
}

.route-driving {
    stroke: #007bff;
}

.route-walking {
    stroke: #28a745;
}

.route-bus {
    stroke: #ffc107;
}

/* Loading states */
.directions-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.directions-loading .spinner-border {
    width: 2rem;
    height: 2rem;
    color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-marker {
        min-width: 120px;
        padding: 6px;
    }
    
    .marker-actions .btn {
        padding: 1px 4px;
        font-size: 9px;
        min-width: 20px;
        height: 20px;
    }
    
    .directions-modal .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .directions-modal .col-md-4 {
        margin-bottom: 1rem;
    }
}

/* Animation for route display */
@keyframes routeDraw {
    from {
        stroke-dasharray: 1000;
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dasharray: 1000;
        stroke-dashoffset: 0;
    }
}

.route-polyline.animating {
    animation: routeDraw 2s ease-in-out;
}
