/* Sticky Button (Bottom Right) */
#pam-sticky {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #fff;
    padding: 12px 14px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    z-index: 9999;
    text-align: center;
}

#pam-sticky .pam-title {
    font-weight: 600;
    margin-bottom: 6px;
}

#pam-sticky button {
    background: #ff5a2c;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    cursor: pointer;
}

/* Modal */
#pam-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    z-index: 99999;
}

.pam-modal-inner {
    background: #fff;
    width: 92%;
    height: 92%;
    margin: 2% auto;
    border-radius: 16px;
    padding: 20px;
    overflow-y: auto;
}

#pam-close {
    float: right;
    font-size: 26px;
    cursor: pointer;
}

.pam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

/* Cards */
.pam-card {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.pam-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Toast */
.pam-toast {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: #2ecc71;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all .3s ease;
    z-index: 999999;
    font-weight: 600;
}

.pam-toast.show {
    opacity: 1;
    transform: translateY(0);
}
