/* 旅游线路页面专用样式 - 避免与 style.css 冲突 */

/* 主布局区域 */
.travel-route-main {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

/* 左侧线路列表区域 */
.travel-route-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

/* 单个线路卡片样式 */
.travel-route-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 24px 0 rgba(0, 0, 0, 0.08);
    overflow: hidden;
    align-items: stretch;
    padding: 0 0 0 0px;
    border: 1.5px solid #e0e0e0;
    background-color: #f9f9fb;
    margin-right: 10px;
    height: 200px;
}

.travel-route-card-img {
    width: 180px;
    aspect-ratio: 16/9;
    object-fit: cover;
    flex-shrink: 0;
    align-self: stretch;
}

.travel-route-card-body {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
}

.travel-route-card-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
}

.travel-route-card-desc {
    color: #888;
    font-size: 14px;
    margin-bottom: 8px;
    /* 限制显示两行，超出部分显示省略号 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    height: 2.8em; /* 固定高度为两行的高度 (1.4em * 2) */
}

.travel-route-card-date {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

.travel-route-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.travel-route-card-price {
    color: #ff6600;
    font-size: 20px;
    font-weight: bold;
}

.travel-route-card-btn {
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.travel-route-card-btn:hover {
    background: #e65c00;
}

/* 右侧优势和表单区域 */
.travel-route-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.travel-route-why {
    background: #f6f5f5;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 24px 20px;
    margin-bottom: 0;
}

.travel-route-why-title {
    font-size: 18px;
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 12px;
    border-bottom: 4px solid #ff6600;
    display: inline-block;
    padding-bottom: 4px;
    width: 100%;
    text-align: center;
}

.travel-route-why-group {
    margin-bottom: 16px;
    margin-left: 20px;
}

.travel-route-why-group-title {
    font-weight: bold;
    margin: 16px 0 6px 0;
    font-size: 16px;
}

.travel-route-why-list {
    font-size: 15px;
    color: #444;
    margin: 0 0 0 18px;
    padding: 0;
}

.travel-route-why-list li {
    margin-bottom: 4px;
    list-style: disc;
}

.travel-route-form {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 24px 20px;
}

.travel-route-form-title {
    font-size: 17px;
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 16px;
    border-left: 4px solid #ff6600;
    padding-left: 8px;
}

.travel-route-form-group {
    display: flex;
    align-items: center;
    margin: 16px 0;
    background: #f7f7f7;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
}

.travel-route-form-group i {
    color: #ff6600;
    margin-right: 8px;
}

.travel-route-form-input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 15px;
}

.travel-route-form-btn {
    width: 100%;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 0;
    font-size: 17px;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.travel-route-form-btn:hover {
    background: #e65c00;
}

/* 响应式设计 */
@media (max-width: 900px) {
    .travel-route-main {
        flex-direction: column;
    }
    .travel-route-side {
        flex-direction: row;
        gap: 10px;
    }
    .travel-route-card {
        margin-right: 0;
        padding: 0;
    }
}

@media (max-width: 600px) {
    .travel-route-main {
        flex-direction: column;
        gap: 10px;
    }
    .travel-route-side {
        flex-direction: column;
    }
    .travel-route-card {
        flex-direction: column;
        margin-right: 0;
        padding: 0;
    }
    .travel-route-card-img {
        width: 100%;
        height: 180px;
    }
}

.travel-route-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
    width: 100%;
}

/* 默认列表模式（横向展示）样式优化 */
.travel-route-list:not(.grid-view) .travel-route-card {
    display: flex;
    flex-direction: row;
    align-items: stretch; /* 让子元素填满容器高度 */
}

.travel-route-list:not(.grid-view) .travel-route-card-img {
    height: 200px;
    width: 356px;
    aspect-ratio: 16/9;
    object-fit: cover;
    flex-shrink: 0;
    margin-right: 0;
}

.travel-route-list:not(.grid-view) .travel-route-card-body {
    flex: 1;
    width: calc(100% - 356px - 24px);
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
}

.travel-route-card-link:hover .travel-route-card {
    box-shadow: 0 12px 32px 0 rgba(255, 102, 0, 0.12);
    border-color: #ff6600;
}

/* 线路详情页样式 */
.travel-container.breadcrumb-container {
    margin-top: 24px;
    margin-bottom: 0;
    padding: 0 0 0 0;
}

.breadcrumb {
    font-size: 15px;
    background: #fff;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: #f60;
    text-decoration: none;
}
.breadcrumb .sep {
    margin: 0 6px;
    color: #b7b7b7;
}

/* 详情主区域布局 */
.travel-route-detail {
    flex: 2;
    background: #fff;
    border-radius: 12px;
    padding: 32px 32px 24px 32px;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.06);
}

