:root {
    --primary-color: #0A84FF; /* 优化的iOS蓝色，更鲜亮 */
    --secondary-color: #64D2FF; /* 优化的iOS浅蓝色 */
    --accent-color: #30D158; /* 优化的iOS绿色 */
    --light-color: #F5F5F7; /* 优化的iOS浅灰色背景 */
    --dark-color: #1D1D1F; /* 优化的iOS深色 */
    --text-primary: #1D1D1F; /* 主要文字颜色 */
    --text-secondary: #6E6E73; /* 次要文字颜色 */
    --text-tertiary: #86868B; /* 第三级文字颜色 */
    --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    --card-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.12);
    --card-border-radius: 16px; /* 统一的卡片圆角 */
    --transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-color);
    color: var(--dark-color);
    padding-bottom: 80px; /* 为底部导航栏留出空间 */
    padding-top: 67px; /* 增加顶部padding，为header和日期选择器留出足够空间 */
}


/* 固定日期选择器 */
.day-selector-fixed {
    position: fixed;
    top: 0; /* header高度 */
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    padding: 8px 15px; /* 增加内边距 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: auto; /* 确保高度自适应内容 */
    overflow-x: hidden; /* 移除横向滚动条 */
}

/* 内容区域 */
.content-container {
    padding: 15px;
}

/* 标签页内容 */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 景点详情弹窗 */
.attraction-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    overflow-y: auto;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 70px auto 30px;
    width: 90%;
    max-width: 500px;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.modal-header h3 {
    margin: 0;
    font-weight: 600;
    font-size: 1.2rem;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    transition: var(--transition);
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 0;
}

.modal-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 20px;
}

.modal-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.modal-sub-attractions h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
}

.sub-attraction-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-attraction-list li {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.sub-attraction-list li:last-child {
    border-bottom: none;
}

.sub-attraction-list li i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.sub-attraction-list .sub-attraction-name {
    font-weight: 500;
    color: var(--text-primary);
}

.sub-attraction-list .sub-attraction-desc {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-top: 3px;
}

/* 底部导航栏 */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #8E8E93;
    text-decoration: none;
    font-size: 0.7rem;
    padding: 5px 0;
    transition: var(--transition);
}

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

.tab-item i {
    font-size: 1.5rem;
    margin-bottom: 3px;
}

/* 卡片样式优化 */
.ios-card {
    background-color: white;
    border-radius: var(--card-border-radius);
    padding: var(--spacing-md) var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.ios-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.ios-card h3 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

.ios-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.ios-card p strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* 重要信息详情卡片特定样式 */
.info-detail-card {
    margin-top: var(--spacing-md); /* 与上方标题卡片间距 */
}

.info-card-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-card-header h5 {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0; /* 移除默认的 h5 下边距 */
}

.info-card-body ul {
    list-style: none;
    padding-left: 0; /* 移除默认的 ul 左内边距 */
    margin-bottom: 0; /* 移除默认的 ul 下边距 */
}

.info-card-body ul li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-card-body p strong {
    font-weight: 500;
}

.info-card-body hr {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card-body a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-card-body a:hover {
    text-decoration: underline;
}

/* 日期容器样式 */
.day-container {
    margin-bottom: 30px;
    position: relative;
}

/* 日期标题优化 */
.day-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: white;
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.day-title:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.day-title .date {
    display: flex;
    align-items: center;
    letter-spacing: -0.02em;
}

.day-title small {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: var(--spacing-sm);
}

.day-title .weather {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    background-color: rgba(10, 132, 255, 0.08);
    padding: 6px 12px;
    border-radius: 20px;
}

.day-title .weather i {
    font-size: 1.2rem;
    margin-right: var(--spacing-sm);
}

/* 景点卡片样式 */
.attraction-card {
    background-color: white;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    margin-bottom: var(--spacing-md); /* 减小底部间距 */
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    cursor: pointer;
}

.attraction-card::after {
    content: '点击查看详情';
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(10, 132, 255, 0.8);
    color: white;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    opacity: 0;
    transition: var(--transition);
}

.attraction-card:hover::after {
    opacity: 1;
}

.attraction-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
}

/* 景点图片样式 */
.attraction-card .card-image {
    width: 100%;
    height: 180px; /* 减小图片高度 */
    object-fit: cover;
}

/* 卡片内容区域 */
.attraction-card .card-content {
    padding: var(--spacing-md) var(--spacing-md); /* 减小内边距 */
}

/* 景点标题 */
.attraction-card .card-title {
    font-size: 1.2rem; /* 减小标题字体 */
    font-weight: 700;
    margin-bottom: var(--spacing-sm); /* 减小标题底部间距 */
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* 标签容器 */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs); /* 进一步减小标签间距 */
    margin-bottom: var(--spacing-xs); /* 减小标签下边距 */
}

