
.flight-channel .banner {
    width: 100%;
    height: 400px; /* 按需调整为 340px */
    position: relative;
    background: url(/content/Styles/images/banner4.jpg) no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    display: block;
}

.flight-channel .banner-inner {
    width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

@media (max-width: 1240px) {
    .flight-channel .banner-inner {
        width: 100%;
        padding: 0 20px;
        display: flex;
        align-items: center;
    }
}

.flight-channel .channel-search {
    width: 560px;
    margin: 0; /* 移除负边距，配合 flex 居中实现完美垂直居中 */
    background: rgba(255, 255, 255, 0.8); /* 稍微提高不透明度 */
    backdrop-filter: blur(10px); /* 减小模糊半径 */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 10;
}

.flight-channel .channel-search .title {
    display: none;
}

.flight-channel .side-media {
    display: none;
}

.flight-channel .media-inner {
    width: 100%;
    height: 100%;
}

.flight-channel .media-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* �������ӵ���һ�� */
/* 政策声明区域：移动到下方并淡化 */
.flight-channel .policy-row {
    width: 1200px;
    margin: 20px auto 0;
}

@media (max-width: 1240px) {
    .flight-channel .policy-row {
        width: auto;
        margin: 15px 20px 0;
    }
}

.flight-channel .policy-row .policy-links {
    background: transparent;
    border: none;
    padding: 0;
    line-height: 1.6;
    font-size: 12px;
    color: #999;
}

.flight-channel .policy-row .policy-links a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
}

.flight-channel .policy-row .policy-links a:hover {
    color: var(--brand-accent);
    text-decoration: underline;
}

.flight-channel .container-main {
    width: 1200px;
    margin: 40px auto 40px; /* 调整顶部边距，适应居中后的布局 */
}

@media (max-width: 1240px) {
    .flight-channel .container-main {
        width: auto;
        margin: 30px 20px 40px;
    }
}

.flight-channel .quick-entry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 992px) {
    .flight-channel .quick-entry {
        grid-template-columns: repeat(2, 1fr);
    }
}

.flight-channel .quick-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.flight-channel .quick-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: rgba(255, 154, 3, 0.2);
}

.flight-channel .quick-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 134, 246, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s;
}

.flight-channel .quick-card:hover .icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.05);
}

.flight-channel .quick-card .text .h {
    color: #222;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.flight-channel .quick-card .text .s {
    color: #888;
    font-size: 12px;
    margin-top: 4px;
}

.flight-channel .hot-section,
.flight-channel .faq-section {
    margin-top: 24px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    padding: 24px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.flight-channel .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.flight-channel .section-title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0;
}

.flight-channel .section-title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #1f2d3d;
    white-space: nowrap;
}

.flight-channel .section-subtitle {
    margin-left: 0;
    color: #8a8a8a;
    font-size: 12px;
    white-space: nowrap;
}

.flight-channel .section-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.flight-channel .section-tab {
    border: 1px solid #eee;
    background: #fff;
    color: #666;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.flight-channel .section-tab:hover {
    border-color: rgba(0, 134, 246, 0.35);
    color: var(--primary-color);
    background: rgba(0, 134, 246, 0.05);
}

.flight-channel .section-tab.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.flight-channel .route-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 992px) {
    .flight-channel .route-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .flight-channel .route-grid {
        grid-template-columns: 1fr;
    }
}

.flight-channel .route-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 12px;
    text-decoration: none;
    background: rgba(248, 249, 250, 0.70);
    transition: transform .15s ease, box-shadow .15s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.flight-channel .route-card:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
    text-decoration: none;
}

.flight-channel .route-date {
    min-width: 66px;
    color: #777;
    font-size: 12px;
    white-space: nowrap;
}

.flight-channel .route-city {
    color: #1f2d3d;
    font-weight: 700;
}

.flight-channel .route-city .arrow {
    margin: 0 6px;
    color: var(--primary-color);
    font-weight: 400;
}

.flight-channel .route-price {
    text-align: right;
    color: var(--brand-accent);
}

.flight-channel .route-price em {
    font-style: normal;
    font-size: 18px;
    font-weight: 800;
    margin-right: 2px;
}

.flight-channel .faq-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .flight-channel .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .flight-channel .faq-grid {
        grid-template-columns: 1fr;
    }
}

