/*
 * Estilos del banner "Instalar app" (PWA).
 * Se muestra solo cuando la app se abre desde el navegador (no instalada).
 * pwa.js agrega la clase .show cuando corresponde.
 */
.pwa-install-banner {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 200;
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    width: 380px;
    max-width: 92vw;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    padding: .6rem .7rem;
}
.pwa-install-banner.show { display: flex; }

.pwa-install-ico {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    flex: 0 0 auto;
}
.pwa-install-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}
.pwa-install-txt strong { font-size: .92rem; color: #0f172a; }
.pwa-install-txt span { font-size: .72rem; color: #64748b; }

.pwa-install-btn {
    margin-left: auto;
    flex: 0 0 auto;
    background: #00A19B;
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: .5rem .85rem;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
}
.pwa-install-btn:hover { background: #0e7268; }

.pwa-install-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 .15rem;
    flex: 0 0 auto;
}

.pwa-ios-help {
    flex-basis: 100%;
    margin-top: .5rem;
    font-size: .8rem;
    color: #334155;
    background: #f1f5f9;
    border-radius: 9px;
    padding: .5rem .6rem;
}
.pwa-ios-help b { color: #0f172a; }

/* Nunca mostrar el banner si ya está instalada (abierta como app). */
@media (display-mode: standalone) {
    .pwa-install-banner { display: none !important; }
}
