

.container {
    max-width: 1260px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: linear-gradient(90deg, #2c3e50, #1a5f7a);
    border-radius: 15px;
    color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

/* 装饰元素 */
header::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 40%;
    height: 120%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(15deg);
    border-radius: 50%;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* 教育层次卡片 */
.edu-levels {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.edu-level {
    flex: 1;
    text-align: center;
    padding: 25px 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.edu-level::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ff6b6b);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.edu-level:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.edu-level:hover::after {
    transform: translateX(0);
}

.edu-level.selected {
    background: #f8f9ff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.edu-level.selected::after {
    transform: translateX(0);
}

.edu-level h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.edu-level p {
    color: #6c757d;
    line-height: 1.7;
    font-size:0.95rem
}

/* 三列内容布局 */
.content-wrapper {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.catalog-section {
    width:240px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.catalog-section:hover {
    transform: translateY(-5px);
}

.section-title {
    background: linear-gradient(90deg, #2c5aa0, #3a71c9);
    color: white;
    padding: 18px 25px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    position: relative;
}

.section-title i {
    margin-right: 12px;
    font-size: 1.4rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #ff6b6b;
    border-radius: 2px;
}

.catalog-list {
    list-style: none;
    padding: 20px;
    overflow-y: auto;
}

.catalog-list::-webkit-scrollbar {
    width: 8px;
}

.catalog-list::-webkit-scrollbar-thumb {
    background: #d1e0f0;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.catalog-list::-webkit-scrollbar-thumb:hover {
    background: #3498db;
}

.catalog-list li {
    padding: 15px 20px;
    margin-bottom: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-left: 4px solid #3a71c9;
}

.catalog-list li:hover {
    background: #f8f9ff;
    transform: translateX(5px);
    border-left: 4px solid #ff6b6b;
}

/* 修复：提高.selected选择器优先级 */
.catalog-list li.selected,
.catalog-list li.selected:hover {
    background: white;
    color: #2c5aa0;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-left: 4px solid #ff6b6b !important; /* 使用important确保覆盖 */
}

.catalog-list li i {
    margin-right: 15px;
    color: #3498db;
    font-size: 1.1rem;
}

.no-data {
    text-align: center;
    padding: 30px;
    color: #7f8c8d;
    font-style: italic;
}

.table-section {
    flex: 2;
    min-width: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.table-container {
    overflow-x: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    min-width: 600px;
}

thead {
    background: linear-gradient(90deg, #2c5aa0, #3a71c9);
    color: white;
}

th {
    padding: 18px 10px;
    text-align: left;
    font-weight: 600;
    position: relative;
}



tbody tr {
    border-bottom: 1px solid #eaeaea;
    transition: background 0.2s ease, transform 0.2s ease;
}

tbody tr:hover {
    background: #f0f7ff;
    transform: translateX(3px);
}

td {
    padding: 16px 10px;
}

.action-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #2c5aa0;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.2);
}

.action-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.satisfaction {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-stars {
    display: flex;
    gap: 3px;
}

.star {
    color: #ddd;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.star.filled {
    color: #ffc107;
    animation: starPulse 0.5s ease;
}

@keyframes starPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.category-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #e1edf7;
    color: #1a4b7a;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 1100px) {
    .content-wrapper {
        flex-direction: column;
    }

    .table-section {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .edu-level {
        min-width: 100%;
    }

    th, td {
        padding: 14px 16px;
    }

    .catalog-list li {
        padding: 12px 15px;
    }
}