.flight-channel .faq-item {
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.flight-channel .faq-item h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    padding-bottom: 8px;
    border-bottom: 2px solid #f5f5f5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.flight-channel .faq-item h3::before {
    content: "";
    display: block;
    width: 3px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 2px;
}

.flight-channel .faq-item a {
    display: block;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.2;
    transition: all 0.2s;
}

.flight-channel .faq-item a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

.flight-channel .empty-hint {
    grid-column: 1 / -1;
    text-align: center;
    padding: 18px 0;
    color: #999;
    font-size: 14px;
}

/* ==========================================================================
   �����Ǵ� ~/css/home/Index.css ��ȡ����������ʽ
   ȷ��Ƶ��ҳ�������򣨸��� Part_FlightSearch.cshtml����������ʾ
   ========================================================================== */

/* ���������������� */
.flight-channel .search-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: transparent;
    box-shadow: none;
    font-family: var(--font-family);
}

/* ���Ұ�ť�� */
.flight-channel .btn-group-capsule {
    display: inline-flex;
    border: 1px solid #ddd;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: var(--shadow-xs);
    margin-bottom: 16px;
    align-self: flex-start;
}

.flight-channel .btn-group-capsule .btn {
    border: none !important;
    border-radius: 0 !important;
    font-weight: 500;
    color: #666;
    padding: 8px 20px;
    min-width: 64px;
    background: transparent;
}

.flight-channel .btn-group-capsule .btn-check:checked + .btn {
    background: var(--brand-accent) !important;
    color: #fff !important;
    font-weight: 600;
}

.flight-channel .btn-group-capsule .btn:hover {
    background: #f0f0f0;
    color: #333;
}

/* �������񲼾� */
.flight-channel .form-grid {
    display: grid;
    grid-template-columns: 1fr 44px 1fr;
    grid-template-rows: 54px 54px;
    gap: 12px;
    width: 100%;
}

/* ������ǩ�� */
.flight-channel .float-label-group {
    position: relative;
    width: 100%;
    height: 100%;
}

.flight-channel .float-input {
    width: 100%;
    height: 100%;
    padding: 24px 12px 8px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    font-size: 15px;
    background: #fff; /* 去掉透明度，改为纯白以保证文字清晰 */
    transition: var(--transition-base);
    box-sizing: border-box;
}

.flight-channel .float-input:focus {
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(255, 154, 3, 0.15);
}

.flight-channel .float-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #999;
    background: transparent; /* 改为透明以融入背景 */
    padding: 0 4px;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 1;
}

/* 悬浮状态 */
.flight-channel .float-input:not(:placeholder-shown) ~ .float-label,
.flight-channel .float-input:focus ~ .float-label {
    top: 10px;
    font-size: 12px;
    color: var(--brand-accent);
    font-weight: 500;
    background: transparent; /* 彻底移除背景，实现完全融入 */
    padding: 0 4px;
}

/* ������ť���� */
.flight-channel .swap-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flight-channel .swap-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition-base);
}

.flight-channel .swap-btn:hover {
    background: var(--brand-accent);
    color: #fff;
    border-color: var(--brand-accent);
}

.flight-channel .swap-icon {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.flight-channel .swap-btn.swapped .swap-icon {
    transform: rotate(180deg);
}

/* ������ */
.flight-channel .day-diff-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flight-channel .day-diff {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #666;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* �ײ������� */
.flight-channel .form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    font-size: 13px;
}

.flight-channel .premium-check {
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.flight-channel .search-btn {
    height: 40px;
    padding: 0 24px;
    background: var(--brand-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-base);
}

.flight-channel .search-btn:hover {
    background: var(--brand-accent-hover);
}

/* ������������ */
.flight-channel .city-suggest {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: var(--radius-lg);
    max-height: 200px;
    overflow-y: auto;
    box-shadow: var(--shadow-md);
    z-index: 10;
    display: none;
    margin-top: 4px;
}

.flight-channel .city-suggest.show {
    display: block;
}

.flight-channel .city-suggest-item {
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.flight-channel .city-suggest-item:hover {
    background: #f8f9fa;
    color: var(--brand-accent);
}

/* ��Ӧʽ���� */
@media (max-width: 540px) {
    .flight-channel .form-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 54px);
        gap: 10px;
    }

    .flight-channel .swap-wrapper,
    .flight-channel .day-diff-wrapper {
        grid-column: 1 / -1;
        justify-content: center;
    }
}