.travel-route-detail h1 {
    font-size: 2.1rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #222;
}

.travel-route-detail .travel-route-subtitle {
    font-size: 1rem;
    color: #888;
    margin-bottom: 18px;
}

.travel-route-detail img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
}

.travel-route-detail p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 18px;
}

/* 发团日期和价格卡片 */
.travel-route-date-price-box {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
}

.travel-route-date-card {
    background: #f7f7f7;
    border-radius: 12px;
    padding: 24px 32px;
    flex: 1;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.04);
}

.travel-route-date-card table {
    width: 100%;
    font-size: 1rem;
    color: #444;
}

.travel-route-date-card th,
.travel-route-date-card td {
    padding: 2px 8px;
    text-align: left;
}

.travel-route-price-card {
    background: #fff4e6;
    border-radius: 12px;
    padding: 32px 24px;
    min-width: 180px;
    text-align: center;
    box-shadow: 0 2px 12px 0 rgba(255, 102, 0, 0.08);
}

.travel-route-price-card .price {
    font-size: 2rem;
    color: #f60;
    font-weight: bold;
    margin-bottom: 8px;
}

.travel-route-price-card .travel-btn-order {
    display: inline-block;
    background: #f60;
    color: #fff;
    border-radius: 24px;
    padding: 10px 32px;
    font-size: 1.1rem;
    margin-top: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.travel-route-price-card .travel-btn-order:hover {
    background: #ff7d1a;
}

/* 行程明细 */
.travel-route-schedule-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #f60;
    margin: 32px 0 18px 0;
}

.schedule-list {
    margin: 0;
    padding: 0;
}

.schedule-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04);
    margin-bottom: 18px;
    padding: 18px 24px 18px 18px;
    border-left: 5px solid #f60;
    position: relative;
}

.schedule-item h3 {
    font-size: 1.1rem;
    color: #f60;
    margin-bottom: 8px;
    font-weight: bold;
}

.schedule-item .content {
    color: #444;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.schedule-item .details {
    font-size: 0.98rem;
    color: #888;
    display: flex;
    justify-items: flex-start;
}

.schedule-item .details .details-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 15px;
    background-color: #fee1ce;
    padding: 2px 8px;
    margin-right: 8px;
    position: relative;
    height: 32px;
    line-height: 32px;
    max-width: 350px;
    padding-left: 40px;
    padding-right: 20px;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.schedule-item .details .details-item .details-item-title {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    margin-right: 4px;
    border-radius: 50%;
    border: 1px solid #f60;
    padding: 2px;
    background: rgb(254, 225, 206);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 20px;
    filter: drop-shadow(0 0 2px #f60);
}

.schedule-item .details .details-item .details-item-title img {
    width: 100%;
    height: 100%;
    filter: brightness(0) saturate(100%) invert(26%) sepia(76%) saturate(7000%) hue-rotate(355deg) brightness(100%)
        contrast(100%);
}

.schedule-item:before {
    content: "";
    display: block;
    position: absolute;
    left: -13px;
    top: 22px;
    width: 18px;
    height: 18px;
    background: #fff;
    border: 3px solid #f60;
    border-radius: 50%;
}

/* 容器样式 */
.travel-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;
}

