body {
    font-family: 'Poppins', sans-serif;
    /* Desktop ke liye premium background color. Mobile par ye app hide kar legi */
    background-color: #cbd5e1 !important; 
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

/* =========================================
   ✅ INDUSTRY STANDARD PWA DESKTOP WRAPPER 
   ========================================= */
#login-screen, #main-app {
    max-width: 480px !important; /* App ko stretch hone se rokega */
    margin: 0 auto; /* Screen ke center mein rakhega */
    background-color: #f4f7fe;
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.15); /* Premium depth shadow */
    position: relative;
    overflow-x: hidden;
}

/* ✅ Fixed Headers, Navbars & Booking Bars ko App ke andar rakhne ke liye */
.fixed-top, 
.fixed-bottom, 
.position-fixed.bottom-0 {
    max-width: 480px;
    margin: 0 auto;
    left: 0;
    right: 0;
}

/* ✅ Modals ko app container ke hisaab se set kiya */
.modal-dialog {
    max-width: 450px;
    margin: 1.75rem auto;
}

/* --- LOGIN SCREEN --- */
.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2b3674 0%, #e71e63 100%);
    padding: 20px;
}
.login-box {
    width: 100%;
    max-width: 400px;
}

/* --- MAIN APP LAYOUT --- */
.app-header {
    height: 60px;
    z-index: 1000;
}
.app-content-area {
    padding-top: 75px;  
    padding-bottom: 80px; 
    padding-left: 15px;
    padding-right: 15px;
    min-height: 100vh;
    background-color: #f4f7fe;
}

/* --- BOTTOM NAVIGATION --- */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 65px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding-bottom: env(safe-area-inset-bottom);
    z-index: 1000;
}
.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #a0aec0;
    flex-grow: 1;
    padding: 10px 0;
    transition: 0.3s;
}
.bottom-nav .nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}
.bottom-nav .nav-item span {
    font-size: 11px;
    font-weight: 500;
}
.bottom-nav .nav-item.active {
    color: #e71e63;
}
.bottom-nav .nav-item.active i {
    transform: scale(1.1);
}

/* --- HORIZONTAL SCROLL SLIDERS --- */
.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
}
.horizontal-scroll::-webkit-scrollbar {
    display: none; 
}
.scroll-card {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 280px;
}

/* --- HORIZONTAL DATES & TIME CHIPS --- */
.date-scroller {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.date-scroller::-webkit-scrollbar { display: none; }

.date-card {
    min-width: 70px;
    padding: 12px 5px;
    border-radius: 16px;
    border: 1px solid #e0e7ff;
    text-align: center;
    cursor: pointer;
    background: #fff;
    transition: 0.3s all ease;
    scroll-snap-align: start;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.date-card.active {
    background: #2b3674;
    color: #fff;
    border-color: #2b3674;
    box-shadow: 0 4px 10px rgba(43, 54, 116, 0.3);
}
.date-card .day { font-size: 11px; font-weight: 600; text-transform: uppercase; margin-bottom: 3px; }
.date-card .date { font-size: 20px; font-weight: 800; line-height: 1; }

.slot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.slot-chip {
    padding: 10px 18px;
    border-radius: 20px;
    border: 1px solid #e0e7ff;
    font-size: 13px;
    font-weight: 600;
    color: #2b3674;
    background: #fff;
    cursor: pointer;
    transition: 0.3s;
    flex-grow: 1;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.slot-chip.active {
    background: #e71e63;
    color: #fff;
    border-color: #e71e63;
    box-shadow: 0 4px 10px rgba(231, 30, 99, 0.3);
}