﻿
/* =========================================
   KRISHICARE MOBILE NAVIGATION
========================================= */

#mobilePageContainer {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

/* Main page content */
#pageContent {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 100%;
    background: #fff;
}

/* Prevent horizontal scrolling during transition */
#mobilePageContainer.mobile-page-transition {
    overflow: hidden;
}

/* Both pages during animation */
.mobile-page-old,
.mobile-page-new {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 0;
    background: #fff;
    will-change: transform;
}

/* Fixed bottom navigation remains outside transition */
.bottom-navigation {
    z-index: 100;
}

/* Loading state */
#mobilePageContainer.mobile-page-loading {
    pointer-events: none;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .mobile-page-old,
    .mobile-page-new {
        animation-duration: 0.01ms !important;
    }
}
