﻿.year-selector {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    gap: 10px;
    width: fit-content;
    margin: 50px auto;
}

.arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.arrow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 94, 154, 0.1);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.year {
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid transparent;
    background-color: #f8fafc;
    color: #334155;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.year:hover {
    background-color: #f1f5f9;
    color: #0B5E9A;
    transform: translateY(-1px);
}

.year.active {
    background-color: #0B5E9A;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(11, 94, 154, 0.25);
    border-color: #0B5E9A;
}

.list-paddingleft-2 {
    list-style: none;
    gap: 5px;
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin: 50px auto;
}

.list-paddingleft-2 li {
    background-color: white;
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef0f2;
    transition: all 0.3s ease-out;
    position: relative;
    display: flex;
    margin-bottom: 0;
}

.literature-number {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #0B5E9A;
    font-weight: 600;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0B5E9A;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s ease-out;
}

.literature-item-content {
    flex: 1;
}

.literature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-right: 20px;
}

.literature-content {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top: 1px dashed #e4e7eb;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin-top 0.3s ease-out, padding-top 0.3s ease-out, padding-bottom 0.3s ease-out;
}

.literature-journal {
    font-size: 13px;
    color: #4e5969;
    margin-bottom: 8px;
    font-style: italic;
}

.literature-ids {
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
}

.literature-ids span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.literature-ids span::before {
    content: '';
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: #0B5E9A;
}

.literature-header::after {
    content: '▸';
    color: #0B5E9A;
    font-size: 16px;
    transition: transform 0.3s ease-out;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.literature-author {
    font-size: 13px;
    color: #4e5969;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.literature-title-item {
    font-size: 15px;
    font-weight: 600;
    color: #1d2129;
    transition: color 0.3s ease-out;
    line-height: 1.5;
}

.list-paddingleft-2 li.expanded {
    margin-bottom: 6px;
}

.list-paddingleft-2 li.expanded .literature-number {
    background-color: #0B5E9A;
    color: white;
    border-color: #0B5E9A;
}

.list-paddingleft-2 li.expanded .literature-header::after {
    transform: translateY(-50%) rotate(90deg);
}

.literature-list {
    display: none;
}

.literature-list.active {
    display: block;
}

.list-paddingleft-2 li.expanded .literature-content {
    max-height: none;
    opacity: 1;
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 8px;
    overflow: visible;
}

.literaturePage {
    display: flex;
    justify-content: center;
}

.literaturePage .page-total,

.literaturePage .page-option,
.literaturePage .page-options {
    display: none;
}