/* =========================================================
   AURELIA CRÉDIT — INSTALLATION PWA
========================================================= */

.pwa-install-button {

    position: fixed;

    right: 14px;
    bottom: 95px;

    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 15px;

    border: 0;
    border-radius: 16px;

    background: linear-gradient(
        135deg,
        #3b235e,
        #7041a5
    );

    color: #ffffff;

    font-family: "Poppins", sans-serif;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(59, 35, 94, 0.28);

    animation:
        pwaPulse 2.2s ease-in-out infinite;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.25s ease;
}


/* Icône */

.pwa-install-button::before {

    content: "↓";

    width: 28px;
    height: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(255,255,255,0.16);

    font-size: 18px;
    font-weight: 800;

}


/* Effet au toucher */

.pwa-install-button:active {

    transform: scale(0.96);

}


/* Animation légère */

@keyframes pwaPulse {

    0% {
        box-shadow:
            0 10px 25px rgba(59, 35, 94, 0.28);
    }

    50% {
        box-shadow:
            0 12px 30px rgba(112, 65, 165, 0.42);
    }

    100% {
        box-shadow:
            0 10px 25px rgba(59, 35, 94, 0.28);
    }

}


/* Petits téléphones */

@media (max-width: 380px) {

    .pwa-install-button {

        right: 10px;
        bottom: 88px;

        padding: 10px 12px;

        border-radius: 14px;

        font-size: 11px;

    }

    .pwa-install-button::before {

        width: 25px;
        height: 25px;

        font-size: 16px;

    }

}