/**
 * Mobile-friendly date picker with wheel selection
 * For Хайрын Зурхай - Love Horoscope
 * Colors: Deep Red (#8B0000), Soft Pink (#FFB6C1), Gold (#FFD700), Rose Gold (#B76E79)
 */

.mobile-date-picker-wrapper {
    position: relative;
    width: 100%;
}

.mobile-date-picker-container {
    position: fixed;
    inset: 0;
    background-color: rgba(139, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

@keyframes slide-up {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.animate-slide-up {
    animation: slide-up 0.3s ease-out forwards;
}

/* Date picker panel */
.date-picker-panel {
    background: linear-gradient(135deg, #2D1F1F 0%, #1A0A0A 100%);
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    border: 1px solid rgba(255, 182, 193, 0.2);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

/* Header buttons */
.date-picker-header {
    border-bottom: 1px solid rgba(255, 182, 193, 0.2);
}

.date-picker-cancel {
    color: rgba(255, 182, 193, 0.8);
}

.date-picker-cancel:hover {
    color: #FFB6C1;
}

.date-picker-done {
    color: #FFD700;
    font-weight: 600;
}

.date-picker-done:hover {
    color: #FFA500;
}

.wheel-container {
    flex: 1;
    margin: 0 0.25rem;
}

.wheel-wrapper {
    position: relative;
    height: 10rem;
    overflow: hidden;
    border-radius: 0.75rem;
    background: linear-gradient(180deg, rgba(139, 0, 0, 0.3) 0%, rgba(183, 110, 121, 0.2) 50%, rgba(139, 0, 0, 0.3) 100%);
}

.wheel {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}

.wheel::-webkit-scrollbar {
    display: none;
}

.wheel-item {
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    scroll-snap-align: center;
    font-size: 1.125rem;
    color: rgba(255, 182, 193, 0.6);
    transition: all 0.2s ease;
}

.wheel-item:hover {
    color: #FFB6C1;
}

.wheel-item.selected {
    color: #FFD700;
    font-weight: 600;
}

/* Selection indicator - romantic pink/gold accent */
.selection-indicator {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 2.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.4);
    border-bottom: 1px solid rgba(255, 215, 0, 0.4);
    pointer-events: none;
    background: linear-gradient(90deg, rgba(139, 0, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 50%, rgba(139, 0, 0, 0.2) 100%);
}

/* Zodiac info section */
.zodiac-info {
    text-align: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3) 0%, rgba(183, 110, 121, 0.2) 100%);
    border: 1px solid rgba(255, 182, 193, 0.2);
}

.zodiac-info .zodiac-icon {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.zodiac-info .zodiac-name {
    color: #FFD700;
    font-weight: 600;
}

/* Label styling */
.wheel-label {
    color: rgba(255, 182, 193, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .wheel-item {
        font-size: 1rem;
    }
    
    .date-picker-panel {
        max-height: 70vh;
    }
}
