.panel{
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    border:none;
    box-shadow: none;
}

.panel.top-bg{
    background: linear-gradient(180deg, rgba(255, 140, 26, 0.08) 0%, rgba(255, 255, 255, 1) 12%);
}


.ranking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    min-height: 100vh;
}

.ranking-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: solid 1px rgba(34, 34, 34, 0.06);
    padding-bottom: 20px;
}

.ranking-title {
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
    color: #222;
    margin: 0;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    border:solid 1px #FF7016;
    border-radius: 4px;
    overflow: hidden;
    padding: 4px 8px;
}

.search-box input{
    border: none;
    outline: none;
    background-color: transparent;
    color: rgba(61, 42, 31, 0.38);
    font-size: 16px;
    /* padding: 6px 8px; */
    flex-shrink: 0;
    min-width: 150px;
    box-sizing: content-box;
}

/* .search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}

.search-input:focus {
    border-color: #ff6b35;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
} */

.ranking-content {
    display: flex;
    gap: 20px;
}

.ranking-tabs {
    display: flex;
    gap:20px;
    /* flex-direction: column; */
    /* gap: 30px; */
}

.ranking-tabs>div:first-child{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap:20px;
}

.tab-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.tab-group .lists{
    display: flex;
    flex-wrap: wrap;
    gap:20px;
}

.tab-group-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.tab-item {
    flex:1;
    display: flex;
    white-space: nowrap;
    flex-direction: column;
    padding: 10px 15px;
    cursor: pointer;
    border:solid 1px #E0E0E0;
    border-radius: 8px;;
}

.view-app{
    color:#FF7016 !important;
    font-size:16px;
    font-weight: 600;
}

.tab-item:hover {
    background: #f8f9fa;
}

.tab-item.active {
    background: rgba(255, 112, 22, 0.04);
    border-color: #FF7016;
    color: #ff6b35;
}

.tab-name {
    color:#222;
    font-size: 14px;
    font-weight: 600;
}

.tab-item.active .tab-name{
    color:#FF7016;
}

.tab-desc {
    font-size: 12px;
    color: #999;
}

.ranking-list {
    margin-top: 20px;
}

.ranking-list-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.university-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fff;
    transition: all 0.3s;
}

.university-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.rank-number {
    font-size: 16px;
    font-weight: bold;
    color: #666666;
    margin-right: 20px;
    text-align: center;
    position: relative;
    width:24px;
    height:29px;
}

.rank-number img{
    width:100%;
}

/* .rank-number.top3::after {
    content: '🔥';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 16px;
} */

.university-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 10px;
    text-align: center;
    color: #666;
    border: 2px solid #e9ecef;
}

.university-info {
    flex: 1;
}

.university-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.university-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

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

.tag {
    padding: 4px 8px;
    background: #fff;
    border: 1px solid #ff6b35;
    border-radius: 12px;
    font-size: 12px;
    color: #ff6b35;
}

.favorite-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.favorite-btn.active {
    color: #ff6b35;
}

.favorite-btn:hover {
    color: #ff6b35;
}

.sidebar {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sidebar-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-more {
    font-size: 12px;
    color: #ff6b35;
    text-decoration: none;
}

.major-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.major-item:last-child {
    border-bottom: none;
}

.major-name {
    font-size: 14px;
    color: #333;
    flex: 1;
}

.major-rank {
    font-size: 12px;
    color: #999;
    margin-right: 10px;
}

.major-heat {
    font-size: 12px;
    color: #ff6b35;
    font-weight: bold;
}

.news-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-title {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-time {
    font-size: 12px;
    color: #999;
}
.pagination{
    display: flex;
    justify-content: center;
}
.pagination li{
    margin: 4px;
}
.pagination .active span{
    background-color: rgba(255, 112, 22, 1) !important;
    border: rgba(255, 112, 22, 1) !important;
}
.new-cols-title{
    display: flex;
    justify-content: start;
    align-items: center;
}
.new-select{
    margin-left: 10px;
    height: 26px;
    border-radius: 8px;
    border: 1px solid rgba(224, 224, 224, 1);
    padding: 0px 4px 0px 4px;
}
@media (max-width: 768px) {
    .ranking-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .ranking-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box {
        width: 100%;
    }
}