
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}
.announcement { overflow: hidden; width: 1198px; margin: 0 auto; border: 1px #0c86e9 solid; border-top: none; box-sizing: border-box; padding: 0 10px; height: 48px; line-height: 48px }
.announcement p { float: left; font-size: 24px; color: #F00; }
.announcement div { width: 1100px; float: right; font-size: 24px; color: #808080; }
.content_top {height: 50px;line-height: 50px;color: #666}
.w { width: 1200px;
    margin: 0 auto;}

.container {
    display: flex;
    padding: 20px 0;
    justify-content: space-between;
}

.left-content {
    flex: 1;
    margin-right: 20px;
}

.right-content {
    width: 300px;
    flex-shrink: 0;
}

.yx-rotaion {  width: 784px; height: 352px; position: relative;flex: 1;margin-left: 20px}
.yx-rotaion .hd,
.yx-rotaion-btn { position: absolute }
.yx-rotation-title { position: absolute; width: 100%; height: 40px; line-height: 40px; background: #000; filter: alpha(opacity=40); -moz-opacity: 0.4; -khtml-opacity: 0.4; opacity: 0.4; left: 0; bottom: 0; _bottom: -1px; z-index: 1; background-color: transparent; }
.yx-rotation-t { color: #fff; font-size: 16px; z-index: 2; bottom: 0; left: 10px; line-height: 40px }
.yx-rotaion .hd li { cursor: pointer; display: inline-block; *display:inline;
    zoom: 1; width: 12px; height: 12px; line-height: 12px; text-indent: -9999px; border: solid 2px #fff; border-radius: 50%; cursor: pointer; margin-left: 5px; }
.yx-rotaion .hd { height: 40px; line-height: 40px; right: 20px; bottom: 0; z-index: 2; }
.yx-rotaion .hd li.on { border: solid 2px #3884E6; }
/**/
.rotaion_list { overflow: hidden; }
.rotaion_list li img { height: 352px; width: 790px; }
/* 左侧容器样式 */
.warp-left {
    width: 400px;
    background-color: #3884e6;
    border-radius: 12px;
    padding: 3px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(56, 132, 230, 0.3);
}

/* 标题样式 */
.warp-left h1 {
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding:15px 0 10px 50px;
    position: relative;
    line-height: 32px;
}

.warp-left h1::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-image: url('/static/style/new/icon_03.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 中间容器样式 */
.warp-mid {
    background-color: white;
    border-radius: 8px;
    padding: 16px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#searchF.layui-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 23px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

#searchF .layui-form-item {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

#searchF .layui-form-label {
    text-align: left;
    font-weight: bold;
    color: #333;
    font-size: 15px;
    margin-bottom: 8px;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

#searchF .layui-input-block {
    margin-left: 0;
    width: 100%;
    min-height: auto;
}
#searchF .layui-input {
    width: 100%;
    border: 2px solid #3884e6 !important;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    box-sizing: border-box;
    transition: all 0.3s;
    height: 40px;
    line-height: 20px;
}

#searchF .layui-input:focus{
    border-color: #1E9FFF !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(56, 132, 230, 0.1);
}
#searchF .layui-btn {
    background-color: #f80;

    width: 100%;
}
#searchF .layui-btn:hover {
    background-color: #2a6bc5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(56, 132, 230, 0.3);
}

#searchF .layui-btn:active {
    transform: translateY(0);
}

/* 整体容器样式 */


/* 顶部标题栏样式 */
.route-top {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1E9FFF;
}

.route_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.route_box dt {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
    position: relative;
    padding-left: 35px;
}

.route_box dt::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231E9FFF"><path d="M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4zM6 18.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm10.5-5.5H14V9h2.5l1.96 2.5H16.5zM18 18.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.route-right {
    margin: 0;
}

.route-more {
    display: inline-block;
    padding: 8px 20px;
    background-color: #1E9FFF;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}

.route-more:hover {
    background-color: #0d8bf2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30, 159, 255, 0.3);
}

/* 船舶列表样式 */
.md-ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: space-between;
    row-gap: 30px;
}

.md-ul li {
    width: 285px; /* 1200px / 4 = 300px，减去边距后为285px */
    box-sizing: border-box;
}

.md-ul li a {
    display: block;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    height: 100%;
}

.md-ul li a:hover {
    transform: translateY(-5px);
}

/* 图片容器样式 */
.img {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    height: 200px;
    background-color: #f5f5f5;
    display: block;
}

.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    background-color: #e8f4ff;
}

.img:hover img {
    transform: scale(1.05);
}

/* 图片标题样式 - 改为h4 */
.img h4 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.img:hover h4 {
    background: linear-gradient(to top, rgba(30, 159, 255, 0.9), transparent);
    padding-bottom: 20px;
}



/* 左侧公司介绍区域 */
.mend-fl {
    flex: 1;

}

.mend-fl a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 标题样式 */
.md-top {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1E9FFF;
    position: relative;
    padding-left: 35px;
}

.md-top::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background-color: #1E9FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: normal;
}

.mend-fl .md-top::before {
    content: "i";
}

.mend-fr .md-top::before {
    content: "♥";
}

/* 新闻列表样式 - 移除滚动条 */
.news-fl {
    list-style: none;
    padding: 0;
    margin: 0;
    height: auto; /* 改为自动高度 */
    padding-right: 0; /* 移除右侧填充 */
}

/* 移除滚动条样式 */
.news-fl::-webkit-scrollbar {
    display: none; /* 隐藏滚动条 */
}

/* 内容段落样式 */
.news-fl p {
    color: #3f3f3f;
    font-size: 14px;
    line-height: 2em;
    text-indent: 2em;
    margin-bottom: 10px;
    text-align: justify;
}

.news-fl strong {
    color: #1E9FFF;
}

/* 公司介绍图片区域 */
.mend-fl .news-div {
    width: 100%;
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mend-fl .news-div img {
    width: 485px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* 右侧关注我们区域 */
.mend-fr {
    width: 300px;
    flex-shrink: 0;margin-left: 20px;
}

.news-fr {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-fr li {
    text-align: center;
    margin-bottom: 30px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.news-fr li a {
    display: block;
    margin-bottom: 15px;
}

.news-fr li img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.news-fr li br {
    display: none;
}

.news-fr li:after {
    content: attr(data-text);
    display: block;
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.5;
}




.search-form {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid #e6e6e6;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.search-form span {
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}




.submit-btn {
    background-color: #1E9FFF;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 25px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    white-space: nowrap;
}

.submit-btn:hover {
    background-color: #0d8bf2;
}

/* 航班列表样式 */
.flight-list-container {
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    overflow: hidden;
}

.flight-list-header {
    background-color: #f8f8f8;
    padding: 12px 20px;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.flight-list-header .name {
    width: 120px;
}

.flight-list-header .departure {
    flex: 1;
    text-align: center;
}

.flight-list-header .duration {
    width: 150px;
    text-align: center;
}

.flight-list-header .arrival {
    flex: 1;
    text-align: center;
}

.flight-list-header .price {
    width: 120px;
    text-align: center;
}

.flight-list-header .action {
    width: 100px;
    text-align: center;
}

.flight-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.flight-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.flight-item:hover {
    background-color: #f0f9ff;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

.flight-item:last-child {
    border-bottom: none;
}

/* 航班状态样式 - 新增 */
.flight-item.status-sold-out,
.flight-item.status-closed {
    background-color: #f9f9f9;
    color: #999;
}

.flight-item.status-sold-out:hover,
.flight-item.status-closed:hover {
    background-color: #f5f5f5;
    transform: none;
    box-shadow: none;
}

.flight-item.status-sold-out .ship-name,
.flight-item.status-sold-out .departure-time,
.flight-item.status-sold-out .arrival-time,
.flight-item.status-sold-out .price-amount,
.flight-item.status-closed .ship-name,
.flight-item.status-closed .departure-time,
.flight-item.status-closed .arrival-time,
.flight-item.status-closed .price-amount {
    color: #999;
}

.flight-item.status-sold-out .departure-port,
.flight-item.status-sold-out .arrival-port,
.flight-item.status-sold-out .duration-text,
.flight-item.status-sold-out .price-suffix,
.flight-item.status-closed .departure-port,
.flight-item.status-closed .arrival-port,
.flight-item.status-closed .duration-text,
.flight-item.status-closed .price-suffix {
    color: #bbb;
}

.flight-item.status-sold-out .duration-arrow-line,
.flight-item.status-closed .duration-arrow-line {
    background: linear-gradient(to right, #e0e0e0, #e0e0e0);
}

.flight-item.status-sold-out .duration-arrow-head,
.flight-item.status-closed .duration-arrow-head {
    border-color: transparent transparent transparent #e0e0e0;
}


.sname {
    width: 120px;
    font-size: 17px;
    color: #1E9FFF;
    text-align: center;
    font-weight: 500;
}

.departure-info {
    flex: 1;
    text-align: center;
    padding: 0 10px;
}

.departure-time {
    font-size: 22px;
    color: #333;
    margin-bottom: 3px;
    font-weight: 500;
}

.departure-port {
    font-size: 13px;
    color: #666;
}

.ticket-info {
    width: 150px;
    text-align: center;
    padding: 0 10px;
    position: relative;
}

.ticket-info .duration-text {
    font-size: 15px;
    color: #1E9FFF;
    margin-bottom: 5px;
    font-weight: 500;
}

.ticket-info .duration-arrow {
    margin: 8px 0 5px 0;
    position: relative;
    height: 18px;
}

.ticket-info .duration-arrow-line {
    height: 1px;
    background: linear-gradient(to right, #d0d0d0, #d0d0d0);
    position: relative;
    margin: 0 15px;
}

.ticket-info .duration-arrow-head {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 0 14px;
    border-color: transparent transparent transparent #d0d0d0;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}

/* 新增新能源车标签样式 - 放在箭头下方 */
.new-energy-tag {
    display: inline-block;
    background-color: #5FB878;
    color: white;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: normal;
    position: relative;top:-4px;
}

/* 绿安通停售状态下的新能源标签样式 */
.flight-item.green-antong.status-closed .new-energy-tag {
    background-color: #8bc34a;
}

/* 修改次日徽章样式 - 更紧凑、更小、不加粗 */
.next-day-badge {
    display: inline-block;
    background-color: #1E9FFF;
    color: white;
    font-size: 11px;
    padding: 1px 4px;
    border-radius: 8px;
    font-weight: normal;
    margin-left: 4px;
    margin-top: -2px;
    vertical-align: middle;
    line-height: 1.4;
    position: absolute;top:-10px;right:-1rem;
}

/* 售罄和停售状态下的次日徽章样式 */
.flight-item.status-sold-out .next-day-badge,
.flight-item.status-closed .next-day-badge {
    background-color: #bbb;
}

.arrival-info {
    flex: 1;
    text-align: center;
    padding: 0 10px;
}

.arrival-time {
    font-size: 22px;
    color: #333;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.arrival-port {
    font-size: 13px;
    color: #666;
}

.price-info {
    width: 120px;
    text-align: center;
    padding: 0 10px;
}

.price-amount {
    font-size: 18px;
    color: #FF5722;
    margin-bottom: 3px;
    font-weight: 500;
}

.price-suffix {
    font-size: 13px;
    color: #999;
}

.yud-btn {
    width: 100px;
    text-align: center;
    padding: 0 10px;
}

.go-btn {
    display: inline-block;
    background-color: #5FB878;
    color: white;
    padding: 7px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
}

.go-btn:hover {
    background-color: #4cae6a;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* 售罄和停售按钮样式 */
.sold-out-btn,
.closed-btn {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    cursor: default;
    text-align: center;
}

.sold-out-btn {
    background-color: #f0f0f0;
    color: #999;
    border: 1px solid #ddd;
}

.closed-btn {
    background-color: #ffeded;
    color: #ff6b6b;
    border: 1px solid #ffd6d6;
}

/* 右侧购票须知样式 */
.notice-card {
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    overflow: hidden;
    margin-bottom: 20px;
}

.notice-header {
    background: linear-gradient(135deg, #1E9FFF 0%, #0d8bf2 100%);
    color: white;
    padding: 12px 15px;
    border-bottom: none;
    font-size: 15px;
    font-weight: 600;
}

.notice-content {
    padding: 18px;
    max-height: 600px;
    overflow-y: auto;
}

.notice-content h1 {
    font-size: 18px;
    color: #1E9FFF;
    margin-top: 0;
    margin-bottom: 12px;
    border-bottom: 2px solid #1E9FFF;
    padding-bottom: 8px;
    font-weight: 500;
}

.notice-content h2 {
    font-size: 15px;
    color: #FF5722;
    margin-top: 18px;
    margin-bottom: 8px;
    font-weight: 500;
}

.notice-content p {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 12px;
}

.notice-content strong {
    color: #333;
    font-weight: 500;
}

.notice-content span {
    color: #666;
}

.phone-number {
    color: #FF5722;
    font-weight: 500;
    font-size: 17px;
}

/* 响应式设计 */
@media (max-width: 1240px) {
    .main-container {
        width: 95%;
    }
}

@media (max-width: 992px) {
    .container {
        flex-direction: column;
    }

    .right-content {
        width: 100%;
    }

    .flight-list-header {
        display: none;
    }

    .flight-item {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }

    .name,
    .departure-info,
    .duration-info,
    .arrival-info,
    .price-info,
    .action-btn {
        width: 100%;
        text-align: left;
        margin-bottom: 8px;
        padding: 0;
    }

    .duration-arrow {
        display: none;
    }

    .new-energy-tag {
        display: inline-block;
        margin-left: 10px;
    }

    .departure-time,
    .arrival-time {
        font-size: 20px;
    }

    .book-btn,
    .sold-out-btn,
    .closed-btn {
        width: 100%;
        text-align: center;
        padding: 8px;
    }

    .search-form {
        flex-wrap: wrap;
    }
}



.ship-info-card {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    width: 100%;
    max-width: 900px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
}

/* 顶部标签区域 */
.trip-header {
    background-color: #f8f8f8;
    padding: 12px 20px;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.trip-header-left {
    display: flex;
    align-items: center;
}

.trip-type {
    background-color: #1E9FFF;
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    margin-right: 15px;
}
.trip-info {
    font-size: 15px;
    color: #333;
    font-weight: bold;
}
.route-detail {
    color: #666;
    font-size: 14px;
    margin-left: 10px;
}
.trip-notice {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #666;
}

/* 修改：将退票说明拆分为两部分，用不同背景颜色区分 */
.refund-section {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.refund-label {
    padding: 4px 8px;
    background-color: #ffccc7; /* 浅红色背景 */
    color: #d4380d; /* 深红色文字 */
    border-radius: 4px 0 0 4px;
    font-weight: 500;
    white-space: nowrap;
}

.refund-detail {
    padding: 4px 8px;
    background-color: #fff2e8; /* 浅橙色背景 */
    color: #fa541c; /* 橙色文字 */
    border-radius: 0 4px 4px 0;
    border-left: 1px solid #ffccc7;
    white-space: nowrap;
}

.notice-link {
    color: #1E9FFF;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s;
    background-color: #f0f9ff; /* 浅蓝色背景 */
}

.notice-link:hover {
    background-color: #e6f7ff;
    text-decoration: underline;
}


/* 船次详情区域 */
.trip-details {
    display: flex;
    align-items: center;
    padding: 25px 20px;
}

/* 出发和到达区域 */
.departure-box, .arrival-box {
    flex: 1;
    text-align: center;
    padding: 10px;
}
.arrival-box .time,.departure-box .time{
    font-size: 32px;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;position: relative;display: inline-block;
}
.port-name {
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
}
.port-detail {
    color: #666;
    font-size: 14px;
}

/* 中间区域 */
.center-info {
    flex: 1.2;
    text-align: center;
    position: relative;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.ship-name-box {
    margin-bottom: 0;
}
.ship-name {
    font-size: 22px;
    color: #1E9FFF;
    font-weight: bold;
}

.best-arrow {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
}
.best-arrow-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right,
    transparent 0%,
    #d0d0d0 15%,
    #d0d0d0 100%);
}

/* 箭头只显示上半部分 - 变大2号 */
.half-arrow-head {
    position: absolute;
    right: -4px; /* 调整位置以适应更大的箭头 */
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 0 16px; /* 变大2号：从6px 0 0 8px变为10px 0 0 16px */
    border-color: transparent transparent transparent #d0d0d0;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}

.duration-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}
.duration-box {
    background-color: #f0f9ff;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #d1e9ff;
    display: flex;
    align-items: center;
}
.duration-text {
    color: #1E9FFF;
    font-weight: bold;
    font-size: 16px;
}


.cabin-card {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-top: 25px;
}

.cabin-head {
    background-color: #f8f8f8;
    padding: 15px 20px;
    border-bottom: 1px solid #e6e6e6;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.cabin-photo {
    width: 60px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 10px;
    margin-right: 10px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: all 0.3s;
}
.cabin-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.cabin-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.quantity-control {
    display: flex;
    align-items: center;
}
.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #dcdcdc;
    background-color: #f8f8f8;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
}
.quantity-btn:hover {
    background-color: #e8e8e8;
}
.quantity-input {
    width: 40px;
    height: 30px;
    border: 1px solid #dcdcdc;
    text-align: center;
    margin: 0 5px;
    border-radius: 4px;
}
.order-summary {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e6e6e6;
}
.order-summary .cabin-head {border-bottom:0;padding-left: 0}
.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}
.order-total {
    font-size: 18px;
    font-weight: bold;
    color: #FF5722;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #eee;
}

.section-title {
    font-size:20px;
    color: #333;
    padding-bottom: 10px;
}
.cabin-table {
    width: 100%;
    border-collapse: collapse;
}
.cabin-table thead {
    background-color: #ffffff;
}
.cabin-table thead tr {
    border-bottom: 2px solid #1E9FFF;
}
.cabin-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    color: #333;
    border: none;
}
.cabin-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
    cursor: default;
}
.cabin-table tbody tr:hover {
    background-color: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.cabin-table td {
    padding: 15px;
    border: none;
}
.cabin-info {
    display: flex;
    align-items: center;
}
.cabin-table .red {font-weight: bold; color: #FF5722; font-size: 16px;}
.cabin-table .desc {max-width: 250px;font-size: 12px;color: #666}

@media (max-width: 1240px) {
    .main-container {
        width: 95%;
    }
}

.order-box {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.order-header {
    background-color: #f8f8f8;
    padding: 15px 20px;
    border-bottom: 1px solid #e6e6e6;
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.order-content {
    padding: 20px;
}

/* 订单列表*/
.order-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.order-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.order-card-header {
    background-color: #f8f8f8;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e6e6e6;
}

.order-card-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.order-card-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 状态徽章 - 合并重复定义 */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
}

.order-detail-content .status-badge {
    padding: 8px 20px;
    font-size: 16px;
}

.status-unpaid {
    background-color: #FFB800;
    color: white;
}

.status-paid {
    background-color: #5FB878;
    color: white;
}

.status-cancelled {
    background-color: #FF5722;
    color: white;
}

.status-refunded {
    background-color: #999;
    color: white;
}

.order-card-content {
    padding: 20px;
}

.order-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

/* 在更宽的屏幕上显示更多列 */
@media (min-width: 1200px) {
    .order-info-box {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}


.order-card .item {
    margin-bottom: 10px;
}

.order-card .info-label {
    font-weight: bold;
    color: #666;
    margin-bottom: 5px;
    font-size: 13px;
}

.order-card .info-value {
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

.order-card .order-card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* 按钮样式 */
.action-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.order-detail-content .action-btn {
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
}

.view-detail-btn {
    background-color: #1E9FFF;
    color: white;
}

.view-detail-btn:hover {
    background-color: #0d8bf2;
}

.pay-btn, .refund-btn {
    background-color: #FF5722;
    color: white;
}

.pay-btn:hover, .refund-btn:hover {
    background-color: #e64a19;
}

.refund-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 订单详情样式 */
.order-detail-content {
    padding: 20px;
}

.order-status-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #1E9FFF;
}

.order-status-left h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #333;
}

.order-status-left p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* 倒计时样式 */
.countdown {
    color: #ff5722;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
}

.info-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item .info-label {
    font-weight: bold;
    color: #666;
    margin-bottom: 8px;
    font-size: 14px;
}

.info-item .info-value {
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

/* 乘客信息表格样式 */
.passenger-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    margin-bottom: 25px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.passenger-table thead {
    background-color: #1E9FFF;
}

.passenger-table thead tr {
    border-bottom: none;
}

.passenger-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: bold;
    color: white;
    border: none;
    font-size: 14px;
}

.passenger-table tbody tr {
    border-bottom: 1px solid #eee;
}

.passenger-table tbody tr:hover {
    background-color: #f0f9ff;
}

.passenger-table td {
    padding: 12px 15px;
    border: none;
    vertical-align: middle;
    font-size: 14px;
}

/* 乘客状态徽章 */
.passenger-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.status-picked {
    background-color: #5FB878;
    color: white;
}

.status-unpicked {
    background-color: #FFB800;
    color: white;
}

.status-used {
    background-color: #FF5722;
    color: white;
}

/* 订单总价样式 */
.total-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
}

.total-price-label {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.total-price-amount {
    font-size: 28px;
    font-weight: bold;
    color: #FF5722;
}

/* 支付方式样式 - 移除不需要的样式，保留payment-methods由其他CSS处理 */
.payment-section {
    margin-top: 30px;
    padding: 25px 0;
    background-color: white;
    border-radius: 8px;
}

.payment-section h3 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
    margin-bottom: 20px;
}

.submit-payment-btn {
    margin-top: 30px;
    padding: 15px 40px;
    background-color: #5FB878;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.submit-payment-btn:hover {
    background-color: #4cae6a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.submit-payment-btn i {
    font-size: 20px;
}

/* 退款须知 */
.refund-notice {
    margin-top: 25px;
    padding: 20px;
    background-color: #f0f9ff;
    border-radius: 8px;
    border-left: 4px solid #1E9FFF;
}

.refund-notice h4 {
    margin-top: 0;
    color: #1E9FFF;
    margin-bottom: 15px;
}

.refund-notice ul {
    margin: 0;
    padding-left: 20px;
    color: #666;
    line-height: 1.6;
}

.refund-notice li {
    margin-bottom: 8px;
}

/* 操作按钮区域 */
.action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.order-detail-content .action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}



.modal-content {
    background-color: white;
    margin: 30px auto;
    width: 90%;
    max-width: 700px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: #f8f8f8;
    padding: 15px 20px;
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.modal-close {
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

/* 退票乘客选择 */
.passenger-select-list {
    margin: 15px 0;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
}

.passenger-select-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s;
}

.passenger-select-item:hover {
    background-color: #f9f9f9;
}

.passenger-select-item.selected {
    background-color: #f0f9ff;
    border-left: 4px solid #1E9FFF;
}

.passenger-select-item:last-child {
    border-bottom: none;
}

.passenger-checkbox {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.passenger-info {
    flex: 1;
}

.passenger-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.passenger-details {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
}

.passenger-price {
    color: #FF5722;
    font-weight: bold;
}

.passenger-status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 10px;
}

/* 退票费率信息 */
.refund-rate-info {
    background-color: #fff2e8;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    border-left: 4px solid #fa541c;
}

.refund-rate-info h4 {
    color: #fa541c;
    margin-top: 0;
    margin-bottom: 10px;
}

.refund-rate-info ul {
    margin: 0;
    padding-left: 20px;
    color: #666;
}

.refund-rate-info li {
    margin-bottom: 5px;
}

/* 退票金额计算 */
.refund-calc-section {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.refund-calc-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

.refund-calc-row:last-child {
    border-bottom: none;
    font-weight: bold;
    font-size: 16px;
    color: #FF5722;
}

/* 表单样式 - 修复退款弹窗中的表单宽度问题 */
.refund-verification-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
}

.refund-verification-form .form-group {
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.refund-verification-form .form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    font-size: 15px;
    width: 100%;
}

.refund-verification-form .form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.refund-verification-form .form-input:focus {
    border-color: #1E9FFF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 159, 255, 0.1);
}

.refund-verification-form .input-with-btn {
    display: flex;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
}

.refund-verification-form .input-with-btn .form-input {
    flex: 1;
    min-width: 0; /* 防止flex项目溢出 */
}

.refund-verification-form .send-code-btn {
    padding: 12px 20px;
    background-color: #5FB878;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    transition: all 0.3s;
    flex-shrink: 0; /* 防止按钮被压缩 */
}

.refund-verification-form .send-code-btn:hover {
    background-color: #4cae6a;
}

.refund-verification-form .send-code-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state-icon i {
    font-size: 60px;
    color: #dcdcdc;
    margin-bottom: 20px;
}

.empty-state-text {
    font-size: 18px;
    margin-bottom: 10px;
}

.empty-state-desc {
    font-size: 14px;
    color: #999;
}

/* 查询表单样式优化 */
.query-section {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.ordersearch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

#ordersearch {display: flex; gap: 12px; align-items: center;}
.query-form-item {
    flex: 1;
    min-width: 0; /* 防止内容溢出 */
    position: relative;
}

#ordersearch input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
}

#ordersearch input:focus {
    outline: none;
    border-color: #1E9FFF;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(30, 159, 255, 0.1);
}

#ordersearch input::placeholder {
    color: #999;
}

/* 错误状态 */
#ordersearch input.layui-form-danger {
    border-color: #FF5722;
}

#ordersearch input.layui-form-danger:focus {
    border-color: #FF5722;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.1);
}

#ordersearch .sava {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #1E9FFF 0%, #0d8bf2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 140px;
    box-sizing: border-box;
    flex-shrink: 0;
}

#ordersearch .sava:hover {
    background: linear-gradient(135deg, #0d8bf2 0%, #1E9FFF 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 159, 255, 0.3);
}

#ordersearch .sava:active {
    transform: translateY(0);
}


/*  下面是预定详情 的css  */
/* 表单区域样式 - 用线条区分 */
.form-section {
    margin: 0 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 30px;
}
.section-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section-title .left {
    display: flex;
    align-items: center;
}
.section-title .left .layui-icon {
    margin-right: 10px;
    font-size: 18px;
    color: #1E9FFF;
}

/* 联系人 */
.ticket-collector-form .layui-form-item {
    margin-bottom: 15px;
}
.form-tip {
    color: #999;
    font-size: 13px;
    margin-top: 5px;
    margin-left: 110px;
}

/* 乘客列表 - 简化版 */
.passenger-list {
    margin-top: 15px;
}
.passenger-item {
    padding: 12px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border-radius: 6px;
    border-left: 3px solid #d1e9ff;
    position: relative;
}
.passenger-item:last-child {
    margin-bottom: 0;
}
.passenger-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-right: 30px;
}
.passenger-type {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}
.passenger-price {
    font-size: 14px;
    font-weight: bold;
    color: #FF0000;
}
.delete-passenger {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 20px;
    border-radius: 4px;
    background-color: #d4d4d4;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}
.delete-passenger:hover {
    background-color: #999;
    color: #666;
}
.passenger-form-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.passenger-form-row:last-child {
    margin-bottom: 0;
}
.passenger-form-row .layui-form-label {
    width: 80px;
    padding: 9px 5px;
    text-align: right;
}
.passenger-form-row .layui-input-inline {
    margin-right: 10px;
}
.id-type-select {
    width: 120px;
}
.id-number-input {
    width: 250px;
}

/* 汽车服务 - 一行显示 */

.vehicle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}
.vehicle-empty,.passenger-empty {
    text-align: center; padding: 20px; border: 2px dashed #e6e6e6; border-radius: 10px; margin-bottom: 20px; background-color: #fafafa;
}
.vehicle-empty h4 {font-size: 16px; color: #999; margin-bottom: 10px;
}
.vehicle-empty p {font-size: 14px; color: #aaa;
}

/* 出行保障 */
.travel-protection {
    margin-top: 15px;
}
.protection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.protection-price {
    font-size: 16px;
    color: #FF5722;
    font-weight: bold;
    display: flex;
    align-items: center;
}
.protection-switch {
    margin-left: 10px;
}
.protection-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}
.protection-option {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 10px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #f8f8f8;
}
.protection-option:hover {
    border-color: #5FB878;
    background-color: #f0f9f0;
}
.protection-option.selected {
    border-color: #5FB878;
    background-color: #e8f7e8;
    color: #5FB878;
    font-weight: bold;
}
.protection-option .icon {
    font-size: 20px;
    margin-bottom: 5px;
    color: #5FB878;
}
.protection-option .title {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 3px;
}
.protection-option .desc {
    font-size: 11px;
    color: #666;
}
.protection-desc {
    color: #999;
    font-size: 13px;
    margin-top: 10px;
    line-height: 1.5;
}

/* 支付方式 - 带图标 */
.payment-methods {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.payment-method {
    flex: 1;
    text-align: center;
    padding: 15px;
    border: 2px solid #e6e6e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.payment-method:hover {
    border-color: #1E9FFF;
    background-color: #f0f9ff;
}
.payment-method.selected {
    border-color: #1E9FFF;
    background-color: #e8f7ff;
    box-shadow: 0 0 10px rgba(30, 159, 255, 0.2);
}


/* 价格总览 */
.price-summary {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e6e6e6;
    position: sticky;
    top: 20px;
}
.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}
.price-total {
    font-size: 18px;
    font-weight: bold;
    color: #FF5722;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #eee;
}


/* 底部提交按钮 */
.submit-section {
    margin: 0 20px;
    padding: 25px 0;
    text-align: center;
    border-top: 2px solid #eee;
}
.submit-btn-add {
    width: 300px;
    margin: 0 auto;
}

/* 右侧支付按钮 */
.right-pay-btn {
    margin-top: 20px;
}

/* 倒计时提醒样式 */
.countdown-alert {
    background: linear-gradient(135deg, #fff2e8 0%, oklab(0.89 0.05 0.02 / 0) 100%);
    border: 2px solid #FF5722;
    border-radius: 8px;
    padding: 20px;
    margin:20px 20px 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.15);
    animation: pulse 2s infinite;
}

.countdown-alert span {
    font-size: 18px;
    font-weight: bold;
    color: #d4380d;
    flex: 1;
}

.countdown-alert .countdown {
    font-size: 24px;
    font-weight: bold;
    color: #FF5722;
    margin: 0 20px;
    text-align: center;
    min-width: 180px;
}

.countdown-alert button {
    background-color: #FF5722;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    margin-right: 15px;
}

.countdown-alert button:hover {
    background-color: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.countdown-alert a {
    color: #1E9FFF;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #1E9FFF;
    border-radius: 6px;
    padding: 10px 20px;
    transition: all 0.3s;
}

.countdown-alert a:hover {
    background-color: #1E9FFF;
    color: white;
    text-decoration: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 87, 34, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .countdown-alert {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    .countdown-alert span {
        text-align: center;
        margin-bottom: 10px;
    }
    .countdown-alert .countdown {
        margin: 10px 0;
        min-width: auto;
    }
    .countdown-alert button,
    .countdown-alert a {
        width: 100%;
        margin: 5px 0;
        text-align: center;
    }
}




:root {
            --primary-color: #3b82f6;
            --primary-hover: #2563eb;
            --danger-color: #ef4444;
            --danger-hover: #dc2626;
            --success-color: #10b981;
            --gray-100: #f8fafc;
            --gray-200: #f1f5f9;
            --gray-300: #e2e8f0;
            --gray-600: #64748b;
            --gray-700: #334155;
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
            --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
            --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
            --radius-md: 12px;
            --radius-sm: 8px;
        }
        /* 更改仓位对话框样式 */
        .change-cabin-dialog {
            padding: 20px;
            max-height: 350px;
            overflow-y: auto;
        }
        .change-cabin-title {
            text-align: center;
            margin-bottom: 20px;
            font-size: 18px;
            font-weight: bold;
        }
        .cabins-container {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin: 20px 10px;
        }
        .cabin-option {
            border: 1px solid #e6e6e6;
            border-radius: 8px;
            padding: 15px;
            width: 200px;
            cursor: pointer;
            background: #fff;
            transition: all 0.3s;
        }
        .cabin-option:hover {
            border-color: #FF5722;
            box-shadow: 0 2px 8px rgba(255, 87, 34, 0.2);
        }
        .cabin-option.selected {
            border: 2px solid #FF5722;
            background: #fff8f6;
        }
        .cabin-name {
            font-weight: bold;
            font-size: 16px;
            margin-bottom: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .cabin-jiage {
            display: flex;
            justify-content: flex-start;
            align-items: center;
        }
        .cabin-remaining {
            color: #666;
            font-size: 12px;
            background: #f5f5f5;
            padding: 2px 6px;
            border-radius: 10px;
            margin-left: 8px;
        }
        .cabin-price {
            color: #FF5722;
            font-size: 18px;
            font-weight: bold;
            display: inline-block;
            vertical-align: middle;
        }
        .cabin-current-tag {
            color: #FF5722;
            font-size: 14px;
            margin-left: 10px;
            display: inline-block;
            vertical-align: middle;
        }


        /* 添加乘客表单样式 */
        .add-passenger-form {
            padding: 20px;
        }

        /* 乘客项新样式 */
        .passenger-item {
            margin-bottom: 20px;
            border: 1px solid #e6e6e6;
            border-radius: 8px;
            padding: 15px;
            background: #fff;
        }
        .passenger-item-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .passenger-info-left {
            flex: 1;
            min-width: 0;
        }
        .passenger-name {
            font-weight: bold;
            font-size: 16px;
            margin-bottom: 5px;
            color: #333;
        }
        .passenger-id-card {
            color: #666;
            font-size: 14px;
        }
        .passenger-info-right {
            text-align: right;
            margin-right: 45px;
        }
        .passenger-cabin-info {
            font-size: 14px;
            color: #333;
            margin-bottom: 5px;
        }
        .passenger-price {
            color: #FF5722;
            font-size: 18px;
            font-weight: bold;
        }
        .passenger-actions {
            display: flex;
            gap: 0px;
        }
        .passenger-empty {text-align: center; padding: 20px; color: #999; font-size: 16px;}


        /* 出行保障选项样式 - 图标和文字水平排列 */
        .protection-options {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 15px;
        }
        .protection-option {
            flex: 1;
            min-width: 120px;
            padding: 10px;
            border: 1px solid #e6e6e6;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
            background-color: #f8f8f8;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .protection-option:hover {
            border-color: #5FB878;
            background-color: #f0f9f0;
        }
        .protection-option.selected {
            border-color: #5FB878;
            background-color: #e8f7e8;
            color: #5FB878;
            font-weight: bold;
        }
        .protection-option .icon {
            font-size: 20px;
            color: #5FB878;
            flex-shrink: 0;
        }
        .protection-option .title {
            font-size: 13px;
            font-weight: bold;
            margin-bottom: 0;
        }
        .protection-option .desc {
            font-size: 11px;
            color: #666;
            margin-top: 2px;
        }


/* buy 页*/
:root {
    --primary-color: #1E9FFF;
    --primary-hover: #0d8bf2;
    --danger-color: #FF5722;
    --success-color: #5FB878;
    --warning-color: #FFB800;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #adb5bd;
    --gray-500: #6c757d;
    --gray-600: #495057;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --transition: all 0.3s ease;
}
/* 车辆舱位样式 - 现代化布局 */
/* 车辆列表项样式 - 新布局 */
.vehicle-item {
    margin-bottom: 12px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #fff;
    transition: var(--transition);
}
.vehicle-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.vehicle-item-content {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 16px;
}
.vehicle-info-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}
.vehicle-plate {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
}
.vehicle-length {
    color: #666;
    font-size: 14px;
}
.new-energy-label {
    background-color: #5FB878;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
}
.vehicle-info-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.vehicle-cabin {
    color: #666;
    font-size: 14px;
}
.vehicle-price {
    color: #FF5722;
    font-size: 16px;
    font-weight: bold;
}
.vehicle-actions {
    margin-left: auto;
}

.cabin-name {
    font-weight: bold;
    font-size: 15px;
    color: #333;
}
.cabin-price {
    color: #FF5722;
    font-size: 16px;
    font-weight: bold;
}

.add-passenger-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 20px;
    margin-bottom: 15px;
    background-color: white;
    border-radius: var(--radius-md);
    border: 2px dashed var(--gray-300);
    transition: var(--transition);
    cursor: pointer;
}

.add-passenger-item:hover {
    border-color: var(--primary-color);
    background-color: rgba(30, 159, 255, 0.05);
    transform: translateY(-2px);
}

.add-passenger-item .add-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
}
/* 空状态 */
.modern-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-400);
}

.modern-empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gray-500);
}

.modern-empty-state p {
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
/* 乘客列表容器 - 现代风格 */
.modern-passenger-list {

}
/* 乘客项 - 现代卡片设计 */
.modern-passenger-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    margin-bottom: 12px;
    background-color: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

.modern-passenger-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.modern-passenger-item.selected {
    border-color: var(--primary-color);
    background-color: rgba(30, 159, 255, 0.05);
}

/* 乘客复选框 */
.modern-checkbox {
    margin-right: 20px;
    position: relative;
}
/* 乘客信息 */
.modern-passenger-info {
    flex: 1;
}

.modern-passenger-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--gray-800);
}

.modern-passenger-id-info {
    font-size: 14px;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 15px;
}

.id-type-badge {
    background-color: var(--gray-100);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 500;
}

/* 操作按钮 */
.modern-passenger-actions {
    display: flex;
    gap: 10px;
}

.modern-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background-color: transparent;
    color: var(--gray-500);
}

.modern-action-btn:hover {
    transform: scale(1.1);
}

.modern-edit-btn:hover {
    background-color: rgba(30, 159, 255, 0.1);
    color: var(--primary-color);
}

.modern-delete-btn:hover {
    background-color: rgba(255, 87, 34, 0.1);
    color: var(--danger-color);
}

/* 弹窗容器样式 */
.layui-layer-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}