/* 响应式设计 */
@media (max-width: 900px) {
    .travel-container {
        max-width: 100%;
        padding-left: 6px;
        padding-right: 6px;
    }
    .travel-route-main {
        flex-direction: column;
        gap: 0;
    }
    .travel-route-detail,
    .travel-route-side {
        padding: 16px 6px;
        border-radius: 0;
        box-shadow: none;
    }
    .travel-route-date-price-box {
        flex-direction: column;
        gap: 12px;
    }
    .travel-route-price-card,
    .travel-route-date-card {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
}

/* 美化底部预定条 */
.travel-route-price-fixed-bar {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background: linear-gradient(90deg, #fff4e6 60%, #ffe0c1 100%);
    box-shadow: 0 -2px 16px 0 rgba(255, 102, 0, 0.1);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    min-height: 68px;
    border-top: 1.5px solid #ffd6b3;
}

.travel-route-price-fixed-bar .travel-route-price-card {
    margin: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 2px 12px 0 rgba(255, 102, 0, 0.06);
    min-width: 320px;
    width: 100%;
    max-width: 520px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: transparent;
}

.price-info-inline {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-info-inline .price {
    font-size: 2.1rem;
    color: #f60;
    font-weight: bold;
    letter-spacing: 1px;
}

.price-info-inline .per-person {
    font-size: 1.1rem;
    color: #f60;
    font-weight: 500;
    margin-left: 2px;
}

.travel-route-price-fixed-bar .travel-btn-order {
    background: linear-gradient(90deg, #ff7d1a 0%, #f60 100%);
    color: #fff;
    border-radius: 24px;
    padding: 13px 48px;
    font-size: 1.18rem;
    margin-left: 24px;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    box-shadow: 0 2px 8px 0 rgba(255, 102, 0, 0.1);
    font-weight: bold;
    letter-spacing: 1px;
}

.travel-route-price-fixed-bar .travel-btn-order:hover {
    background: linear-gradient(90deg, #ff9d4d 0%, #ff7d1a 100%);
    box-shadow: 0 4px 16px 0 rgba(255, 102, 0, 0.18);
}

@media (max-width: 600px) {
    .travel-route-price-fixed-bar .travel-route-price-card {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 10px;
        min-width: 0;
        max-width: 100vw;
    }
    .price-info-inline {
        justify-content: center;
        margin-bottom: 8px;
    }
    .travel-route-price-fixed-bar .travel-btn-order {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        font-size: 1.1rem;
        padding: 13px 0;
    }
}

/* 防止内容被底部遮挡 */
.as-mainwrapper {
    padding-bottom: 90px;
}

.price-none {
    color: #bbb;
    font-size: 16px;
    font-style: italic;
}

/* 左侧线路列表容器 */
.travel-route-list-container {
    flex: 2;
    display: flex;
    flex-direction: column;
}

/* 展示模式切换按钮 */
.travel-route-view-toggle {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 20px;
}

.travel-toggle-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.travel-toggle-btn.active,
.travel-toggle-btn:hover {
    background: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

/* 网格视图样式 */
.travel-route-list.grid-view {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.travel-route-list.grid-view .travel-route-card-link {
    width: calc(50% - 10px);
    max-width: calc(50% - 10px);
}

.travel-route-list.grid-view .travel-route-card {
    flex-direction: column;
    height: auto;
    padding: 0;
}

.travel-route-list.grid-view .travel-route-card-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.travel-route-list.grid-view .travel-route-card-body {
    padding: 16px;
    height: auto;
    width: 100%;
}

.travel-route-list.grid-view .travel-route-card-title {
    font-size: 16px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.travel-route-list.grid-view .travel-route-card-desc {
    font-size: 13px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.travel-route-list.grid-view .travel-route-card-date {
    font-size: 12px;
    margin-bottom: 8px;
}

.travel-route-list.grid-view .travel-route-card-price {
    font-size: 18px;
}

/* 小屏幕响应式 */
@media (max-width: 900px) {
    .travel-route-main {
        flex-direction: column;
    }
    .travel-route-side {
        flex-direction: row;
        gap: 10px;
    }
    .travel-route-card {
        margin-right: 0;
        padding: 0;
    }
    .travel-route-list.grid-view .travel-route-card-link {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .travel-route-main {
        flex-direction: column;
        gap: 10px;
    }
    .travel-route-side {
        flex-direction: column;
    }
    .travel-route-card {
        flex-direction: column;
        margin-right: 0;
        padding: 0;
    }
    .travel-route-card-img {
        width: 100%;
        height: 180px;
    }
    .travel-route-list.grid-view .travel-route-card-link {
        width: 100%;
        max-width: 100%;
    }
    .travel-route-view-toggle {
        justify-content: center;
    }
}

/* 右侧 */
.route-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.route-why {
    background: #f6f5f5;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 24px 20px;
    margin-bottom: 0;
}
.route-why-title {
    font-size: 18px;
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 12px;
    border-bottom: 4px solid #ff6600;
    display: inline-block;
    padding-bottom: 4px;
    width: 100%;
    text-align: center;
}
.route-why-group {
    margin-bottom: 16px;
    margin-left: 20px;
}
.route-why-group-title {
    font-weight: bold;
    margin: 16px 0 6px 0;
    font-size: 16px;
}
.route-why-list {
    font-size: 15px;
    color: #444;
    margin: 0 0 0 18px;
    padding: 0;
}
.route-why-list li {
    margin-bottom: 4px;
    list-style: disc;
}
.route-form {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 24px 20px;
}
.route-form-title {
    font-size: 17px;
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 16px;
    border-left: 4px solid #ff6600;
    padding-left: 8px;
}
.route-form-group {
    display: flex;
    align-items: center;
    margin: 16px 0;
    background: #f7f7f7;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
}
.route-form-group i {
    color: #ff6600;
    margin-right: 8px;
}
.route-form-input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    font-size: 15px;
}
.route-form-btn {
    width: 100%;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 0;
    font-size: 17px;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.2s;
}
.route-form-btn:hover {
    background: #e65c00;
}

/* 发团日期和价格展示区域样式 */
.sample-price-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.departure-schedule {
    position: relative;
}

.schedule-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    margin-top: 0;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 40px;
    margin-bottom: 20px;
    margin-right: 120px;
}

.schedule-month {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.6;
}

.month-label {
    color: #666;
    font-weight: 500;
    min-width: 30px;
    margin-right: 8px;
}

.date-list {
    color: #888;
    flex: 1;
}

.date-item {
    margin-right: 2px;
}

.price-display {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #ff6600;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(255, 102, 0, 0.2);
}

.price-tag {
    color: white;
    padding: 12px 20px;
    border-top-left-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
    min-width: 100px;
    border-bottom: 2px dashed #fff;
}

.price-symbol {
    font-size: 16px;
    font-weight: normal;
}

.price-amount {
    font-size: 24px;
    font-weight: bold;
    margin: 0 2px;
}

.price-unit {
    font-size: 12px;
    font-weight: normal;
    display: block;
    margin-top: 2px;
}

.book-now-btn {
    color: white;
    border: none;
    padding: 0px 16px 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background-color: #ff6600;
}

/* 发团日期表格样式 */
.schedule-grid table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.schedule-grid table th {
    color: #495057;
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.schedule-grid table td {
    padding: 10px 16px;
    border-bottom: 1px solid #f1f3f4;
    color: #333;
    vertical-align: middle;
}

.schedule-grid table tr:last-child td {
    border-bottom: none;
}

.schedule-grid table tr:hover {
    background: #fff;
    transition: background-color 0.2s ease;
}

/* 表格中的价格样式 */
.schedule-grid table .price {
    color: #ff6600;
    font-weight: 600;
    font-size: 15px;
}

/* 表格中的日期样式 */
.schedule-grid table .date {
    color: #666;
    font-weight: 500;
}

/* 表格中的状态标签样式 */
.schedule-grid table .status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.schedule-grid table .status.available {
    background: #d4edda;
    color: #155724;
}

.schedule-grid table .status.full {
    background: #f8d7da;
    color: #721c24;
}

.schedule-grid table .status.few {
    background: #fff3cd;
    color: #856404;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .price-display {
        position: static;
        margin-top: 20px;
        align-items: flex-start;
    }

    .sample-price-box {
        padding: 15px;
    }

    .schedule-grid table {
        font-size: 13px;
    }

    .schedule-grid table th,
    .schedule-grid table td {
        padding: 8px 12px;
    }

    .schedule-grid table th {
        font-size: 12px;
    }
}

/**
 * 预定区域
 */
/* 弹窗样式 */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
}

.booking-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.booking-modal-content {
    position: relative;
    width: 800px; /* 增加宽度 */
    max-width: 90%;
    max-height: 80vh;
    background: #fff;
    border-radius: 8px;
    margin: 6vh auto;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.booking-modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.booking-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.booking-route-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
}

.route-info-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.info-label {
    color: #666;
    margin-right: 8px;
    white-space: nowrap;
}

.info-value {
    color: #333;
    font-weight: 500;
}

.price-highlight {
    color: #e74c3c;
    font-weight: bold;
}

.booking-form {
    padding: 15px;
}

.booking-form .row {
    margin-bottom: 15px;
}

.booking-form-group {
    margin-bottom: 0px;
}

.booking-form-label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.required {
    color: #e74c3c;
}

.booking-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0px; /* 为错误信息预留空间 */
}

.booking-input-wrapper i {
    position: absolute;
    left: 10px;
    color: #666;
}

.booking-form-input {
    width: 100%;
    padding: 8px 8px 8px 35px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.booking-form-input:focus {
    border-color: #3498db;
    outline: none;
}

.booking-error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 4px;
    min-height: 16px;
    display: none; /* 默认隐藏 */
    position: absolute; /* 使用绝对定位 */
    background: #fff; /* 白色背景 */
    padding: 4px 8px; /* 内边距 */
    border-radius: 4px; /* 圆角 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 阴影效果 */
    z-index: 100; /* 确保显示在最上层 */
    border: 1px solid #ffcdd2; /* 浅红色边框 */
    white-space: nowrap; /* 防止文字换行 */
    top: 100%; /* 定位在输入框下方 */
    left: 0; /* 左对齐 */
    margin-top: 2px; /* 与输入框的间距 */
}

/* 当有错误信息时显示 */
.booking-error-message.show {
    display: block;
}

.booking-form-tips {
    color: #666;
    font-size: 13px;
    margin: 10px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.booking-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 0px;
}

.booking-btn-cancel,
.booking-btn-submit {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.booking-btn-cancel {
    background: #f1f1f1;
    color: #666;
}

.booking-btn-submit {
    background: #3498db;
    color: white;
}

.booking-btn-cancel:hover {
    background: #e1e1e1;
}

.booking-btn-submit:hover {
    background: #2980b9;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .booking-form .row {
        margin-bottom: 0;
    }

    .booking-form-group {
        margin-bottom: 15px;
    }

    /* 移动端线路信息样式优化 */
    .booking-route-info {
        flex-direction: column;
        padding: 12px;
        margin-bottom: 15px;
    }

    .route-info-item {
        flex-direction: column;
        align-items: flex-start;
        margin-right: 0;
        margin-bottom: 10px;
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }

    .route-info-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .info-label {
        font-size: 14px;
        margin-bottom: 4px;
        margin-right: 0;
        color: #888;
    }

    .info-value {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.4;
        word-break: break-all;
    }

    .price-highlight {
        color: #e74c3c !important;
        font-size: 18px !important;
    }

    .price-none {
        color: #999;
        font-size: 14px;
    }
}

/* 小屏幕手机优化 (480px以下) */
@media (max-width: 480px) {
    .booking-route-info {
        padding: 10px;
        margin-bottom: 12px;
        border-radius: 4px;
    }

    .route-info-item {
        padding: 6px 0;
        margin-bottom: 8px;
    }

    .info-label {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .info-value {
        font-size: 15px;
        line-height: 1.3;
    }

    .price-highlight {
        font-size: 17px !important;
    }

    /* 确保长文本能够正确换行 */
    .info-value {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

/* 自定义成功提示窗口样式 */
.custom-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
    backdrop-filter: blur(5px);
}

.custom-success-content {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    max-width: 420px;
    width: 90%;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-success-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    color: #999;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.custom-success-close:hover {
    background: #f0f0f0;
    color: #333;
    transform: rotate(90deg);
}

.custom-success-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #52c41a, #389e0d);
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 35px;
    box-shadow: 0 5px 15px rgba(82, 196, 26, 0.3);
    animation: iconPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-success-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.custom-success-message {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 0 10px;
}

.custom-success-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.custom-success-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 100px;
}

.custom-success-btn-primary {
    background: linear-gradient(135deg, #e67c00, #d35400);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 124, 0, 0.3);
}

.custom-success-btn-primary:hover {
    background: linear-gradient(135deg, #d35400, #c0392b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 124, 0, 0.4);
}

.custom-success-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(230, 124, 0, 0.3);
}

.custom-success-btn-secondary {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e9ecef;
}

.custom-success-btn-secondary:hover {
    background: #e9ecef;
    color: #333;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes iconPop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.error-message {
    border-bottom: 1px dashed #e67c00;
    padding: 0px 10px 5px 10px;
    font-size: 14px;
}

/* 行程特色样式 */
.travel-route-features {
    background: linear-gradient(135deg, #ffd6b3 0%, #fceddf 100%);
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
}

.travel-route-features::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    pointer-events: none;
}

.travel-route-features:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 50px rgba(102, 126, 234, 0.25);
}

.travel-route-features h2 {
    color: #353535;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.travel-route-features h2::before {
    content: '✨';
    font-size: 24px;
    animation: sparkle 2s ease-in-out infinite;
}

.travel-route-features h2::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.8) 0%, transparent 100%);
    margin-left: 16px;
}

.travel-route-features p {
    color: rgba(129, 128, 128, 0.95);
    font-size: 16px;
    line-height: 1.8;
    white-space: pre-wrap;
    margin: 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .travel-route-features {
        padding: 24px 20px;
        margin: 24px 0;
    }
    
    .travel-route-features h2 {
        font-size: 24px;
    }
    
    .travel-route-features p {
        font-size: 15px;
        padding: 16px;
    }
}