/* ============================================
   PWA - install banner & update toast
   ============================================ */

.pwa-install-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 16px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-left: 4px solid #dd4814;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.pwa-install-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.pwa-install-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
    border: 1px solid #e9ecef;
}

.pwa-install-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    color: #495057;
    line-height: 1.35;
}

.pwa-install-text strong {
    color: #212529;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.pwa-install-btn {
    white-space: nowrap;
}

.pwa-install-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    line-height: 1;
    color: #adb5bd;
    padding: 0 2px;
    cursor: pointer;
}

.pwa-install-close:hover {
    color: #495057;
}

.pwa-toast {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 1060;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #212529;
    color: #fff;
    border-radius: 999px;
    font-size: 0.875rem;
    white-space: nowrap;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.pwa-toast-btn {
    font-weight: 600;
}

@media (min-width: 768px) {
    .pwa-install-banner {
        left: auto;
        right: 24px;
        max-width: 420px;
    }
}