/* 通用标签样式 */
.time-tag, .location-tag, .transport-tag {
    display: flex;
    align-items: center;
    color: white;
    padding: 4px 10px; /* 减小内边距 */
    border-radius: 16px; /* 减小圆角 */
    font-size: 0.75rem; /* 减小字体大小 */
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.time-tag:hover, .location-tag:hover, .transport-tag:hover {
    transform: translateY(-1px); /* 减小悬停效果 */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

/* 时间标签 */
.time-tag {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color), #0070E0);
}

/* 地点标签 */
.location-tag {
    background-color: var(--secondary-color);
    background-image: linear-gradient(135deg, var(--secondary-color), #4ABAEC);
}

/* 交通方式标签 */
.transport-tag {
    background-color: var(--accent-color);
    background-image: linear-gradient(135deg, var(--accent-color), #26B849);
}

/* 标签图标通用样式 */
.time-tag i, .location-tag i, .transport-tag i {
    margin-right: var(--spacing-xs); /* 减小图标右边距 */
    font-size: 0.8rem; /* 减小图标大小 */
}

/* 卡片描述 */
.card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.attraction-card .card-description {
    font-size: 0.85rem; /* 调整描述文字大小 */
    line-height: 1.5; /* 调整行高 */
    margin-bottom: var(--spacing-sm); /* 调整描述下边距 */
}

/* 卡片底部 */
.card-footer {
    display: flex;
    justify-content: flex-end;
}

.attraction-card .card-footer {
    padding: var(--spacing-sm) var(--spacing-md); /* 调整页脚内边距 */
}

/* 连接线 */
.day-container::before {
    /* content: ''; */
    position: absolute;
    left: 20px;
    top: 70px;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
    opacity: 0.2;
    z-index: 0;
}

.attraction-card::before {
    /* content: ''; */
    position: absolute;
    left: 20px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: 1;
}

/* 简单事件卡片 */
.simple-card {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: var(--card-border-radius);
    padding: var(--spacing-md) var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.simple-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.simple-card .time-tag {
    margin-right: var(--spacing-md);
}

.simple-card .card-content {
    padding: var(--spacing-md);
    flex-grow: 1; /* 内容区占据剩余空间 */
}

.simple-card .card-description.mb-1 {
    margin-bottom: var(--spacing-xs) !important;
}

.simple-card .card-description.mb-0 {
    margin-bottom: 0 !important;
}

.simple-card .card-description.mb-1 {
    margin-bottom: var(--spacing-xs) !important;
}

.simple-card .card-description.mb-0 {
    margin-bottom: 0 !important;
}

.simple-card .card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.simple-card .card-description {
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
}

.simple-card .card-footer {
    margin-left: var(--spacing-md);
}

/* 天气信息优化 - 保留旧版样式用于兼容 */
.weather-info {
    background-color: var(--light-color);
    border-radius: 12px;
    padding: 10px 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.weather-info i {
    font-size: 1.5rem;
    margin-right: 10px;
}

/* 行程项目优化 */
.schedule-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.schedule-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* 添加时间轴 */
.schedule-item::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 30px;
    bottom: -20px;
    width: 2px;
    background-color: rgba(0, 0, 0, 0.05);
    z-index: 1;
}

/* 有图片的事件项布局 */
.schedule-item-with-image {
    flex-direction: column;
}

.schedule-item-with-image .time {
    align-self: flex-start;
    margin-bottom: 10px;
    margin-right: 0;
}

.schedule-item-with-image::before {
    left: 35px;
    top: 40px;
}

.schedule-item:last-child::before {
    display: none;
}

/* 时间显示优化 */
.time {
    min-width: 70px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 10px;
    border-radius: 8px;
    text-align: center;
    margin-right: 15px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.2);
}

.time i {
    margin-right: 5px;
    font-size: 0.9rem;
}

/* 事件内容优化 */
.event {
    flex: 1;
    background-color: #FAFAFA;
    border-radius: 12px;
    padding: 15px;
}

.event h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.event p {
    font-size: 0.9rem;
    color: #8E8E93;
    margin-bottom: 8px;
}

/* 景点图片样式 */
.attraction-image {
    width: 100%;
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; /* 添加指针样式，表明可点击 */
}

.attraction-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* 景点信息布局 */
.attraction-info {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: start;
}

.attraction-info h5 {
    grid-column: 1;
    margin-bottom: 5px;
}

.attraction-info p {
    grid-column: 1;
}

.attraction-info .ios-btn {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    margin-top: 0;
}

/* 按钮优化 */
.ios-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color), #0070E0);
    color: white;
    padding: 10px 18px;
    border-radius: 22px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    margin-top: var(--spacing-md);
    box-shadow: 0 4px 12px rgba(10, 132, 255, 0.3);
    letter-spacing: 0.01em;
}

.ios-btn:hover, .ios-btn:active {
    background-color: #0070E0;
    background-image: linear-gradient(135deg, #0070E0, var(--primary-color));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(10, 132, 255, 0.4);
}

.ios-btn i {
    margin-right: var(--spacing-sm);
    font-size: 1rem;
}

/* 行程标签页样式 */
#itinerary-tab {
    padding-bottom: 20px;
}

/* 行程日期选择器 */
.itinerary-day-selector {
    display: flex;
    overflow-x: auto;
    /* padding: var(--spacing-md) 0; */
    /* margin-bottom: var(--spacing-md); */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scrollbar-color: var(--primary-color) transparent;
}

.itinerary-day-selector::-webkit-scrollbar {
    height: 4px;
}

.itinerary-day-selector::-webkit-scrollbar-track {
    background: transparent;
}

.itinerary-day-selector::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 20px;
}

