/* 添加行李及政策详情弹窗样式 */
.policy-detail-modal {
    position: fixed;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-size: 16px;
}

.policy-detail-modal.open {
    transform: translateX(0);
}

.policy-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f8f9fa;
    position: sticky;
    top: 0;
    z-index: 10;
}

.policy-section-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    padding-bottom: 8px;
    scroll-margin-top: 100px;
}

.policy-detail-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

.policy-detail-tabs {
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 56px;
    z-index: 10;
}

.policy-tab {
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.policy-tab.active {
    color: #6f4fe3;
    border-bottom-color: #6f4fe3;
}

.policy-detail-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background-color: #f5f7fa;
    scroll-behavior: smooth;
}

.policy-content-section {
    display: block;
}

.policy-content-section.active {
    display: block;
}

.policy-section-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.policy-item-detail {
    margin-bottom: 15px;
    padding: 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.policy-item-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
}

.route-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 13px;
    color: white;
    margin-right: 10px;
    font-weight: bold;
}

.outbound-tag {
    background-color: #6f4fe3;
}

.return-tag {
    background-color: #f0b100;
}

.policy-item-content {
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}

.baggage-info-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0e0e0;
}

.baggage-info-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.baggage-info-item {
    margin-right: 15px;
    margin-bottom: 5px;
}

.policy-info-item {
    margin-bottom: 8px;
}

.policy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.policy-overlay.open {
    display: block;
}

.view-policy-detail-btn {
    background: none;
    border: none;
    color: #6f4fe3;
    cursor: pointer;
    font-size: 13px;
    padding: 5px 10px;
    margin-top: 10px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.view-policy-detail-btn:hover {
    background-color: rgba(33, 130, 252, 0.1);
}

.baggage-header {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.baggage-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.baggage-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    color: #6f4fe3;
    flex-shrink: 0;
}

.baggage-content {
    flex: 1;
}

.baggage-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
    font-size: 15px;
}

.baggage-detail {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.remark-item-title {
    margin: 15px 0 0;
    padding-bottom: 8px;
    font-weight: 700;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #eee;
}
.remark-item-content {
    margin: 0;
    text-indent: 2em;
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}