body {
    position: relative;
}

.main {
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

/* Bottom Buttons */
.fa-heart {
    color: gray;
    transition: color 0.3s ease;
}

.fa-heart.active {
    color: red;
}

.payment-methods {
    padding: 20px 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
}

.payment-methods img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.bottom-btn {
    position: fixed;
    z-index: 11;
    bottom: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
    background: white;
    padding: 10px;
}

.bottom-btn button {
    width: 100px;
    height: 50px;
    border-radius: 5px;
    cursor: pointer;
    padding: 15px;
    outline: none;

}

#enable_notifications {
    display: none;
    background: white;
    color: black;
    border: 1px solid #5555;
    width: auto
}

#enable_notifications:hover {
    background-color: #555;
    color: white;
}

#install {
    display: none;
    background: red;
    color: white;
}

#install:hover {
    background: lightcoral;
}

#toTopBtn {
    display: none;
    background: red;
    color: white;
    border: none;
}

#toTopBtn:hover {
    background-color: #555;
}

@media (max-width: 780px) {
    .bottom-btn button {
        font-size: 0.6rem;
        height: 30px;
        width: auto;
        padding: 7px 15px 10px 15px;
    }
}

/* Universal overlay spinner */
#page-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    display: none; /* hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 99999999999;
    transition: opacity 0.3s ease;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
