.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.wrap { flex-wrap: wrap; }

html {
    font-size: 14px;
    background-color: #f5f7fb !important;
}
body {
    margin: 0;
    background: #f5f7fb;
    color: #333;
    font-family: "Microsoft YaHei", SimSun, sans-serif;
}

.top-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
}
.top-link {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    font-size: 13px;
}
.top-link a { text-decoration: none; color: #666; }
.app-down { margin-left: 12px; }

.ych_top {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #2d73ff 0%, #5a9bff 100%);
}
.ych_top_img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    opacity: 0.35;
}
.ych_top_text {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
}
.ych_top_text_2 {
    position: absolute;
    left: 50%;
    top: 68%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: rgba(255,255,255,0.9);
    font-size: 16px;
}

.container {
    width: 1200px;
    margin: 20px auto 40px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.left_contain {
    flex: 1;
    min-width: 0;
}
.right_contain {
    width: 300px;
    flex-shrink: 0;
}

.filter-card,
.list-card,
.right_info_box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-card {
    padding: 20px 24px;
    margin-bottom: 16px;
}

.search_row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.search_box {
    flex: 1;
    display: flex;
    align-items: center;
    height: 42px;
    border: 1px solid #dce3f0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8faff;
}
.search_box input {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    padding: 0 14px;
    font-size: 14px;
    background: transparent;
}
.search_box button,
.search_btn {
    height: 100%;
    border: none;
    background: #3372FD;
    color: #fff;
    padding: 0 22px;
    font-size: 14px;
    cursor: pointer;
}
.search_box button:hover,
.search_btn:hover {
    background: #2a63e0;
}

.filter-row {
    margin-bottom: 14px;
}
.filter-row:last-child {
    margin-bottom: 0;
}
.filter-label {
    display: inline-block;
    min-width: 72px;
    color: #666;
    font-weight: 600;
    font-size: 14px;
    vertical-align: top;
    line-height: 30px;
}
.filter-tags {
    display: inline;
}
.filter-tags a {
    display: inline-block;
    margin: 0 6px 8px 0;
    padding: 4px 12px;
    border-radius: 4px;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    line-height: 22px;
}
.filter-tags a:hover {
    color: #3372FD;
    background: #edf2ff;
}
.filter-tags a.active {
    color: #fff;
    background: #3372FD;
}

.rukou-box {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.rukou-box a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #3372FD;
    text-decoration: none;
    background: #edf2ff;
    border: 1px solid #d6e3ff;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.rukou-box a:first-child {
    color: #fff;
    background: #3372FD;
    border-color: #3372FD;
}
.rukou-box a:first-child:hover {
    background: #2a63e0;
    border-color: #2a63e0;
}
.rukou-box a:not(:first-child):hover {
    color: #fff;
    background: #3372FD;
    border-color: #3372FD;
}

.list-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 0 4px;
}
.list-head .count {
    font-size: 15px;
    color: #333;
    font-weight: 600;
}
.list-head .tip {
    font-size: 13px;
    color: #999;
}

.school-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.school-list li {
    border-bottom: 1px solid #f0f0f0;
}
.school-list li:last-child {
    border-bottom: none;
}
.school-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    text-decoration: none;
    color: #333;
    transition: background 0.15s;
}
.school-link:hover {
    background: #f5f8ff;
}
.school-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
}
.school-sub {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #999;
}
.school-arrow {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-top: 2px solid #c8c8c8;
    border-right: 2px solid #c8c8c8;
    transform: rotate(45deg);
}
.school-empty {
    padding: 60px 20px;
    text-align: center;
    font-size: 15px;
    color: #999;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.school-more {
    margin-top: 16px;
}
.school-more a {
    display: block;
    line-height: 44px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: #3372FD;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    cursor: pointer;
}
.school-more a:hover {
    background: #f5f8ff;
}
.school-more a.disabled {
    color: #999;
    cursor: default;
}

.right_info_box {
    padding: 16px;
    margin-bottom: 16px;
}
.right_info_box .daofen-box {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}
.right_info_box .daofen-box img {
    max-width: 100%;
    height: auto;
}

