/* 主体样式 */
body {
    background-color: #f5f5f7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1d1d1f;
    line-height: 1.5;
}

h1 {
    font-weight: 600;
    margin-bottom: 0;
    color: #1d1d1f;
    font-size: 1.8rem;
}

/* 顶部导航栏标题样式 */
.d-flex.justify-content-between h1 {
    display: flex;
    align-items: center;
    margin: 0;
}

/* 卡片样式 */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.card:hover {
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.09);
}

.card-header {
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(231, 231, 231, 0.8);
    font-weight: 600;
    padding: 15px 18px;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.card-body {
    padding: 18px;
}

/* 学科卡片特别样式 */
.subject-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.subject-card .card-header {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    color: #0066cc;
}

/* 搜索框样式 */
.search-container {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #86868b;
    z-index: 10;
    font-size: 0.9rem;
}

.clear-search {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #86868b;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.clear-search:hover {
    color: #1d1d1f;
}

.search-input {
    padding-left: 36px;
    padding-right: 36px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(210, 210, 215, 0.8);
    background-color: rgba(245, 245, 247, 0.5);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.search-input:focus {
    background-color: #fff;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

/* 学科列表样式 */
.subject-list {
    overflow-y: auto;
    padding-right: 8px;
    border-radius: 10px;
}

.subject-tree {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subject-item {
    margin-bottom: 1px;
}

.subject-link {
    display: block;
    padding: 8px 10px;
    color: #1d1d1f;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    font-size: 0.9rem;
}

.subject-link:hover {
    background-color: rgba(245, 245, 247, 0.8);
}

.subject-item.active > .subject-link {
    background-color: #0071e3;
    color: white;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

.category-link {
    font-weight: 600;
    color: #3a3a3c;
}

.category-toggle {
    display: inline-block;
    margin-right: 8px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: #0071e3;
}

.category.expanded .category-toggle {
    transform: rotate(90deg);
}

.subject-subtree {
    list-style: none;
    padding-left: 20px;
    margin-top: 1px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.category.expanded .subject-subtree {
    display: block;
}

.subject-link-child {
    font-size: 0.85em;
    padding: 7px 10px;
    color: #4a4a4c;
}

/* 自定义滚动条 */
.subject-list::-webkit-scrollbar {
    width: 5px;
}

.subject-list::-webkit-scrollbar-track {
    background: transparent;
}

.subject-list::-webkit-scrollbar-thumb {
    background-color: rgba(209, 209, 214, 0.7);
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.subject-list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(161, 161, 166, 0.9);
}

/* 评估结果按钮样式 */
.grade-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.grade-btn {
    border: none;
    border-radius: 12px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: rgba(245, 245, 247, 0.7);
    position: relative;
    overflow: hidden;
}

.grade-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: transparent;
    border-radius: 12px;
    transition: background-color 0.3s ease;
    z-index: -1;
}

.grade-btn:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.grade-btn.active {
    background-color: #0071e3;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

.grade-btn.all {
    background-color: rgba(245, 245, 247, 0.7);
    color: #1d1d1f;
}

.grade-btn.all.active {
    background-color: #0071e3;
    color: white;
}

.grade-btn.a-plus, .grade-btn.a {
    background-color: rgba(254, 242, 242, 0.7);
    color: #dc2626;
}

.grade-btn.a-plus.active, .grade-btn.a.active {
    background-color: #dc2626;
    color: white;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.grade-btn.a-minus {
    background-color: rgba(255, 251, 235, 0.7);
    color: #d97706;
}

.grade-btn.a-minus.active {
    background-color: #d97706;
    color: white;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.grade-btn.b-plus, .grade-btn.b, .grade-btn.b-minus {
    background-color: rgba(240, 253, 244, 0.7);
    color: #16a34a;
}

.grade-btn.b-plus.active, .grade-btn.b.active, .grade-btn.b-minus.active {
    background-color: #16a34a;
    color: white;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

.grade-btn.c-plus, .grade-btn.c, .grade-btn.c-minus {
    background-color: rgba(248, 250, 252, 0.7);
    color: #64748b;
}

.grade-btn.c-plus.active, .grade-btn.c.active, .grade-btn.c-minus.active {
    background-color: #64748b;
    color: white;
    box-shadow: 0 2px 8px rgba(100, 116, 139, 0.3);
}

/* 评估结果标签颜色 */
.badge {
    padding: 6px 10px;
    font-weight: 500;
    border-radius: 8px;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.badge.bg-danger {
    background-color: #dc2626 !important;
    background-image: linear-gradient(135deg, #dc2626, #ef4444);
}

.badge.bg-warning {
    background-color: #f59e0b !important;
    background-image: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.badge.bg-warning.text-dark {
    background-color: #fbbf24 !important;
    background-image: linear-gradient(135deg, #fbbf24, #fcd34d);
    color: #1d1d1f !important;
}

.badge.bg-success {
    background-color: #16a34a !important;
    background-image: linear-gradient(135deg, #16a34a, #22c55e);
}

.badge.bg-secondary {
    background-color: #64748b !important;
    background-image: linear-gradient(135deg, #64748b, #94a3b8);
}

/* 院校卡片样式 */
#universityList .card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: 1px solid rgba(231, 231, 231, 0.7);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

#universityList .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #0071e3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#universityList .card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: rgba(210, 210, 215, 0.7);
}

#universityList .card:hover::before {
    opacity: 1;
}

#universityList .card-body {
    padding: 16px;
}

#universityList .card-title {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: #1d1d1f;
    margin-bottom: 0.6rem;
}

/* 评级分组分隔 */
.grade-group {
    position: relative;
    margin-bottom: 28px;
    animation: fadeIn 0.5s ease;
}

.grade-group:last-child {
    margin-bottom: 0;
}

.grade-group-header {
    background-color: rgba(245, 245, 247, 0.7);
    color: #6e6e73;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
    backdrop-filter: blur(5px);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

/* 细分等级样式 */
/* A+ 级 */
.grade-group[data-grade="A+"] .grade-group-header {
    background-color: rgba(254, 242, 242, 0.7);
    color: #b91c1c;
}

/* A 级 */
.grade-group[data-grade="A"] .grade-group-header {
    background-color: rgba(255, 241, 242, 0.7);
    color: #e11d48;
}

/* A- 级 */
.grade-group[data-grade="A-"] .grade-group-header {
    background-color: rgba(255, 244, 230, 0.7);
    color: #ea580c;
}

/* B+ 级 */
.grade-group[data-grade="B+"] .grade-group-header {
    background-color: rgba(240, 253, 244, 0.7);
    color: #16a34a;
}

/* B 级 */
.grade-group[data-grade="B"] .grade-group-header {
    background-color: rgba(236, 253, 245, 0.7);
    color: #059669;
}

/* B- 级 */
.grade-group[data-grade="B-"] .grade-group-header {
    background-color: rgba(240, 249, 255, 0.7);
    color: #0284c7;
}

/* C+ 级 */
.grade-group[data-grade="C+"] .grade-group-header {
    background-color: rgba(248, 250, 252, 0.7);
    color: #475569;
}

/* C 级 */
.grade-group[data-grade="C"] .grade-group-header {
    background-color: rgba(241, 245, 249, 0.7);
    color: #64748b;
}

/* C- 级 */
.grade-group[data-grade="C-"] .grade-group-header {
    background-color: rgba(243, 244, 246, 0.7);
    color: #9ca3af;
}

/* 合并筛选与搜索区域样式 */
.filter-search-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: none;
}

.filter-section {
    background-color: white;
    border-right: 1px solid rgba(231, 231, 231, 0.8);
    padding: 16px 18px;
}

.search-section {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 16px 18px;
}

.filter-title, .search-title {
    color: #1d1d1f;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.01em;
}

/* 表单开关样式 */
.form-check-input {
    border-color: rgba(210, 210, 215, 0.8);
    background-color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #0071e3;
    border-color: #0071e3;
    box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.15);
}

.form-switch .form-check-input {
    height: 18px;
    width: 32px;
}

.form-check-label {
    font-size: 0.8rem;
    color: #86868b;
}

/* 加载指示器 */
.spinner-border {
    color: #0071e3 !important;
    animation: spinner-border 1s linear infinite;
}

#loadingIndicator p {
    font-size: 0.9rem;
    color: #6e6e73;
    font-weight: 500;
}

#noResults {
    font-size: 0.9rem;
    color: #6e6e73;
    border-radius: 12px;
    background-color: rgba(245, 245, 247, 0.7);
    border: none;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 主卡片内容标题 */
#resultHeader {
    font-weight: 600;
    color: #0071e3;
    letter-spacing: 0.01em;
    padding: 16px 18px;
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border-bottom: 1px solid rgba(231, 231, 231, 0.8);
}

/* 结果卡片 */
.result-card {
    animation: fadeIn 0.5s ease;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .grade-filter {
        justify-content: flex-start;
        gap: 5px;
    }
    
    .grade-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
        margin-bottom: 4px;
    }
    
    .subject-list {
        max-height: 300px;
    }
    
    .filter-section, .search-section {
        padding: 12px 14px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .card-header {
        padding: 12px 14px;
    }
    
    .card-body {
        padding: 14px;
    }
} 

/* 大学详情页样式 */
.university-title {
    font-weight: 700;
    color: #1d1d1f;
    font-size: 1.8rem;
    margin-bottom: 0;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    background-color: rgba(0, 113, 227, 0.1);
    color: #0071e3;
    border: none;
    border-radius: 12px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-back:hover {
    background-color: rgba(0, 113, 227, 0.15);
    color: #0071e3;
}

.university-info-card {
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    transition: all 0.3s ease;
}

.university-name {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
}

.university-details {
    margin-top: 1rem;
}

.detail-item {
    margin-bottom: 0.7rem;
    color: #4a4a4c;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.detail-item i {
    color: #0071e3;
    font-size: 1rem;
    width: 24px;
}

.detail-item strong {
    color: #1d1d1f;
    font-weight: 600;
    margin-right: 0.5rem;
}

.logo-container {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.school-logo {
    max-height: 140px;
    max-width: 140px;
    object-fit: contain;
}

.website-link {
    color: #0071e3;
    text-decoration: none;
    transition: all 0.2s ease;
}

.website-link:hover {
    color: #0051a2;
    text-decoration: underline;
}

/* 评估结果卡片 */
.evaluation-card {
    border-radius: 16px;
    overflow: hidden;
}

.stats-overview .card {
    border-radius: 14px;
    height: 100%;
    transition: all 0.3s ease;
    border: none;
}

.stats-overview .card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.stat-card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-card h3 {
    font-size: 2rem;
    font-weight: 700;
}

.stat-card p {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

.total-card {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    color: #1d1d1f;
}

.a-plus-card {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: #b91c1c;
}

.a-card {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    color: #c2410c;
}

.b-card {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #15803d;
}

/* 学科分类筛选 */
.category-filter-container {
    margin: 1.5rem 0;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-btn {
    border: none;
    background-color: rgba(245, 245, 247, 0.7);
    color: #4a4a4c;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 10px;
    padding: 8px 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.category-btn:hover {
    background-color: rgba(230, 230, 235, 0.9);
}

.category-btn.active {
    background-color: #0071e3;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

/* 评估结果表格 */
.evaluation-table-container {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.evaluation-table {
    margin-bottom: 0;
}

.evaluation-table thead {
    background-color: rgba(245, 245, 247, 0.5);
}

.evaluation-table th {
    font-weight: 600;
    color: #1d1d1f;
    padding: 14px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(231, 231, 231, 0.8);
}

.evaluation-table td {
    padding: 14px;
    vertical-align: middle;
    font-size: 0.95rem;
    color: #4a4a4c;
    border-bottom: 1px solid rgba(231, 231, 231, 0.5);
}

.evaluation-table tbody tr {
    transition: all 0.2s ease;
}

.evaluation-table tbody tr:hover {
    background-color: rgba(245, 245, 247, 0.5);
}

/* 响应式调整 - 大学详情页 */
@media (max-width: 768px) {
    .university-title {
        font-size: 1.5rem;
    }
    
    .university-name {
        font-size: 1.4rem;
    }
    
    .logo-container {
        width: 140px;
        height: 140px;
        margin-top: 1rem;
    }
    
    .school-logo {
        max-height: 100px;
        max-width: 100px;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
    
    .stat-card p {
        font-size: 0.8rem;
    }
    
    .category-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .evaluation-table th, 
    .evaluation-table td {
        padding: 10px;
        font-size: 0.85rem;
    }
} 

/* 导航按钮 */
.nav-buttons {
    display: flex;
    gap: 10px;
}

.btn-nav-link {
    padding: 8px 16px;
    border-radius: 12px;
    background-color: rgba(245, 245, 247, 0.7);
    color: #4a4a4c;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    border: none;
}

.btn-nav-link:hover {
    background-color: rgba(230, 230, 235, 0.9);
    color: #1d1d1f;
}

.btn-nav-link.active {
    background-color: #0071e3;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

/* 按学校查询页面样式 */
.university-list-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.university-list-card .card-header {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    color: #0066cc;
    padding: 15px 18px;
}

/* 大学列表样式 */
.university-list {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 5px;
    margin-top: 10px;
    border-radius: 10px;
}

.university-tree {
    list-style: none;
    padding: 0;
    margin: 0;
}

.university-item {
    margin-bottom: 1px;
}

.university-link {
    display: block;
    padding: 8px 10px;
    color: #1d1d1f;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.university-link:hover {
    background-color: rgba(245, 245, 247, 0.8);
}

.university-item.active > .university-link {
    background-color: #0071e3;
    color: white;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

.university-badge {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
}

.badge-985 {
    background-color: #dc2626;
}

.badge-211 {
    background-color: #d97706;
}

.badge-shuangyiliu {
    background-color: #16a34a;
}

/* 自定义滚动条 - 学校列表 */
.university-list::-webkit-scrollbar {
    width: 5px;
}

.university-list::-webkit-scrollbar-track {
    background: transparent;
}

.university-list::-webkit-scrollbar-thumb {
    background-color: rgba(209, 209, 214, 0.7);
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.university-list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(161, 161, 166, 0.9);
}

/* 学校类型筛选 */
.university-type-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
}

.form-check-inline {
    margin-right: 0;
}

.form-check-label {
    font-size: 0.8rem;
    color: #4a4a4c;
}

/* 学校信息预览区 */
.university-info-preview {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    transition: all 0.3s ease;
}

.university-info-preview .card-header {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    font-weight: 600;
    color: #0071e3;
}

.university-basic-info {
    padding: 5px 0;
}

.university-basic-info p {
    margin-bottom: 8px;
    color: #4a4a4c;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.university-basic-info i {
    color: #0071e3;
    font-size: 1rem;
    width: 24px;
}

.stats-summary {
    background-color: rgba(245, 245, 247, 0.5);
    padding: 15px;
    border-radius: 12px;
    width: 100%;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #6e6e73;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1;
}

.stat-value.highlight {
    color: #dc2626;
}

.btn-link {
    color: #0071e3;
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 6px;
}

.btn-link:hover {
    background-color: rgba(0, 113, 227, 0.1);
    color: #0051a2;
}

/* 学科评估结果分组 */
.subject-group {
    margin-bottom: 28px;
    animation: fadeIn 0.5s ease;
}

.subject-group:last-child {
    margin-bottom: 0;
}

.subject-group-header {
    background-color: rgba(245, 245, 247, 0.7);
    color: #6e6e73;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
    backdrop-filter: blur(5px);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.subject-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.subject-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.subject-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.subject-card:hover::before {
    opacity: 1;
}

.subject-card .card-body {
    padding: 12px 16px;
}

.subject-name {
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 4px;
    font-size: 1rem;
}

.subject-code {
    color: #6e6e73;
    font-size: 0.8rem;
    font-family: monospace;
}

.subject-category {
    color: #4a4a4c;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* 占位消息 */
.placeholder-message {
    padding: 30px;
    text-align: center;
    color: #6e6e73;
}

.placeholder-icon {
    font-size: 3rem;
    color: #d1d1d6;
    margin-bottom: 15px;
    display: block;
}

.placeholder-text {
    color: #6e6e73;
    font-size: 0.9rem;
}

.loading-placeholder {
    padding: 15px;
    text-align: center;
}

/* 按评级为学科卡片上色 */
.subject-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.subject-card[data-grade="A+"]::before {
    background-color: #b91c1c;
}

.subject-card[data-grade="A"]::before {
    background-color: #e11d48;
}

.subject-card[data-grade="A-"]::before {
    background-color: #ea580c;
}

.subject-card[data-grade="B+"]::before {
    background-color: #16a34a;
}

.subject-card[data-grade="B"]::before {
    background-color: #059669;
}

.subject-card[data-grade="B-"]::before {
    background-color: #0284c7;
}

.subject-card[data-grade="C+"]::before {
    background-color: #475569;
}

.subject-card[data-grade="C"]::before {
    background-color: #64748b;
}

.subject-card[data-grade="C-"]::before {
    background-color: #9ca3af;
}

/* 响应式调整 - 按学校查询页面 */
@media (max-width: 768px) {
    .university-link {
        font-size: 0.85rem;
        padding: 6px 8px;
    }
    
    .university-list {
        max-height: 300px;
    }
    
    .stats-summary {
        padding: 12px;
    }
    
    .stat-value {
        font-size: 1.4rem;
    }
    
    .subject-card .card-body {
        padding: 10px 14px;
    }
    
    .subject-name {
        font-size: 0.95rem;
    }
    
    .grades-stats-row {
        gap: 4px;
    }
    
    .grade-stat {
        padding: 4px 2px;
    }
    
    .grade-stat .stat-value {
        font-size: 0.95rem;
    }
    
    .grade-stat .stat-label {
        font-size: 0.7rem;
    }
} 

/* 学校类型筛选按钮样式 */
.school-type-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.type-btn {
    border: none;
    border-radius: 12px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: rgba(245, 245, 247, 0.7);
    position: relative;
    overflow: hidden;
}

.type-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: transparent;
    border-radius: 12px;
    transition: background-color 0.3s ease;
    z-index: -1;
}

.type-btn:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.type-btn.active {
    background-color: #0071e3;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

.type-btn.all {
    background-color: rgba(245, 245, 247, 0.7);
    color: #1d1d1f;
}

.type-btn.all.active {
    background-color: #0071e3;
    color: white;
}

/* 985工程按钮样式 - 使用红色系 */
.type-btn[data-type="985"] {
    background-color: rgba(254, 242, 242, 0.7);
    color: #dc2626;
}

.type-btn[data-type="985"].active {
    background-color: #dc2626;
    color: white;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

/* 211工程按钮样式 - 使用橙色系 */
.type-btn[data-type="211"] {
    background-color: rgba(255, 251, 235, 0.7);
    color: #d97706;
}

.type-btn[data-type="211"].active {
    background-color: #d97706;
    color: white;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

/* 双一流按钮样式 - 使用绿色系 */
.type-btn[data-type="shuangyiliu"] {
    background-color: rgba(240, 253, 244, 0.7);
    color: #16a34a;
}

.type-btn[data-type="shuangyiliu"].active {
    background-color: #16a34a;
    color: white;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

/* 其他院校按钮样式 */
.type-btn[data-type="other"] {
    background-color: rgba(248, 250, 252, 0.7);
    color: #64748b;
}

.type-btn[data-type="other"].active {
    background-color: #64748b;
    color: white;
    box-shadow: 0 2px 8px rgba(100, 116, 139, 0.3);
}

/* 更新徽章样式 */
/* 985工程徽章样式 */
.badge.bg-primary {
    background-color: #dc2626 !important;
    background-image: linear-gradient(135deg, #dc2626, #ef4444);
}

/* 211工程徽章样式 */
.badge.bg-info {
    background-color: #d97706 !important;
    background-image: linear-gradient(135deg, #d97706, #f59e0b);
}

/* 双一流徽章样式 */
.badge.bg-success {
    background-color: #16a34a !important;
    background-image: linear-gradient(135deg, #16a34a, #22c55e);
}

/* 学科评估结果分组样式 */
.subject-group {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.subject-group-header {
    padding: 15px;
    font-weight: bold;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.subject-items {
    padding: 15px;
}

/* 门类分类块样式 */
.category-block {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
}

.category-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.category-header {
    padding: 8px 0;
    margin-bottom: 10px;
    font-size: 15px;
    color: #555;
}

/* 学科卡片样式 */
.subject-card {
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.subject-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.subject-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding-right: 50px; /* 为评级徽章留出空间 */
    color: #1d1d1f;
}

.subject-card .card-subtitle {
    font-size: 0.85rem;
    color: #6c757d;
}

.subject-card .category-info {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #6c757d;
    border-top: 1px solid #f0f0f0;
    padding-top: 0.5rem;
}

.grade-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    font-size: 1.25rem;
}

.grade-group {
    margin-bottom: 2rem;
}

/* 评级徽章样式 */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 4px;
}

/* 学科分组容器 */
.subjects-container {
    padding: 0.5rem 0;
}

/* 分级组样式 */
.grade-a-plus .subject-group-header {
    background-color: rgba(220, 53, 69, 0.1);
    border-bottom: 1px solid rgba(220, 53, 69, 0.2);
}

.grade-a .subject-group-header {
    background-color: rgba(253, 126, 20, 0.1);
    border-bottom: 1px solid rgba(253, 126, 20, 0.2);
}

.grade-a-minus .subject-group-header {
    background-color: rgba(255, 193, 7, 0.1);
    border-bottom: 1px solid rgba(255, 193, 7, 0.2);
}

.grade-b-plus .subject-group-header,
.grade-b .subject-group-header,
.grade-b-minus .subject-group-header {
    background-color: rgba(40, 167, 69, 0.1);
    border-bottom: 1px solid rgba(40, 167, 69, 0.2);
}

.grade-c-plus .subject-group-header,
.grade-c .subject-group-header,
.grade-c-minus .subject-group-header {
    background-color: rgba(108, 117, 125, 0.1);
    border-bottom: 1px solid rgba(108, 117, 125, 0.2);
} 

/* 加载提示 */
.loading-message {
    text-align: center;
    padding: 2rem 0;
    color: #6c757d;
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
}

/* 错误提示 */
.error-message {
    padding: 1rem;
    border-radius: 0.25rem;
    background-color: #f8d7da;
    color: #721c24;
    margin-bottom: 1rem;
} 

/* 学科评估统计样式 */
.stats-summary {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.stats-summary .total-subjects {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.stats-summary .stat-label {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 3px;
}

.stats-summary .stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #343a40;
}

.stats-summary .stat-value.highlight {
    color: #dc3545;
}

.grades-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
}

.grade-stat {
    flex: 0 0 calc(33.333% - 6px);
    padding: 5px 2px;
    text-align: center;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #e9ecef;
}

.grade-stat .stat-label {
    font-size: 0.7rem;
    margin-bottom: 0;
    font-weight: 500;
}

.grade-stat .stat-value {
    font-size: 1rem;
    line-height: 1;
}

.a-plus-stat .stat-label {
    color: #dc3545;
}

.a-plus-stat .stat-value {
    color: #dc3545;
}

.a-stat .stat-label {
    color: #fd7e14;
}

.a-stat .stat-value {
    color: #fd7e14;
}

.b-stat .stat-label {
    color: #198754;
}

.b-stat .stat-value {
    color: #198754;
}

.c-stat .stat-label {
    color: #6c757d;
}

.c-stat .stat-value {
    color: #6c757d;
} 

/* 学校信息预览区域 */
.university-info-preview .university-basic-info {
    padding: 10px 0;
}

.university-info-preview .badges .badge {
    font-weight: 500;
}

/* 统计区域样式 */
.stats-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    height: 100%;
    width: 100%;
    max-width: 100%;
}

.stats-container .total-subjects {
    text-align: center;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #dee2e6;
}

.stats-container .stat-label {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 3px;
}

.stats-container .stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #343a40;
}

.stats-container .stat-value.highlight {
    color: #dc3545;
}

/* 等级统计横向排列 */
.grades-stats-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: space-between;
    width: 100%;
}

.grade-stat {
    flex: 1;
    min-width: 40px;
    padding: 6px 4px;
    text-align: center;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #e9ecef;
}

.grade-stat .stat-label {
    font-size: 0.75rem;
    margin-bottom: 2px;
    font-weight: 500;
    white-space: nowrap;
}

.grade-stat .stat-value {
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 600;
}

/* 等级颜色 */
.a-plus-stat .stat-label {
    color: #dc3545;
}

.a-plus-stat .stat-value {
    color: #dc3545;
}

.a-stat .stat-label {
    color: #fd7e14;
}

.a-stat .stat-value {
    color: #fd7e14;
}

.b-stat .stat-label {
    color: #198754;
}

.b-stat .stat-value {
    color: #198754;
}

.c-stat .stat-label {
    color: #6c757d;
}

.c-stat .stat-value {
    color: #6c757d;
}

/* 评估结果卡片样式 */
.grade-group {
    margin-bottom: 2rem;
}

.grade-group-header {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px 14px;
    margin-bottom: 1rem;
    border-radius: 12px;
    background-color: rgba(245, 245, 247, 0.7);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.a-level .grade-group-header {
    color: #b91c1c;
    background-color: rgba(254, 242, 242, 0.7);
}

.b-level .grade-group-header {
    color: #16a34a;
    background-color: rgba(240, 253, 244, 0.7);
}

.c-level .grade-group-header {
    color: #475569;
    background-color: rgba(248, 250, 252, 0.7);
} 

/* 左侧筛选区固定效果 - 与按学校查询页面保持一致 */
@media (min-width: 768px) {
    .col-md-3 .subject-card {
        position: sticky;
        top: 20px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        z-index: 10;
    }
    
    .subject-list {
        max-height: calc(100vh - 160px);
        overflow-y: auto;
    }
    }
    
/* 学科筛选卡片样式优化 - 与大学列表卡片保持一致 */
.subject-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: none;
}

.subject-card .card-header {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    color: #0066cc;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(231, 231, 231, 0.8);
    font-weight: 600;
}

/* 加载状态下隐藏大学列表 */
#loadingIndicator:not([style*="display: none"]) ~ #universityList {
    display: none !important;
}

/* 美化学科树样式 */
.subject-tree {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subject-item {
    margin-bottom: 1px;
}

.subject-link {
    display: block;
    padding: 8px 10px;
    color: #1d1d1f;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subject-link:hover {
    background-color: rgba(245, 245, 247, 0.8);
}

.subject-item.active > .subject-link {
    background-color: #0071e3;
    color: white;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
} 

/* 评估结果筛选按钮样式优化 - 与学校类型筛选保持一致 */
.grade-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
}

/* 学科评估等级按钮样式 */
.type-btn[data-grade="A+"], .type-btn[data-grade="A"] {
    background-color: rgba(254, 242, 242, 0.7);
    color: #dc2626;
}

.type-btn[data-grade="A+"].active, .type-btn[data-grade="A"].active {
    background-color: #dc2626;
    color: white;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.type-btn[data-grade="A-"] {
    background-color: rgba(255, 251, 235, 0.7);
    color: #d97706;
}

.type-btn[data-grade="A-"].active {
    background-color: #d97706;
    color: white;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.type-btn[data-grade="B+"], .type-btn[data-grade="B"], .type-btn[data-grade="B-"] {
    background-color: rgba(240, 253, 244, 0.7);
    color: #16a34a;
}

.type-btn[data-grade="B+"].active, .type-btn[data-grade="B"].active, .type-btn[data-grade="B-"].active {
    background-color: #16a34a;
    color: white;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

.type-btn[data-grade="C+"], .type-btn[data-grade="C"], .type-btn[data-grade="C-"] {
    background-color: rgba(248, 250, 252, 0.7);
    color: #64748b;
}

.type-btn[data-grade="C+"].active, .type-btn[data-grade="C"].active, .type-btn[data-grade="C-"].active {
    background-color: #64748b;
    color: white;
    box-shadow: 0 2px 8px rgba(100, 116, 139, 0.3);
}

/* 高校清单页面左侧筛选区固定效果 */
@media (min-width: 768px) {
    /* 整个左侧列固定 */
    .filter-sidebar {
        position: sticky;
        top: 20px;
        height: calc(100vh - 40px);
        overflow-y: auto;
        z-index: 10;
        align-self: flex-start;
        padding-bottom: 20px;
    }
    
    /* 确保左侧区域内的滚动条样式美观 */
    .filter-sidebar::-webkit-scrollbar {
        width: 5px;
    }
    
    .filter-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .filter-sidebar::-webkit-scrollbar-thumb {
        background-color: rgba(209, 209, 214, 0.7);
        border-radius: 3px;
        transition: background-color 0.3s ease;
    }
    
    .filter-sidebar::-webkit-scrollbar-thumb:hover {
        background-color: rgba(161, 161, 166, 0.9);
    }
    
    .regions-container {
        max-height: 300px;
        overflow-y: auto;
    }
} 

/* 高校清单页面样式 */
.filter-badge {
    cursor: pointer;
    margin-right: 5px;
    margin-bottom: 5px;
}

.filter-badge.active {
    background-color: #0d6efd;
    color: white;
} 

/* 高校列表和筛选样式 */
.university-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 1rem;
}

.university-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* 可点击元素的鼠标样式 */
.cursor-pointer {
    cursor: pointer;
}

.university-card .list-unstyled li {
    margin-bottom: 6px;
    color: #6e6e73;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.university-card .list-unstyled li i {
    color: #0071e3;
    font-size: 0.9rem;
    width: 24px;
}

.university-card .list-unstyled li strong {
    margin-right: 4px;
    font-weight: 500;
    color: #4a4a4c;
} 

.university-card .card-body {
    padding-bottom: 8px;
}

.university-card .list-unstyled {
    margin-bottom: 0;
}

.university-card .list-unstyled li:last-child {
    margin-bottom: 0;
} 

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: -50px;
    right: 30px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #0071e3;
    color: white;
    border-radius: 50%;
    text-align: center;
    cursor: pointer;
    z-index: 999;
    transition: bottom 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.5);
    opacity: 0;
}

.back-to-top.show {
    bottom: 30px;
    opacity: 1;
}

.back-to-top:hover {
    background-color: #0063cc;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.6);
}

/* 分数查询结果样式 */
.score-result-container {
    background-color: #f0f7ff;
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    justify-content: center;
}

.score-result-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* 新的结果项目样式 */
.result-item {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    white-space: nowrap;
    position: relative;
}

.result-item:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -10px;
    color: #c0c4cc;
}

.result-item i {
    color: #0071e3;
    margin-right: 6px;
    font-size: 14px;
}

.result-item strong {
    font-weight: 600;
    color: #1d1d1f;
    margin-left: 2px;
}

.rank-highlight {
    color: #ff8800;
    font-size: 16px;
    font-weight: 700;
}

@media (max-width: 576px) {
    .score-result-container {
        padding: 10px;
    }
    
    .score-result-inline {
        gap: 10px;
        flex-direction: column;
    }
    
    .result-item {
        font-size: 14px;
    }
    
    .result-item:not(:last-child)::after {
        display: none;
    }
    
    .rank-highlight {
        font-size: 15px;
    }
}
}

/* 关于作者页面样式 */
.author-section {
padding: 60px 0;
}

.author-avatar {
width: 180px;
height: 180px;
border-radius: 50%;
object-fit: cover;
border: 5px solid #f8f9fa;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.author-name {
font-size: 2.5rem;
font-weight: 700;
color: #1d1d1f;
margin-bottom: 10px;
}

.author-title {
font-size: 1.2rem;
color: #6e6e73;
margin-bottom: 20px;
}

.author-bio {
font-size: 1.1rem;
line-height: 1.7;
color: #4a4a4c;
margin-bottom: 30px;
}

.social-links {
display: flex;
gap: 15px;
margin-top: 20px;
}

.social-link {
display: inline-flex;
align-items: center;
justify-content: center;
width: 45px;
height: 45px;
border-radius: 50%;
background-color: #f1f3f5;
color: #495057;
transition: all 0.3s ease;
}

.social-link:hover {
background-color: #0071e3;
color: white;
transform: translateY(-3px);
}

.project-card {
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
height: 100%;
border: none;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.project-card:hover {
transform: translateY(-5px);
box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.project-image {
height: 200px;
object-fit: cover;
width: 100%;
}

.project-content {
padding: 20px;
}

.project-title {
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 10px;
color: #1d1d1f;
}

.project-description {
color: #6e6e73;
margin-bottom: 15px;
}

.project-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}

.project-tag {
background-color: rgba(0, 113, 227, 0.1);
color: #0071e3;
padding: 4px 10px;
border-radius: 20px;
font-size: 0.8rem;
font-weight: 500;
}

.sponsor-section {
padding: 40px 0;
}

.sponsor-card {
background: white;
border-radius: 16px;
padding: 30px;
text-align: center;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
margin-bottom: 30px;
}

.qr-code {
width: 200px;
height: 200px;
margin: 0 auto 20px;
background-color: #f8f9fa;
display: flex;
align-items: center;
justify-content: center;
border-radius: 10px;
font-size: 0.9rem;
color: #6e6e73;
}

.sponsor-title {
font-size: 1.3rem;
font-weight: 600;
margin-bottom: 10px;
color: #1d1d1f;
}

.sponsor-description {
color: #6e6e73;
margin-bottom: 20px;
}

.section-title {
font-size: 2rem;
font-weight: 700;
color: #1d1d1f;
margin-bottom: 40px;
text-align: center;
position: relative;
}

.section-title::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 4px;
background-color: #0071e3;
border-radius: 2px;
}

.contact-form {
background: white;
border-radius: 16px;
padding: 30px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form .form-control,
.contact-form .form-select {
border-radius: 10px;
border: 1px solid #e0e0e0;
padding: 12px 15px;
font-size: 1rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
border-color: #0071e3;
box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.btn-submit {
background-color: #0071e3;
color: white;
border: none;
border-radius: 10px;
padding: 12px 30px;
font-weight: 600;
transition: all 0.3s ease;
}

.btn-submit:hover {
background-color: #0051a2;
transform: translateY(-2px);
}

/* 响应式调整 - 关于作者页面 */
@media (max-width: 768px) {
.author-section {
    padding: 40px 0;
}

.author-avatar {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
}

.author-name {
    font-size: 2rem;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
}


.project-card {
    margin-bottom: 20px;
}

.social-links {
    justify-content: center;
}

.qr-code {
    width: 150px;
    height: 150px;
}
}