/* ============================================
   IOS PICKER OVERLAY - Enhanced Blur
   ============================================ */
.ios-picker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
}

.ios-picker-overlay.show {
    opacity: 1;
    visibility: visible;
}
.ios-picker-overlay,
.ios-picker-modal {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Show only when active */
.ios-picker-overlay.show,
.ios-picker-modal.show {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
/* ============================================
   IOS PICKER MODAL - iPhone Premium Glass
   ============================================ */
.ios-picker-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 100%;
    max-width: 500px;
    background: rgba(245, 245, 250, 0.85);
    backdrop-filter: blur(60px) saturate(200%);
    -webkit-backdrop-filter: blur(60px) saturate(200%);
    border-radius: 32px 32px 0 0;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-bottom: none;
    box-shadow: 
        0 -30px 80px rgba(0, 0, 0, 0.35),
        0 -10px 40px rgba(0, 0, 0, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    transition: transform 0.55s cubic-bezier(0.32, 0.72, 0, 1);
    z-index: 9999;
    overflow: hidden;
}

.ios-picker-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse at top, 
        rgba(255, 255, 255, 0.25) 0%, 
        transparent 70%);
    pointer-events: none;
}

.ios-picker-modal.show {
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   HEADER - Premium Glass with Golden Accent
   ============================================ */
.ios-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
}

.ios-picker-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6) 50%, 
        transparent);
}

.ios-picker-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(228, 175, 95, 0.3) 50%, 
        transparent);
}

.ios-picker-header button {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
    letter-spacing: -0.3px;
}

.ios-picker-cancel {
    color: #ff3b30;
    text-shadow: 0 1px 2px rgba(255, 59, 48, 0.2);
}

.ios-picker-cancel:hover {
    background: rgba(255, 59, 48, 0.15);
    border-color: rgba(255, 59, 48, 0.3);
    transform: translateY(-2px) scale(1.02);
    box-shadow:
  0 8px 32px rgba(228, 175, 95, 0.4),
  0 4px 12px rgba(228, 175, 95, 0.25),
  inset 0 1px 0 rgba(255, 255, 255, 0.6),
  inset 0 0 20px rgba(228, 175, 95, 0.1);
}

.ios-picker-done {
    color: #E4AF5F;
    text-shadow: 0 1px 2px rgba(228, 175, 95, 0.3);
}

.ios-picker-done:hover {
    background: rgba(228, 175, 95, 0.2);
    border-color: rgba(228, 175, 95, 0.4);
    transform: translateY(-2px) scale(1.02);
    box-shadow:
  0 8px 32px rgba(228, 175, 95, 0.4),
  0 4px 12px rgba(228, 175, 95, 0.25),
  inset 0 1px 0 rgba(255, 255, 255, 0.6),
  inset 0 0 20px rgba(228, 175, 95, 0.1);
}

.ios-picker-done:active,
.ios-picker-cancel:active {
    transform: translateY(0) scale(0.98);
    transition: all 0.1s ease;
}

/* ============================================
   TIME DISPLAY - iPhone Style Glass
   ============================================ */
.ios-picker-display {
    padding: 44px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.ios-picker-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.5) 50%, 
        transparent);
}

.ios-picker-display::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, 
        rgba(228, 175, 95, 0.08) 0%, 
        rgba(228, 175, 95, 0.04) 40%,
        transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.ios-picker-display-time {
    font-size: 72px;
    font-weight: 200;
    color: #1d1d1f;
    letter-spacing: -3px;
    font-variant-numeric: tabular-nums;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.08),
        0 0 40px rgba(228, 175, 95, 0.15);
    position: relative;
    z-index: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
}

.ios-picker-display-label {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 14px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ============================================
   WHEELS CONTAINER - Premium Glass
   ============================================ */
.ios-picker-wheels {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    height: 320px;
    overflow: hidden;
}

/* Ambient glow with golden tint */
.ios-picker-wheels::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 80px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(228, 175, 95, 0.08) 30%,
        rgba(228, 175, 95, 0.12) 50%, 
        rgba(228, 175, 95, 0.08) 70%,
        transparent 100%);
    pointer-events: none;
    z-index: 0;
    filter: blur(20px);
}

/* ============================================
   SELECTION INDICATOR - iPhone Glass Style
   ============================================ */
.ios-picker-selection {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 93%;
    height: 52px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    box-shadow: 
        0 10px 40px rgba(228, 175, 95, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    pointer-events: none;
    z-index: 5;
}

.ios-picker-selection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.5) 0%, 
        rgba(228, 175, 95, 0.1) 50%,
        rgba(255, 255, 255, 0.3) 100%);
    pointer-events: none;
}

.ios-picker-selection::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 90%;
    background: radial-gradient(ellipse, 
        rgba(228, 175, 95, 0.08) 0%, 
        transparent 70%);
    filter: blur(15px);
}

