/* AI旅游行程规划样式文件 */

/* 模态框样式 */
#itineraryModal {
    backdrop-filter: blur(4px);
}

#itineraryContent {
    max-height: 70vh;
    overflow-y: auto;
}

/* 行程卡片样式 */
.itinerary-day {
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    border-left: 4px solid #0ea5e9;
}

.itinerary-day h3 {
    color: #0ea5e9;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.itinerary-item {
    background: white;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.itinerary-item:hover {
    border-color: #0ea5e9;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.itinerary-item .time {
    color: #0ea5e9;
    font-weight: 500;
    font-size: 14px;
}

.itinerary-item .title {
    font-weight: 600;
    margin: 4px 0;
}

.itinerary-item .description {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
}

.itinerary-item .location {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
}

/* 预算详情 */
.budget-breakdown {
    background: #f0f9ff;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.budget-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.budget-item:last-child {
    border-bottom: none;
    font-weight: 600;
    color: #0ea5e9;
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

/* 自定义滚动条 */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #0ea5e9;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #0284c7;
}