.calendar-section, .articles-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 25px;
    display: flex;
    flex-direction: column;}

.calendar-section {
    flex: 1;}

.articles-section {
    flex: 1.5;}

.section-title {
    font-weight: 700;
    color: #e53e3e;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eef2f7;
    display: flex;
    align-items: center;
    gap: 12px;}

.icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;}

/* 日历样式 */
.cal_main {
    border: 1px solid #e1e6ef;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;}

.cal_succ_calendar_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafd;
    padding: 18px 25px;
    border-bottom: 1px solid #e1e6ef;}

.calendar_top_right {
    display: flex;
    align-items: center;
    gap: 20px;}

.calendar_month_prev,
.calendar_month_next {
    width: 40px;
    height: 40px;
    background: #fff9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;}

.calendar_month_prev:hover,
.calendar_month_next:hover {
    background: #d10024;
    transform: translateY(-2px);}

.calendar_month_prev:hover .nav-icon,
.calendar_month_next:hover .nav-icon {
    stroke: white;}

.nav-icon {
    width: 16px;
    height: 16px;
    stroke: #e53e3e;
    stroke-width: 3;
    transition: all 0.3s;}

.calendar_month_span {
    font-weight: 700;
    color: #3a4e6f;
    min-width: 150px;
    text-align: center;}

.cal {
    padding: 20px;
    flex: 1;
    overflow: auto;}

table {
    width: 100%;
    border-collapse: collapse;}

th {
    background: #f8fafd;
    padding: 14px 8px;
    text-align: center;
    color: #5a6b8c;
    font-weight: 700;
    border: 1px solid #e1e6ef;}

td {
    padding: 14px 8px;
    text-align: center;
    border: 1px solid #e1e6ef;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    font-weight: 600;
    height: 50px;}

td:hover:not(.empty) {
    background: #fff9fa;
    transform: scale(1.05);}

td.empty {
    background: #fafbfd;}

td.on {
    background: #fff9fa;
    color: #e53e3e;}

td.on:after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: green;
    border-radius: 50%;}

td.selected {
    box-shadow: inset 0 0 0 3px #e53e3e;}

/* 加载指示器 */
.loading-indicator {
    text-align: center;
    padding: 40px 0;
    color: #6c757d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #4361ee;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;}

@keyframes spin {
    0% {
        transform: rotate(0deg);}
    100% {
        transform: rotate(360deg);}
}

/* 文章容器样式 */
.articles-container {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: #3a8ffe #fff9fa;}

.articles-container::-webkit-scrollbar {
    width: 8px;}

.articles-container::-webkit-scrollbar-track {
    background: #fff9fa;
    border-radius: 4px;}

.articles-container::-webkit-scrollbar-thumb {
    background: #3a8ffe;
    border-radius: 4px;}

.articles-container::-webkit-scrollbar-thumb:hover {
    background: #e53e3e;}

/* 文章分组样式 */
.dqsj-group {
    margin-bottom: 15px;
    border: 1px solid #e1e6ef;
    border-radius: 14px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(58, 143, 254, 0.08);
    transition: all 0.3s;}

.dqsj-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(58, 143, 254, 0.15);}

.dqsj-treename {
    background: #fff9fa;
    padding: 18px 25px;
    font-weight: 700;
    color: #e53e3e;
    border-bottom: 1px solid #e1e6ef;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;}

.dqsj-treename:hover {
    background: linear-gradient(90deg, #fff9fa, #d1e2ff);}

.dqsj-treename::after {
    content: '';
    margin-left: auto;
    transition: transform 0.3s ease;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e53e3e'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;}

.dqsj-treename.collapsed::after {
    transform: rotate(-90deg);}

.dqsj-items-container {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;}

.dqsj-items-container.expanded {
    padding: 20px;
    max-height: 15000px;}

.dqsj-item {
    padding: 18px;
    border-bottom: 1px dashed #e1e6ef;
    transition: all 0.3s;}

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

.dqsj-item:hover {
    background-color: #fafcff;
    transform: translateX(8px);
    border-radius: 8px;}

.dqsj-title {
    margin-bottom: 10px;}

.dqsj-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;}

.dqsj-link:hover {
    color: #e53e3e;}

.dqsj-meta {
    display: flex;
    color: #7a8ca5;
    margin-top: 8px;}

.dqsj-date {
    margin-right: 25px;
    display: flex;
    align-items: center;
    gap: 6px;}

.meta-icon {
    width: 14px;
    height: 14px;
    opacity: 0.7;}

.no-articles {
    text-align: center;
    padding: 50px 20px;
    color: #7a8ca5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;}

.no-articles .icon {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    color: #e1e6ef;}

.no-articles p {
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;}

.error-message {
    text-align: center;
    padding: 40px 20px;
    color: #e53e3e;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;}

.content-wrapper {
    display: flex;
    padding: 30px;
    gap: 30px;}

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

}

.content-wrapper {
    display: flex;
    padding: 30px;
    gap: 30px;
    height: calc(100%);}
