﻿/* 在线值机页面样式 */

.onlinecheckin-page {
    background: #f5f7fa;
    min-height: calc(100vh - 300px);
}

.breadcrumb-wrapper {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
}

.breadcrumb-item {
    font-size: 14px;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--brand-accent);
}

.breadcrumb-item.active {
    color: #999;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #ccc;
}

.container-main {
    width: 1200px;
    margin: 0 auto;
}

.page-header {
    background: var(--brand-accent);
    padding: 40px 0;
    margin-bottom: 30px;
    border-radius: 8px;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
}

.text-wrapper h1 {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 8px 0;
}

.text-wrapper .subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.95);
    margin: 0;
}

.tips-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    overflow: hidden;
}

.tips-header {
    background: var(--brand-accent);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.tips-header i {
    font-size: 20px;
}

.tips-content {
    padding: 20px;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.tips-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid var(--brand-accent);
}

.tips-list li i {
    color: var(--brand-accent);
    font-size: 18px;
    flex-shrink: 0;
}

.airlines-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 30px;
}

.airlines-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--brand-accent);
}

.airlines-section .section-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.search-box {
    position: relative;
    width: 300px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.search-box .form-control {
    padding-left: 45px !important; /* 输入文本和placeholder都右移，避免与图标重叠 */
    border-radius: 20px;
    border: 1px solid #ddd;
    height: 40px;
}

.search-box .form-control::placeholder {
    color: #bbb;
    text-indent: 0; /* 让placeholder和输入文本完全对齐 */
}

.search-box .form-control:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 0.2rem rgba(255, 154, 3, 0.15);
}

.airline-category {
    margin-bottom: 40px;
}

.airline-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid var(--brand-accent);
}

.airline-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.airline-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    position: relative;
}

.airline-card:hover {
    text-decoration: none;
    border-color: var(--brand-accent);
    box-shadow: 0 4px 12px rgba(255, 154, 3, 0.15);
    transform: translateY(-2px);
}

.airline-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f8f9fa;
}

.airline-card.disabled:hover {
    border-color: #eee;
    box-shadow: none;
    transform: none;
}

.airline-icon {
    width: 50px;
    height: 50px;
    background: var(--brand-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.airline-icon i {
    color: #fff;
    font-size: 24px;
}

.airline-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.airline-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.airline-code {
    font-size: 13px;
    color: #999;
}

.unavailable-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #ff4d4f;
    color: #fff;
    font-size: 12px;
    border-radius: 10px;
    margin-top: 5px;
}

.airline-card > i.bi-arrow-right-circle {
    font-size: 24px;
    color: var(--brand-accent);
    opacity: 0;
    transition: all 0.3s;
}

.airline-card:hover > i.bi-arrow-right-circle {
    opacity: 1;
}

.faq-section {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 30px;
    margin-bottom: 30px;
}

.faq-section .section-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--brand-accent);
}

.faq-section .section-header h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--brand-accent);
    box-shadow: 0 2px 8px rgba(255, 154, 3, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: #f8f9fa;
    cursor: pointer;
}

.faq-question i {
    color: var(--brand-accent);
    font-size: 22px;
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.faq-answer {
    padding: 18px 20px 18px 54px;
    background: #fff;
}

.faq-answer p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 1200px) {
    .container-main {
        width: 100%;
        padding: 0 10px;
    }
    .airline-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .airline-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .tips-list {
        grid-template-columns: 1fr;
    }
    .search-box {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 30px 0;
    }
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    .text-wrapper h1 {
        font-size: 26px;
    }
    .airline-items {
        grid-template-columns: 1fr;
    }
    .airlines-section .section-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    .search-box {
        width: 100%;
    }
}

.airline-card.hidden {
    display: none;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}

.no-results i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}