/* 现代按钮基础样式 */
.modern-btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 120px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.modern-btn-primary {
    background: linear-gradient(135deg, #1E9FFF 0%, #0B87FF 100%);
    color: white;
}

.modern-btn-primary:hover {
    background: linear-gradient(135deg, #0B87FF 0%, #0066CC 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(11, 135, 255, 0.25);
}

.modern-btn-secondary {
    background-color: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.modern-btn-secondary:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

/* 表单按钮居中 */
.add-passenger-form .layui-form-item[style*="text-align: center"] {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #e6e6e6;
}

/* 乘客/车辆弹窗底部布局样式 - 参考 t.html */
.mainBox::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.mainBox::-webkit-scrollbar-track {
    background: white;
    border-radius: 2px;
}

.mainBox::-webkit-scrollbar-thumb {
    background: #E6E6E6;
    border-radius: 2px;
}

.mainBox::-webkit-scrollbar-thumb:hover {
    background: #E6E6E6;
}

.mainBox::-webkit-scrollbar-corner {
    background: #f6f6f6;
}

.mainBox {
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 80px;
    overflow: auto;
}

.bottom {
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 80px;
    background-color: #FFFFFf;
    border-top: 1px solid #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
;
}

.button-container {
    gap: 16px;
    display: flex;


}

.main-container {
    margin: 15px;
}

.main-container .layui-form-item {
    margin-bottom: 15px !important;
    margin-top: 10px !important;
}

/* 新能源车禁用状态 */
.modern-passenger-item.disabled {
    opacity: 0.6;
    background-color: #f5f5f5;
    border-color: #d9d9d9;
    cursor: not-allowed;
}

.modern-passenger-item.disabled:hover {
    border-color: #d9d9d9;
    box-shadow: none;
    transform: none;
}

.modern-passenger-item.disabled .modern-passenger-name,
.modern-passenger-item.disabled .modern-passenger-id-info {
    color: #999;
}



.modern-passenger-item.disabled .new-energy-tag {
    background-color: #999 !important;
}

.layui-bg-green {background-color: #16b777 !important;}
.age-category-badge {padding: 2px 6px; border-radius: 10px; font-size: 12px; color: white;}
.hide {display: none !important;}

/* 新增样式类用于替换buy.html中的内联样式 */
.contact-phone-form {
    margin-top: 20px;
    padding: 15px;
    border-top: 1px solid #e6e6e6;
    display: none;
}

.contact-phone-form.show {
    display: block;
}

.section-title.compact {
    margin-bottom: 15px;
}

.inline-width-300 {
    width: 300px;
}

.green-antong-warning {
    display: none;
    margin-top: 12px;
    padding: 12px;
    background-color: #fff2f0;
    border-radius: 8px;
    border-left: 4px solid #ff4d4f;
    color: #666;
    font-size: 14px;
}

.green-antong-warning.show {
    display: block;
}

.right-pay-btn {
    /* 保留现有的样式，但可能需要调整 */
}

.layui-btn.pay-button {
    background-color: #FF5722;
    height: 50px;
    font-size: 18px;
}

.payment-instructions {
    margin-top: 20px;
    font-size: 13px;
    color: #999;
}

.loading-placeholder {
    text-align: center;
    padding: 20px;
    color: #999;
}