.progress-editdiv{
    display: flex;
    gap: 0.6rem;
    justify-items: start;
    align-items: center;
    justify-content: start;
    border: 1px solid #eee;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
}

.night .progress-editdiv{
    border:1px solid #444;
    background-color: #181a1b;
}

.progress-editdiv span.icons{
    font-size: 0.6rem;
    font-weight: bold;
    color: #6666;
    cursor: pointer;
}

.night .progress-editdiv span.icons{
    color:#888;
}

.progress-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

/* 卡片样式 */
.progress-card {
    border-radius: 6px;
    padding: 0.75rem;
    border: 1px solid #eee;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.night .progress-card {
    border:1px solid #444;
    background-color: #181a1b;
}

.card-headerdiv{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.card-header {
    color: #05b672;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}

.percentage {
    font-size: 0.9rem;
    font-weight: 400;
}

.progress-bar-container {
    height: 1rem;
    background: rgba(180, 200, 230, 0.3);
    border-radius: 6px;
    margin: 0.75rem 0;
    overflow: hidden;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1);
}

.night .progress-bar-container{
    background: #444;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 60px;
    background: linear-gradient(90deg, #6fa3ff, #3f6eff);
    box-shadow: 0 0 12px #5f8cff80;
    transition: width 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.date-range {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #3b4d64;
    font-weight: 480;
    background: rgba(230, 240, 255, 0.5);
    padding: 0.5rem;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
}

.night .date-range{
    border: 1px solid #444;
    background-color: #181a1b;
}

.date-range span {
    background: white;
    padding: 0.2rem 0.75rem;
    border-radius: 40px;
    font-weight: 520;
    color: #1f344b;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.night .date-range span{
    background-color: #444;
    color: #bbb;
}

@media screen and (max-width: 1000px){
    .progress-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 886px){
    .progress-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 520px){
    .progress-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}