.pwa-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.pwa-modal.is-visible {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.pwa-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.pwa-modal-content {
    position: relative;
    width: min(100%, 450px);
    margin: 16px;
    padding: 30px 24px 24px;
    background: #fff;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: pwa-slide-up 0.25s ease-out;
}

.pwa-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;

    border: 0;
    background: transparent;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;
    color: #666;
}

.pwa-app-icon {
    margin-bottom: 16px;
}

.pwa-app-icon img {
    width: 80px;
    height: 80px;
    border-radius: 18px;
}

.pwa-modal-content h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.pwa-modal-content p {
    margin: 0 0 24px;
    color: #666;
    line-height: 1.5;
}

.pwa-install-button {
    width: 100%;
    padding: 14px 20px;

    border: 0;
    border-radius: 10px;

    background: #0d6efd;
    color: #fff;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
}

.pwa-install-button:hover {
    background: #0b5ed7;
}

.pwa-install-later {
    margin-top: 12px;

    border: 0;
    background: transparent;

    color: #666;

    cursor: pointer;
}

@keyframes pwa-slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}