﻿.popia-snackbar {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translate(-50%, 150%);
    width: min(700px, calc(100% - 30px));
    z-index: 99999;
    background: #ffffff;
    border-left: 5px solid #005D28;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.20);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
}

    .popia-snackbar.show {
        transform: translate(-50%, 0);
        opacity: 1;
        visibility: visible;
    }

.popia-snackbar-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
}

.popia-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e8f5ee;
    color: #005D28;
    font-size: 19px;
}

.popia-message {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

    .popia-message strong {
        color: #333;
        font-size: 15px;
    }

    .popia-message span {
        color: #666;
        font-size: 13px;
        line-height: 1.45;
    }

    .popia-message a {
        color: #005D28;
        font-weight: 600;
        text-decoration: underline;
    }

        .popia-message a:hover {
            color: #003d1a;
        }

.popia-accept {
    white-space: nowrap;
    min-width: 100px;
}

.popia-close {
    border: none;
    background: transparent;
    color: #777;
    padding: 5px;
    cursor: pointer;
    font-size: 16px;
}

    .popia-close:hover {
        color: #333;
    }

/* Mobile */
@media (max-width: 576px) {

    .popia-snackbar {
        width: calc(100% - 20px);
        bottom: 10px;
    }

    .popia-snackbar-content {
        align-items: flex-start;
        padding: 13px;
        gap: 10px;
    }

    .popia-icon {
        min-width: 36px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .popia-message span {
        font-size: 12px;
    }

    .popia-accept {
        min-width: auto;
        padding: 5px 9px;
        font-size: 12px;
    }
}
