cs-time-picker {
    display: block;
    width: 100%;
    max-width: 280px;
}

.cs-time-picker {
    position: relative;
    display: block;
    width: 100%;
    max-width: 280px;
}

.cs-time-picker-input {
    padding-right: 2.25rem;
    cursor: default;
    width: 100%;
}

.cs-time-picker-icon {
    position: absolute;
    top: 50%;
    right: 7px;
    width: 2.25rem;
    height: calc(100% - 2px);
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-left: 1px solid transparent;
    border-radius: 0 0.25rem 0.25rem 0;
    background: transparent;
    color: #7b7b7b;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
}

.cs-time-picker-icon:focus {
    outline: none;
}

.cs-time-picker-icon:hover,
.cs-time-picker-icon:focus,
.cs-time-picker-icon:hover i,
.cs-time-picker-icon:focus i {
    color: #3f3f3f;
}

.cs-time-picker-dropdown {
    position: absolute;
    z-index: 1050;
    top: calc(100% + 4px);
    left: 0;
    display: flex;
    width: 172px;
    max-height: 256px;
    overflow: hidden;
    border: 1px solid #d4d4d4;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.cs-time-picker-column {
    width: 56px;
    max-height: 254px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #a6a6a6 transparent;
    padding: 2px 0;
}

.cs-time-picker-column::-webkit-scrollbar {
    width: 2px;
}

.cs-time-picker-column::-webkit-scrollbar-track {
    background: transparent;
}

.cs-time-picker-column::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: #a6a6a6;
}

.cs-time-picker-period-column {
    width: 60px;
}

.cs-time-picker-column button {
    display: block;
    width: calc(100% - 4px);
    margin: 0 2px 1px;
    padding: 7px 4px;
    border: 0;
    border-radius: 2px;
    background: #fff;
    color: #000;
    font: inherit;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
}

.cs-time-picker-column button:hover,
.cs-time-picker-column button:focus {
    background: #e9f2ff;
    outline: none;
}

.cs-time-picker-column button.selected {
    background: #0078d7;
    color: #fff;
    font-weight: 600;
}
