﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}
/* 内容容器：仅中间主体1100px居中 */
.wrap {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* 顶部通栏 100% 背景 */
.header-top {
    width: 100%;
    background: linear-gradient(to right, #1677ff, #00a0e9);
    color: #fff;
}

    .header-top .inner {
        max-width: 1100px;
        margin: 0 auto;
        padding: 20px 30px;
        display: flex;
        align-items: center;
    }

    .header-top .logo {
        margin-right: 15px;
    }

        .header-top .logo img {
            height: 60px;
            width: 60px;
        }

    .header-top .title-sub {
        font-size: 16px;
        letter-spacing: 4px;
        opacity: 0.9;
    }

    .header-top .title-main {
        font-size: 30px;
        font-weight: bold;
        line-height: 1.2;
    }

/* 导航通栏 100% 背景 */
.nav-bar {
    width: 100%;
    background-color: #1690ff;
}

    .nav-bar .inner {
        max-width: 1100px;
        margin: 0 auto;
        display: flex;
    }

        .nav-bar .inner a {
            color: #fff;
            padding: 12px 22px;
            text-decoration: none;
            font-size: 15px;
        }

            .nav-bar .inner a:hover,
            .nav-bar .inner a.active {
                background-color: #40a9ff;
            }

/* 搜索区域 */
.search-area {
    background-color: #f0f5ff;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .search-area .input-wrap {
        flex: 1;
        max-width: 700px;
    }

    .search-area input[type="text"] {
        width: 100%;
        padding: 10px 15px;
        border: 1px solid #d9d9d9;
        border-radius: 4px;
        font-size: 14px;
    }

.search-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
}

/* 修正后的单选按钮组样式，和截图一致 */
.radio-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

    .radio-group label {
        display: flex;
        align-items: center;
        font-size: 14px;
        color: #333;
        cursor: pointer;
        position: relative;
        padding-left: 22px;
    }
    /* 隐藏原生单选框 */
    .radio-group input[type="radio"] {
        display: none;
    }
    /* 自定义单选框外圈 */
    .radio-group label::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        border: 2px solid #999;
        border-radius: 50%;
        background-color: #fff;
    }
    /* 选中时外圈样式 */
    .radio-group input[type="radio"]:checked + label::before {
        border-color: #007bff;
    }
    /* 选中时的内圈圆点 */
    .radio-group input[type="radio"]:checked + label::after {
        content: "";
        position: absolute;
        left: 5px;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        background-color: #007bff;
        border-radius: 50%;
    }

/* 表格区域 */
.table-container {
    margin: 20px 0;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
}

.table-header {
    display: grid;
    grid-template-columns: 60px 1.5fr 0.6fr 1.3fr 1fr 0.6fr 90px;
    background-color: #e6ebf5;
    padding: 15px 10px;
    border-bottom: 1px solid #e8e8e8;
    font-weight: bold;
    text-align: center;
}

.table-body {
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.table-row {
    display: grid;
    grid-template-columns: 60px 1.5fr 0.6fr 1.3fr 1fr 0.6fr 90px;
    padding: 20px 10px;
    border-bottom: 1px solid #e8e8e8;
    align-items: center;
    text-align: center;
}

    .table-row:last-child {
        border-bottom: none;
    }

.detail-btn {
    text-decoration: none;
    border: 1px solid #007bff;
    color: #007bff;
    background: #fff;
    padding: 6px 15px;
    border-radius: 4px;
    cursor: pointer;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 30px;
    gap: 10px;
    font-size: 14px;
}

    .pagination select,
    .pagination input {
        padding: 5px;
        border: 1px solid #d9d9d9;
        border-radius: 4px;
    }

    .pagination .page-btn {
        text-decoration: none;
        padding: 5px 10px;
        border: 1px solid #d9d9d9;
        background: #fff;
        cursor: pointer;
        border-radius: 4px;
    }

        .pagination .page-btn.active {
            background: #1690ff;
            color: #fff;
            border-color: #1690ff;
        }

/* 详情页 */
.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #2196F3;
    padding-bottom: 8px;
    margin: 20px 0 15px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    .info-table th {
        border: 1px solid #e0e0e0;
        padding: 12px 15px;
        background-color: #f8f9fa;
        text-align: right;
        width: 16%;
        font-weight: normal;
    }

    .info-table td {
        border: 1px solid #e0e0e0;
        padding: 12px 15px;
        width: 34%;
    }

.btn-container {
    text-align: center;
    margin-top: 30px;
}

.btn-blue {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

    .btn-blue:hover {
        background-color: #1976D2;
    }

/* 底部 */
.footer {
    text-align: center;
    padding: 15px;
    font-size: 13px;
    color: #666;
    border-top: 1px solid #e8e8e8;
    margin-top: 20px;
}

/* ====================================== */
/* 搜索等待 加载遮罩样式 */
/* ====================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.loading-box {
    background: #fff;
    padding: 25px 40px;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #333;
}
/* 旋转动画 */
.loading-spin {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
