@charset "utf-8";

/* ========== 整体容器：内部两个 wrap 上下堆叠 ========== */
.parking-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ========== 通用 wrap 卡片样式（parking-top-wrap 和 parking-wrap 共享） ========== */
.parking-top-wrap,
.parking-wrap {
    background: #ffffff;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    overflow-wrap: break-word;
    word-break: break-word;
}
.parking-top-wrap{
    box-shadow: 0 1px 4px rgba(1535, 3, 3, 0.08);
    padding: 15px;
}
.parking-top-wrap p,
.parking-wrap p {
    margin: 0 0 0.8em;
    font-size: 16px;
}
.parking-top-wrap img,
.parking-wrap img {
    max-width: 100%;
    height: auto;
}
.parking-top-wrap a,
.parking-wrap a {
    color: #9f0303;
    text-decoration: none;
    transition: color 0.2s ease;
}
.parking-top-wrap a:hover,
.parking-wrap a:hover {
    color: #e32929;
    text-decoration: underline;
}

/* ========== parking-wrap 内部：reminder + switch 1:2 左右 ========== */
.parking-wrap {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

/* 左侧：特别提醒（1 份） */
.reminder-wrap {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    padding: 50px 20px 20px;
    box-shadow: 0 1px 4px rgba(1535, 3, 3, 0.08);
}
/* 顶部铃铛图标 + 红色「特别提醒」文字，横向排列居中 */
.reminder-wrap::before {
    content: '特别提醒';
    color: #9f0303;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    height: 24px;
    background: url('/material/SVG/ring.svg') no-repeat left center / 20px 20px;
    padding-left: 28px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    white-space: nowrap;
}

/* 右侧：切换区（2 份，内部上下结构） */
.parking-switch-wrap {
    flex: 2 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ========== 切换区上半：Tab 栏 ========== */
.switch-title {
    list-style: none;
    margin: 0 0 15px;
    padding: 0;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    border-bottom: 2px solid #9f0303;
}
.switch-title li {
    padding: 8px 18px;
    background: #f5f5f5;
    color: #333;
    cursor: pointer;
    border-radius: 4px 4px 0 0;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
    user-select: none;
}
.switch-title li:hover {
    background: #faf6f6;
    color: #9f0303;
}
.switch-title li.active {
    background: #9f0303;
    color: #ffffff;
}

/* ========== 切换区下半：内容区 ========== */
.switch-content {
    list-style: none;
    margin: 0;
    min-height: 200px;
    flex: 1;
}
.switch-content li {
    display: none;
}
.switch-content li.active {
    display: block;
}
.switch-content li img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== 平板：≤991px parking-wrap 改上下堆叠 ========== */
@media (max-width: 991px) {
    .parking-wrap {
        flex-direction: column-reverse;
    }
}

/* ========== 手机：≤767px Tab 栏可横滑 ========== */
@media (max-width: 767px) {
    .switch-title {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .switch-title li {
        white-space: nowrap;
        padding: 6px 12px;
        font-size: 13px;
    }
}
