﻿@import "/css/custom.css";

.fixed-cookie {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1000;
    font-family: "Ubunut" Arial;
}

#pwaPopup {
    background: rgba(0,0,0, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: fixed;
    bottom: 1rem;
    right: 2rem;
    max-width: 420px;
    width: 90%;
    padding: 1.8em 1.5em;
    text-align: center;
    line-height: 1.6;
    font-size: 15px;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    transform: translateY(2em);
}

    #pwaPopup.show {
        opacity: 1;
        transform: translateY(0);
    }

.btn-wrapper {
    display: flex;
    justify-content: center;
    gap: 0.8em;
}

.close-btn {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    color: #1c1c1e;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

    .close-btn:hover {
        background: rgba(255, 255, 255, 0.2);
    }

@media (max-width: 990px) {
    #pwaPopup {
        bottom: 4rem;
        right: 2.5%;
        width: 95%;
        padding: 1.5em 1em;
    }

    .btn-wrapper {
        flex-direction: column;
    }
}
