/* Banner y Componentes de Instalación PWA - Majois */
.majois-pwa-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    margin: 0 auto;
    max-width: 520px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.15);
    padding: 16px;
    z-index: 99999;
    display: none;
    flex-direction: column;
    gap: 12px;
    animation: majoisPwaSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@keyframes majoisPwaSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pwa-banner-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pwa-banner-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: contain;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px;
    flex-shrink: 0;
}

.pwa-banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pwa-banner-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.pwa-banner-subtitle {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.35;
}

.pwa-banner-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.pwa-btn {
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.pwa-btn-secondary {
    background: #f1f5f9;
    color: #475569;
}
.pwa-btn-secondary:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.pwa-btn-primary {
    background: #005b8e;
    color: #ffffff;
}
.pwa-btn-primary:hover {
    background: #00446b;
}

/* En pantallas muy pequeñas, botones apilados */
@media (max-width: 400px) {
    .pwa-banner-actions {
        flex-direction: column-reverse;
    }
    .pwa-btn {
        width: 100%;
    }
}

