/* Simple Mobile Layout - No Cards, Just Form */

/* Hide mobile button on desktop by default */
.submit-btn-mobile,
#submit-location-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    /* Clean mobile layout */
    body {
        background: #14132b !important;
        overflow-x: hidden !important;
    }
    
    /* Hide navigation logo */
    .nav-logo,
    .nav-container .nav-logo {
        display: none !important;
    }
    
    /* Hide footer on mobile */
    footer,
    .footer,
    .footer-content {
        display: none !important;
    }
    
    /* Completely hide loading screen by default */
    #loading-screen.hidden,
    .loading-container.hidden {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Show loading screen ONLY when not hidden */
    #loading-screen:not(.hidden),
    .loading-container:not(.hidden) {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 9999 !important;
        background: #14132b !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Slide 2 - Ultra simple, just padding */
    #slide-2 {
        display: block !important; /* Override flex */
        padding: 80px 20px 150px 20px !important;
        height: auto !important;
        min-height: 100vh !important;
        align-items: initial !important;
        justify-content: initial !important;
    }
    
    /* Remove ALL card/container styling that might interfere */
    #slide-2 .card,
    #slide-2 .card-slider,
    #slide-2 .card-container,
    #slide-2 > div,
    #slide-2 > div > div {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        max-width: none !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        position: static !important;
        transform: none !important;
    }
    
    /* Title */
    #slide-2 h1 {
        color: #00ff9d !important;
        font-size: 1.3rem !important;
        margin-bottom: 1.5rem !important;
        margin-top: 2rem !important; /* Push title down */
        text-align: center !important;
        font-family: 'Orbitron', sans-serif !important;
    }
    
    /* Labels */
    #slide-2 label {
        display: block !important;
        color: #00ffcb !important;
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
        margin-top: 1.5rem !important; /* More space above labels */
        font-weight: 600 !important;
    }
    
    /* First label (Playlist Type) needs extra space */
    #slide-2 label:first-of-type {
        margin-top: 3rem !important;
    }
    
    /* Inputs and selects */
    #slide-2 input,
    #slide-2 select {
        width: 100% !important;
        padding: 0.75rem !important;
        margin-bottom: 1.25rem !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(0, 255, 157, 0.3) !important;
        border-radius: 8px !important;
        color: white !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
    }
    
    /* Checkboxes */
    #slide-2 .checkbox-label {
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        margin-bottom: 1rem !important;
        color: #00ffcb !important;
        font-size: 0.85rem !important;
    }
    
    #slide-2 .checkbox-label input[type="checkbox"] {
        width: 20px !important;
        height: 20px !important;
        margin: 0 !important;
    }
    
    /* Budget slider */
    #slide-2 #budget-slider-container {
        margin: 1rem 0 1.5rem 0 !important;
    }
    
    /* Hide desktop vertical button */
    #slide-2 .create-playlist-btn-side,
    #slide-2 #submit-location {
        display: none !important;
    }
    
    /* Show mobile button */
    #slide-2 #submit-location-mobile {
        display: block !important;
        width: 100% !important;
        max-width: 400px !important;
        margin: 2rem auto !important;
        padding: 1.2rem !important;
        background: linear-gradient(135deg, #00ff9d, #00ffcb) !important;
        color: #14132b !important;
        border: none !important;
        border-radius: 30px !important;
        font-size: 1.1rem !important;
        font-weight: bold !important;
        font-family: 'Orbitron', sans-serif !important;
        text-transform: uppercase !important;
        letter-spacing: 2px !important;
        box-shadow: 0 6px 20px rgba(0, 255, 157, 0.5) !important;
        cursor: pointer !important;
    }
}
