/**
 * mobile.css — Base PWA styles for TG AgriPortal
 * All mobile-responsive overrides have been removed so that
 * mobile renders the same desktop layout.
 */

/* ── Install Banner ──────────────────────────────────────────────────────── */
.pwa-install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    color: white;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.pwa-install-banner.show { transform: translateY(0); }
.pwa-install-banner .install-text { font-size: 0.85rem; flex: 1; }
.pwa-install-banner .install-text strong { display: block; font-size: 0.9rem; }
.pwa-install-banner .btn-install {
    background: white;
    color: #0d6efd;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    margin-left: 10px;
    white-space: nowrap;
}
.pwa-install-banner .btn-dismiss {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px 8px;
    margin-left: 8px;
}

/* ── Pull-to-refresh indicator ───────────────────────────────────────────── */
.ptr-indicator {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #0d6efd;
    color: white;
    padding: 6px 16px;
    border-radius: 0 0 8px 8px;
    font-size: 0.8rem;
    z-index: 9999;
    display: none;
}

/* ── Offline indicator ───────────────────────────────────────────────────── */
.offline-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #dc3545;
    color: white;
    text-align: center;
    padding: 4px;
    font-size: 0.75rem;
    z-index: 10000;
    display: none;
}
.offline-bar.show { display: block; }

/* ── Modules dropdown base sizing ────────────────────────────────────────── */
.modules-dropdown {
    min-width: 220px;
    max-width: 260px;
    max-height: calc(100svh - 70px);
    overflow-y: auto;
    overflow-x: hidden;
}