/* ============================================
   WHEEL STYLES - iPhone Premium
   ============================================ */
.ios-picker-wheel {
    flex: 1;
    height: 320px;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    z-index: 10;
    padding: 134px 0;
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 15%,
        black 25%,
        black 75%,
        rgba(0, 0, 0, 0.3) 85%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.3) 15%,
        black 25%,
        black 75%,
        rgba(0, 0, 0, 0.3) 85%,
        transparent 100%
    );
}

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

/* ============================================
   WHEEL ITEMS - iPhone Style with Golden Glow
   ============================================ */
.ios-picker-wheel-item {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    position: relative;
    font-weight: 300;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
}

.ios-picker-wheel-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 90%;
    height: 100%;
    background: rgba(228, 175, 95, 0.08);
    border-radius: 12px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.ios-picker-wheel-item:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.ios-picker-wheel-item:not(.active) {
    opacity: 0.35;
    transform: scale(0.88);
    text-shadow: none;
}

.ios-picker-wheel-item.active {
    font-weight: 400;
    opacity: 1;
    transform: scale(1.08);
    color: #1d1d1f;
    text-shadow: 
        0 2px 12px rgba(228, 175, 95, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(228, 175, 95, 0.15);
    letter-spacing: -0.5px;
}

/* ============================================
   SEPARATORS - Golden Accent
   ============================================ */
.ios-picker-separator {
    font-size: 36px;
    font-weight: 200;
    color: rgba(0, 0, 0, 0.4);
    padding: 0 14px;
    align-self: center;
    z-index: 10;
    text-shadow: 
        0 2px 8px rgba(228, 175, 95, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 
            0 8px 32px rgba(228, 175, 95, 0.3),
            0 4px 12px rgba(228, 175, 95, 0.2);
    }
    50% {
        box-shadow: 
            0 12px 48px rgba(228, 175, 95, 0.4),
            0 6px 16px rgba(228, 175, 95, 0.3);
    }
}

.form-group {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.form-group:nth-child(2) {
    animation-delay: 0.1s;
}

.form-group:nth-child(3) {
    animation-delay: 0.2s;
}

.form-group:nth-child(4) {
    animation-delay: 0.3s;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 600px) {
    .demo-container {
        padding: 30px 20px;
    }

    .ios-picker-display-time {
        font-size: 64px;
    }

    .ios-picker-modal {
        max-width: 100%;
        border-radius: 28px 28px 0 0;
    }

    .ios-picker-header {
        padding: 18px 20px;
    }

    .ios-picker-header button {
        padding: 10px 20px;
        font-size: 16px;
    }

    .ios-picker-wheel-item {
        font-size: 26px;
        height: 48px;
    }

    .ios-picker-selection {
        height: 48px;
    }

    .ios-picker-wheel {
        padding: 124px 0;
    }
}

/* ============================================
   GLASS MORPHISM UTILITIES
   ============================================ */
.glass-light {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-medium {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(35px) saturate(180%);
    -webkit-backdrop-filter: blur(35px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-heavy {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(50px) saturate(200%);
    -webkit-backdrop-filter: blur(50px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */
@media (prefers-color-scheme: dark) {
    .ios-picker-modal {
        background: rgba(28, 28, 30, 0.88);
    }
    
    .ios-picker-header {
        background: rgba(44, 44, 46, 0.7);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .ios-picker-display {
        background: rgba(44, 44, 46, 0.6);
    }
    
    .ios-picker-display-time {
        color: #f5f5f7;
    }
    
    .ios-picker-display-label {
        color: rgba(255, 255, 255, 0.5);
    }
    
    .ios-picker-wheels {
        background: rgba(28, 28, 30, 0.5);
    }
    
    .ios-picker-selection {
        background: rgba(58, 58, 60, 0.7);
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .ios-picker-wheel-item {
        color: rgba(255, 255, 255, 0.4);
    }
    
    .ios-picker-wheel-item.active {
        color: #f5f5f7;
    }
    
    .ios-picker-separator {
        color: rgba(255, 255, 255, 0.5);
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */
.ios-picker-modal,
.ios-picker-overlay {
    will-change: opacity, transform;
}

.ios-picker-wheel-item {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.ios-picker-header button {
    will-change: transform, box-shadow;
}

/* ============================================
   SAFARI SPECIFIC FIXES
   ============================================ */
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
    .ios-picker-modal {
        background: rgba(245, 245, 250, 0.82);
    }
    
    .ios-picker-header {
        background: rgba(255, 255, 255, 0.32);
    }
    
    .ios-picker-display {
        background: rgba(255, 255, 255, 0.22);
    }
}


/* Demo Container Styles (Optional - for your form styling) */
.demo-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    max-width: 500px;
    width: 100%;
}

.demo-container h1 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.demo-container p {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.time-input {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    font-weight: 500;
    color: #fff;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.time-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.time-input:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.time-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        0 0 0 4px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ============================================
   IOS PICKER OVERLAY
   ============================================ */
.ios-picker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
}

.ios-picker-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   IOS PICKER MODAL - LIQUID GLASS
   ============================================ */
.ios-picker-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    box-shadow: 
        0 -20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
    z-index: 9999;
    overflow: hidden;
}

.ios-picker-modal.show {
    transform: translateX(-50%) translateY(-50%);
}

/* ============================================
   HEADER - GLASS EFFECT
   ============================================ */
.ios-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

.ios-picker-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent);
}

.ios-picker-header button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ios-picker-cancel {
    color: #ff6b6b;
    text-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.ios-picker-cancel:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.4);
    transform: translateY(-2px);
    box-shadow:
  0 8px 32px rgba(228, 175, 95, 0.4),
  0 4px 12px rgba(228, 175, 95, 0.25),
  inset 0 1px 0 rgba(255, 255, 255, 0.6),
  inset 0 0 20px rgba(228, 175, 95, 0.1);
}

.ios-picker-done {
    color: #E4AF5F;
    text-shadow: 0 2px 8px rgba(78, 205, 196, 0.3);
}

.ios-picker-done:hover {
    background: rgba(228, 175, 95, 0.4);
    border-color: rgba(228, 175, 95, 0.4);
    transform: translateY(-2px);
   box-shadow:
  0 8px 32px rgba(228, 175, 95, 0.4),
  0 4px 12px rgba(228, 175, 95, 0.25),
  inset 0 1px 0 rgba(255, 255, 255, 0.6),
  inset 0 0 20px rgba(228, 175, 95, 0.1);
}

.ios-picker-done:active,
.ios-picker-cancel:active {
    transform: translateY(0) scale(0.95);
}

/* ============================================
   TIME DISPLAY - LIQUID GLASS
   ============================================ */
.ios-picker-display {
    padding: 40px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.ios-picker-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent);
}

.ios-picker-display::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.ios-picker-display-time {
    font-size: 64px;
    font-weight: 200;
    color: #fff;
    letter-spacing: -2px;
    font-variant-numeric: tabular-nums;
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.ios-picker-display-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ============================================
   WHEELS CONTAINER - GLASS EFFECT
   ============================================ */
.ios-picker-wheels {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 300px;
    overflow: hidden;
}

/* Ambient glow effect */
.ios-picker-wheels::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   SELECTION INDICATOR - LIQUID GLASS
   ============================================ */
.ios-picker-selection {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92%;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 5;
}

.ios-picker-selection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

/* ============================================
   WHEEL STYLES
   ============================================ */
.ios-picker-wheel {
    flex: 1;
    height: 300px;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    z-index: 10;
    padding: 126px 0;
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 20%,
        black 80%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 20%,
        black 80%,
        transparent 100%
    );
}

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

/* ============================================
   WHEEL ITEMS - GLASS EFFECT
   ============================================ */
.ios-picker-wheel-item {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    position: relative;
    font-weight: 300;
}

.ios-picker-wheel-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 90%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.ios-picker-wheel-item:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.ios-picker-wheel-item:not(.active) {
    opacity: 0.3;
    transform: scale(0.85);
    text-shadow: none;
}

.ios-picker-wheel-item.active {
    font-weight: 400;
    opacity: 1;
    transform: scale(1.05);
    color: #fff;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
}

/* ============================================
   SEPARATORS
   ============================================ */
.ios-picker-separator {
    font-size: 32px;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.6);
    padding: 0 12px;
    align-self: center;
    z-index: 10;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.form-group {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.form-group:nth-child(2) {
    animation-delay: 0.1s;
}

.form-group:nth-child(3) {
    animation-delay: 0.2s;
}

.form-group:nth-child(4) {
    animation-delay: 0.3s;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 600px) {
    .demo-container {
        padding: 30px 20px;
    }

    .ios-picker-display-time {
        font-size: 52px;
    }

    .ios-picker-modal {
        max-width: 100%;
        border-radius: 24px 24px 0 0;
    }

    .ios-picker-header {
        padding: 16px 20px;
    }

    .ios-picker-header button {
        padding: 8px 16px;
        font-size: 15px;
    }

    .ios-picker-wheel-item {
        font-size: 24px;
    }
}

/* ============================================
   GLASS MORPHISM UTILITIES
   ============================================ */
.glass-light {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-medium {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.glass-heavy {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */
@media (prefers-color-scheme: dark) {
    .ios-picker-modal {
        background: rgba(20, 20, 30, 0.7);
    }
    
    .ios-picker-header,
    .ios-picker-display,
    .ios-picker-wheels {
        background: rgba(30, 30, 45, 0.5);
    }
    
    .ios-picker-selection {
        background: rgba(255, 255, 255, 0.08);
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */
.ios-picker-modal,
.ios-picker-overlay {
    will-change: opacity, transform;
}

.ios-picker-wheel-item {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}