.info-tab {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.info-tab .bar-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8e8e8;
    list-style: none;
    margin: 0;
    padding-left: 0;
}
.info-tab .title-name {
    font-size: 15px;
    padding: 5px 14px;
    border-radius: 6px;
    margin-right: 6px;
    margin-bottom: 4px;
    color: #555;
    cursor: pointer;
}
.info-tab .title-name.click {
    font-weight: 600;
    background: #3372FD;
    color: #fff;
}
.info-tab .title-name img {
    display: none !important;
}
.info-tab .tab-content {
    display: none;
    padding-top: 10px;
}
.info-tab .tab-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.info-tab .tab-content ul li a {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
}
.info-tab .imp-title {
    display: flex;
    align-items: flex-start;
}
.info-tab .imp-icon {
    width: 10px;
    height: 10px;
    margin-top: 5px;
    margin-right: 8px;
}
.info-tab .imp-name {
    font-size: 14px;
    line-height: 1.5;
}
.info-tab .imp-content {
    margin-left: 18px;
    margin-top: 4px;
    font-size: 12px;
    color: #999;
}
.info-tab .tab-content .all {
    background-color: #f1f1f1;
    color: #444;
    padding: 10px 20px;
    border-radius: 6px;
    width: fit-content;
    margin: 16px auto 0;
    cursor: pointer;
    text-align: center;
}

.bot-about {
    width: 1200px;
    margin: 20px auto;
    padding: 16px 40px;
    text-align: center;
    color: #666;
    font-size: 13px;
    line-height: 1.7;
}
.footer {
    display: block !important;
    width: 100%;
    background-color: #666666;
    color: #999;
}
.footer a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
}
.wenzi {
    padding: 12px 0;
    text-align: center;
    line-height: normal;
    font-size: 14px !important;
    background-color: #666666;
}
.notice {
    margin: 12px auto 0;
    text-align: center;
    display: block;
    font-size: 14px !important;
    color: #999 !important;
}

/* school detail */
.score-panel {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px 24px 24px;
}
.score-panel-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}
.toudang-score-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.toudang-score-card {
    border: 1px solid #e8edf7;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.toudang-score-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: linear-gradient(90deg, #f7f9ff 0%, #fff 100%);
}
.toudang-score-card.collapsible .toudang-score-card-head {
    cursor: pointer;
}
.toudang-score-card.collapsible.open .toudang-score-card-head {
    border-bottom: 1px solid #f0f0f0;
}
.toudang-score-card-head-main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.toudang-score-tags {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.toudang-score-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    line-height: 1.4;
    color: #4e6ef2;
    background: #edf0fd;
    border-radius: 4px;
    white-space: nowrap;
}
.toudang-score-main {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 20px;
    text-align: right;
}
.toudang-score-main .toudang-score-item {
    flex-shrink: 0;
}
.toudang-score-main .label {
    display: block;
    font-size: 12px;
    color: #999;
    line-height: 1.2;
}
.toudang-score-main .value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #3372FD;
    line-height: 1.2;
}
.toudang-score-toggle {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-left: 8px;
    border-top: 2px solid #999;
    border-right: 2px solid #999;
    transform: rotate(135deg);
    transition: transform 0.2s ease;
}
.toudang-score-card.collapsible.open .toudang-score-toggle {
    transform: rotate(-45deg);
    margin-top: 4px;
}
.toudang-score-card-body {
    display: none;
    padding: 4px 0 8px;
}
.toudang-score-card.collapsible.open .toudang-score-card-body,
.toudang-score-card:not(.collapsible) .toudang-score-card-body {
    display: block;
}
.toudang-score-section {
    padding: 10px 16px 4px;
}
.toudang-score-section + .toudang-score-section {
    border-top: 1px dashed #eee;
    margin-top: 4px;
}
.toudang-score-section-title {
    font-size: 13px;
    color: #999;
    margin-bottom: 6px;
}
.toudang-score-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 6px 0;
    font-size: 14px;
    line-height: 1.5;
}
.toudang-score-row .field-label {
    flex-shrink: 0;
    width: 100px;
    color: #888;
}
.toudang-score-row .field-value {
    flex: 1;
    min-width: 0;
    color: #333;
    text-align: right;
    word-break: break-all;
}
.toudang-score-row.remark .field-value {
    text-align: left;
}
.link-more {
    display: block;
    width: fit-content;
    margin: 16px auto 0;
    padding: 10px 28px;
    font-size: 14px;
    color: #3372FD;
    background: #edf2ff;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
}
.link-more:hover {
    background: #dde7ff;
}
.back-link {
    display: inline-block;
    margin-bottom: 12px;
    color: #3372FD;
    text-decoration: none;
    font-size: 14px;
}
.back-link:hover {
    text-decoration: underline;
}