/* 日期按钮 */
.itinerary-day-btn {
    display: flex;
    align-items: center;
    background-color: var(--light-color);
    border: none;
    padding: 10px 18px;
    margin-right: var(--spacing-md);
    border-radius: 22px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.itinerary-day-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.itinerary-day-btn i {
    font-size: 0.95rem;
    margin-right: var(--spacing-sm);
}

.itinerary-day-btn.active {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color), #0070E0);
    color: white;
    box-shadow: 0 4px 12px rgba(10, 132, 255, 0.3);
}

/* 详情页样式 */
#details-tab .ios-card {
    background-color: #ffffff;
    border-radius: var(--card-border-radius);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

#details-tab .ios-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
}

#details-tab .ios-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid #e0e0e0;
}

#details-tab .ios-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

#details-tab .ios-card p strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* 重要信息详情卡片特定样式 */
.info-detail-card {
    margin-top: var(--spacing-md); /* 与上方标题卡片间距 */
}

.info-card-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-card-header h5 {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0; /* 移除默认的 h5 下边距 */
}

.info-card-body ul {
    list-style: none;
    padding-left: 0; /* 移除默认的 ul 左内边距 */
    margin-bottom: 0; /* 移除默认的 ul 下边距 */
}

.info-card-body ul li {
    margin-bottom: var(--spacing-xs);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-card-body p strong {
    font-weight: 500;
}

.info-card-body hr {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.info-card-body a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-card-body a:hover {
    text-decoration: underline;
}

#details-tab .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px dashed #e0e0e0;
}

#details-tab .info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

#details-tab .info-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: var(--spacing-md);
    margin-top: 5px; /* 微调图标垂直对齐 */
}

#details-tab .info-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

#details-tab .info-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
}

#details-tab .info-item p.mt-2 {
    margin-top: var(--spacing-md) !important;
}

#details-tab .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#details-tab .contact-list li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

#details-tab .contact-list li i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: var(--spacing-sm);
}

#details-tab .notes-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid #e0e0e0;
}

#details-tab .notes-section ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

#details-tab .notes-section ul li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

/* 信息项目 */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-2px);
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-right: var(--spacing-md);
    margin-top: 2px;
    background-color: rgba(10, 132, 255, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.info-item h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.info-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.5;
}

