body[data-type="classrecord"] #web_bg {
    background: var(--anzhiyu-background);
}

body[data-type="classrecord"] #page {
    border: 0;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: 0 0 !important;
}

body[data-type="classrecord"] #page .page-title {
    display: none;
}

/* Classrecord */
#classrecord-box-new {
    margin: 0 10px;
}

#classrecord-main-new {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 16px 0 10px;
}

#classrecord-main-new ul {
    margin: 0;
    padding: 0;
}

#classrecord-main-new li {
    list-style: none;
    font-size: 17px;
    position: relative;
    /* 相对定位以便添加自定义样式 */
    padding-left: 20px;
    /* 为圆圈和对勾预留更多空间，增加间距 */
    margin-bottom: 10px;
    /* 每个任务项下方的间距 */
    border-bottom: 1px solid #ccc;
    /* 任务项下方的横线 */
}

#classrecord-left-new {
    width: 50%;
    padding: 0 8px 0 0;
}

#classrecord-right-new {
    width: 50%;
    padding: 0 0 0 8px;
}

.classrecord-item-new {
    position: relative;
    background: #fae4df;
    border-radius: 12px;
    padding: 10px 1rem 1.2rem;
    border: 2px dashed #f7a796;
    margin-bottom: 1rem;
}

[data-theme=dark] .classrecord-item-new {
    background: #242424;
    border: 2px dashed #51908b;
}

li.classrecord-li-new::before {
    content: '○';
    /* 使用 Unicode 字符表示空心圆 */
    position: absolute;
    left: 0;
    /* 调整此处来控制空心圆与任务文本的水平距离 */
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #000;
    width: 30px;
    /* 统一宽度确保与对勾位置一致 */
    display: inline-block;
    /* 使用内联块来统一宽度 */
    text-align: center;
    /* 居中对齐 */
}

li.classrecord-li-done-new::before {
    content: '✔';
    /* 使用 Unicode 字符表示打勾的空心圆 */
    position: absolute;
    left: 0;
    /* 调整此处来控制对勾与任务文本的水平距离 */
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #51908b;
    /* 可根据主题调整颜色 */
    width: 30px;
    /* 统一宽度确保与空心圆位置一致 */
    display: inline-block;
    /* 使用内联块来统一宽度 */
    text-align: center;
    /* 居中对齐 */
}

li.classrecord-li-new i {
    margin-left: 10px;
}

h3.classrecord-title-new {
    margin: 0 !important;
    border-bottom: var(--todo-border);
}

li.classrecord-li-new {
    font-weight: normal;
    margin-left: -10px;
}

li.classrecord-li-done-new {
    font-weight: normal;
    /* text-decoration: line-through; */
    color: #999;
    /* 已完成任务的文本颜色 */
    margin-left: -10px;
    /* 与未完成任务项保持一致 */
}

.classrecord-li-new span {
    margin-left: 5px;
}

.classrecord-li-done-new span {
    margin-left: 5px;
}

.classrecord-date-new {
    font-size: 14px; /* 设置日期字体大小 */
    color: #666; /* 设置日期文本颜色 */
    margin: 0 0 10px; /* 设置日期与任务列表之间的间距 */
    display: block; /* 显示为块元素，独占一行 */
    text-align: left; /* 日期左对齐 */
}

.date-difference-new {
    font-size: 14px; /* 设置动态计算文本的字体大小 */
    color: #ff6347; /* 设置文本颜色，可以根据需要调整 */
    margin: 5px 0 0; /* 添加上方间距 */
    display: block; /* 显示为块元素，换行显示 */
    font-weight: bold; /* 加粗显示天数差异文本 */
}

.due-date-new {
    font-size: 14px;
    color: #999;
    margin-left: 10px;
    display: inline-block;
    font-style: italic;
}

.classrecord-title-with-arrow-new {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.arrow-icon-new {
    font-size: 16px;
    margin-right: 10px;
    transition: transform 0.2s ease;
}

.classrecord-ul-new {
    padding-left: 20px;
}

.toggle-button-new {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
}

.toggle-button-new:hover {
    background-color: #e0e0e0;
}

@media screen and (max-width: 700px) {

    #classrecord-left-new,
    #classrecord-right-new {
        width: 100%;
        padding: 0;
    }
}