/* 修复进度条样式 */
progress {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    width: 100%;
    height: 100%;
    display: block;
}

progress::-webkit-progress-bar {
    background: rgba(66, 90, 239, 0.2);
    border-radius: 5px;
}

progress::-webkit-progress-value {
    background: var(--anzhiyu-main);
    border-radius: 5px;
}

progress::-moz-progress-bar {
    background: var(--anzhiyu-main);
    border-radius: 5px;
}

/* 确保进度条容器有足够的高度 */
.schedule-d1 {
    position: relative;
    height: 1.5rem;
    width: calc(100% - 35px);
    display: flex;
    align-items: center;
}

/* 确保进度条文本正确显示 */
.aside-span1, .aside-span2 {
    height: 1rem;
    font-size: 12px;
    z-index: 1;
    display: flex;
    align-items: center;
    position: absolute;
}

.aside-span1 {
    margin-left: 5px;
}

.aside-span2 {
    right: 5px;
    color: var(--anzhiyu-secondtext);
    width: auto;
    text-align: right;
}

.aside-span2 a {
    margin: 0 2px;
    font-weight: bold;
}

/* 调整进度条宽度以适应文本 */
#pBar_month, #pBar_week, #pBar_year {
    width: calc(100% - 80px); /* 减去文本宽度的空间 */
    border-radius: 5px;
    height: 24px; /* 增加到原来高度的3倍 */
    margin-right: 80px; /* 为右侧文本留出空间 */
}

/* 调整进度条容器布局 */
.schedule-r0, .schedule-r1, .schedule-r2 {
    height: 2rem;
    width: 100%;
    align-items: center;
    display: flex;
    margin-bottom: 5px;
}

/* 确保文本不会被进度条覆盖 */
.schedule-d0 {
    width: 35px;
    margin-right: 5px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}
