/* ============================================================================
   PWA-SPECIFIC STYLES
   ============================================================================ */

/* Ensure app fills viewport in standalone mode */
@media (display-mode: standalone) {
    body {
        overscroll-behavior-y: none;
    }

    /* Hide scrollbars in standalone PWA mode */
    ::-webkit-scrollbar {
        display: none;
    }

    * {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/* iOS PWA Status Bar */
@supports (-webkit-touch-callout: none) {
    /* iOS-specific styles */
    body {
        -webkit-user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    input,
    textarea {
        -webkit-user-select: text;
    }
}

/* Prevent pull-to-refresh in PWA */
body {
    overscroll-behavior-y: contain;
}

/* Disable double-tap zoom */
* {
    touch-action: manipulation;
}

/* Active states for better touch feedback */
button:active,
a:active,
.btn:active {
    opacity: 0.7;
}