/* 贴士列表 */
.tips-list {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.tips-list li {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    position: relative;
    padding-left: 24px;
    line-height: 1.5;
    transition: var(--transition);
}

.tips-list li:hover {
    transform: translateX(3px);
    color: var(--text-primary);
}

.tips-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.2);
    transition: var(--transition);
}

.tips-list li:hover:before {
    background-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.3);
}

/* 地图容器 */
#map-container {
    height: calc(100vh - 180px);
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 15px;
}

/* 确保地图标签页内容区域有足够的高度 */
#map-tab {
    height: calc(100vh - 180px); /* 减去header和tab-bar的高度 */
    padding: 0;
}

#map {
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* 地图控件 */
.map-controls {
    background-color: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.day-selector {
    display: flex;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
}

.day-btn {
    background-color: #F2F2F7;
    border: none;
    padding: 8px 15px;
    margin-right: 8px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #8E8E93;
    white-space: nowrap;
    transition: var(--transition);
}

.day-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* 景点图片展示样式 */
.attraction-gallery {
    padding: 0;
}

.attraction-gallery h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--spacing-lg) 0 var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    letter-spacing: -0.01em;
}

.gallery-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    cursor: pointer; /* 添加指针样式，表明可点击 */
}

.gallery-item:hover {
    transform: translateY(-3px);
}

.gallery-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.gallery-item p {
    margin-top: var(--spacing-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 576px) {
    .gallery-row {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* 出行方式样式 */
.transport-method {
    color: #8E8E93;
    font-size: 0.85rem;
    font-style: italic;
}

/* 交通卡片样式 */
.transport-card {
    background-color: white;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.transport-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
}

.transport-card-header {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 15px;
    display: flex;
    align-items: center;
}

.transport-card-header i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.transport-card-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.transport-card-body {
    display: flex;
    padding: 0;
}

.transport-card-departure,
.transport-card-arrival {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.transport-card-time {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.transport-card-location {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.transport-card-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.transport-card-local {
    font-size: 0.7rem;
    color: var(--text-tertiary);
}

.transport-card-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    width: 60px;
}

.transport-card-divider-line {
    flex-grow: 1;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    position: relative;
}

.transport-card-divider-icon {
    background-color: var(--light-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
    color: var(--primary-color);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.transport-card-footer {
    padding: 10px 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--light-color);
}

.transport-card-duration {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.transport-card-number {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-color);
}

/* 酒店卡片样式 */
.hotel-card-body {
    display: flex;
    padding: 15px;
}

.hotel-card-image {
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.hotel-card-image i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.hotel-card-info {
    flex: 1;
}

.hotel-card-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.hotel-card-address {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.hotel-card-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 3px;
}

.hotel-card-nights {
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.hotel-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.hotel-nav-btn:hover {
    background-color: #0070E0;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.hotel-nav-btn i {
    margin-right: 5px;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content.active {
    animation: fadeIn 0.3s ease-out;
}

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

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

.modal-container {
    background-color: white;
    border-radius: var(--card-border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.modal-body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.modal-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modal-image:hover {
    transform: scale(1.05);
}

.modal-info {
    padding: 20px;
}

.modal-section {
    margin-bottom: 20px;
}

.modal-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    letter-spacing: -0.01em;
}

.modal-section h3 i {
    margin-right: 8px;
    color: var(--primary-color);
}

.modal-section p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.modal-attractions-list, .modal-tips-list {
    padding-left: 0;
    list-style: none;
}

.modal-attractions-list li, .modal-tips-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
    line-height: 1.5;
    transition: var(--transition);
}

.modal-attractions-list li:before, .modal-tips-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(10, 132, 255, 0.2);
    transition: var(--transition);
}

.modal-attractions-list li:hover, .modal-tips-list li:hover {
    transform: translateX(3px);
    color: var(--text-primary);
}

.modal-attractions-list li:hover:before, .modal-tips-list li:hover:before {
    background-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.3);
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: flex-end;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    bottom: 0;
}

@media (max-width: 576px) {
    .modal-container {
        width: 95%;
        max-height: 85vh;
    }

    .modal-image-container {
        height: 150px;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .modal-section h3 {
        font-size: 1rem;
    }
}