/* Premium Custom Wheel Date Picker Styling */
.wheel-datepicker-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 8px 16px;
    width: 100%;
    max-width: 320px;
    height: 120px;
    user-select: none;
    overflow: hidden;
    box-shadow: inset 0 2px 4px 0 rgba(15, 23, 42, 0.05);
}

/* Vertical faded overlay to give depth and focus on center selection */
.wheel-datepicker-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.98), rgba(248, 250, 252, 0));
    pointer-events: none;
    z-index: 10;
}

.wheel-datepicker-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(248, 250, 252, 0.98), rgba(248, 250, 252, 0));
    pointer-events: none;
    z-index: 10;
}

/* Center selection indicator bar */
.wheel-highlight {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 36px;
    background-color: rgba(24, 91, 157, 0.06);
    border-top: 1px solid rgba(24, 91, 157, 0.15);
    border-bottom: 1px solid rgba(24, 91, 157, 0.15);
    border-radius: 8px;
    pointer-events: none;
    z-index: 2;
}

.wheel-column-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.wheel-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    height: 100%;
    scrollbar-width: none; /* Firefox */
}

.wheel-col::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Edge */
}

.wheel-item {
    height: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
    scroll-snap-align: center;
    transition: color 0.15s, font-weight 0.15s, font-size 0.15s;
    cursor: pointer;
}

.wheel-item.selected {
    color: #185B9D;
    font-weight: 700;
    font-size: 14px;
}

/* Padding to center first/last items */
.wheel-pad {
    height: 42px;
    min-height: 42px;
}

@media (min-width: 768px) {
    .wheel-datepicker-wrapper {
        display: none !important;
    }
}
