.time-picker-popup {
    display: none;
    position: absolute;
    width: 160px;
    height: 148px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0,0,0,.15);
    z-index: 99999;
}

.time-picker-popup:before {
    content: "";
    position: absolute;
    top: -7px;
    left: 10px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    transform: rotate(45deg);
}

.time-title {
    text-align: center;
    color: #888;
    font-size: 13px;
    padding-top: 12px;
    margin-bottom: 8px;
}

.time-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
}

.time-column {
    width: 55px;
    text-align: center;
}

.time-arrow {
    display: block;
    width: 100%;
    height: 35px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.time-arrow:after {
    content: "";
    position: absolute;
    left: 20px;
    width: 15px;
    height: 15px;
    border-top: 4px solid #999;
    border-left: 4px solid #999;
}

.time-arrow.up:after {
    top: 13px;
    transform: rotate(45deg);
}

.time-arrow.down:after {
    top: 4px;
    transform: rotate(225deg);
}

.time-number {
    font-size: 18px;
    font-weight: bold;
    color: #444;
    height: 30px;
    line-height: 30px;
}

.time-controls > span {
    font-size: 20px;
    font-weight: bold;
    color: #555;
}