.picker-overlay { 
    display: none; 
    position: fixed; 
    top: 0; left: 0; right: 0; bottom: 0; 
    background: rgba(0,0,0,0.6); 
    z-index: 9999; 
    justify-content: center; 
    align-items: flex-start; 
    padding-top: 80px; 
}

.picker-overlay.active { display: flex; }

.custom-picker { 
    background: white; 
    border-radius: 16px; 
    padding: 16px; 
    width: 90%; 
    max-width: 320px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); 
}

.picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.picker-header span {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    cursor: pointer;
    padding: 10px;
}

.picker-grid { 
    display: grid; 
    grid-template-columns: repeat(7, 1fr); 
    gap: 2px; 
    text-align: center; 
}

.weekday-header {
    padding: 10px 0;
    font-size: 12px;
}

.picker-day { 
    padding: 12px 0; 
    border-radius: 6px; 
    font-size: 14px; 
    cursor: pointer; 
    -webkit-tap-highlight-color: transparent;
}

.picker-day.selected { 
    background: var(--primary-color); 
    color: white; 
}

.time-setter { 
    margin-top: 15px; 
    padding-top: 15px; 
    border-top: 1px solid #eee; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

#monthYearTitle {
    display: flex;
    gap: 5px;
    cursor: pointer;
    justify-content: flex-start;
}

#monthYearTitle span {
    padding: 0;
    margin-right: 1px;
}

#timeInput {
    font-size: 18px;
    padding: 5px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

#confirmTimeBtn {
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

#daysGrid {
    display: grid;
    max-height: 280px; /* 这里的数值根据你的 UI 调整 */
    overflow-y: auto;
}
