.date-range-container {
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: flex-start; /* 水平排列 */
    gap: 0.2em; /* 控制间距 */
}

.date-picker-container {
    position: relative;
    min-width: 100px;
    /*width: 100%;*/
}

.date-display {
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    user-select: none;
    width: 100%;
    box-sizing: border-box;
}

.date-display:hover {
    background-color: #f9f9f9;
}

.picker-panel {
    min-width: 140px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
    display: none;
}

.picker-panel.show {
    display: block;
}

.picker-container {
    display: flex;
    justify-content: space-between;
}

.picker-column {
    flex: 1;
    text-align: center;
    height: 200px;
    overflow: hidden;
    position: relative;
    margin: 0 5px;
}

.picker-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    width: 100%;
    transition: transform 0.3s ease;
}

.picker-item {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.picker-item.selected {
    font-weight: bold;
    color: #007bff;
}

.picker-indicator {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: 40px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    pointer-events: none;
}

.date-validation {
    color: #e74c3c;
    font-size: 0.8em;
    margin-top: 5px;
    display: none;
}
@media (max-width: 768px) {
    .picker-panel {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 320px;
        z-index: 10000;
        background-color: white;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
}