
.rpn-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    width: 320px;
    max-width: 90%;
    padding: 15px;
    z-index: 999999;
    display: flex;
    align-items: center;
    animation: slideIn 0.5s ease-out;
    border: 1px solid #e0e0e0;
    transform: translateX(0);
    opacity: 1;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.rpn-popup.hidden {
    transform: translateX(120%);
    opacity: 0;
}

.rpn-content {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.rpn-content img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
    flex-shrink: 0;
}

.rpn-text {
    flex: 1;
    min-width: 0;
}

.rpn-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

.rpn-text #rpn-name {
    font-weight: 600;
    margin-bottom: 5px;
    color: #111;
}

.rpn-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
}

.rpn-close:hover {
    color: #333;
    background: #f5f5f5;
}

@keyframes slideIn {
    from { 
        transform: translateX(120%);
        opacity: 0;
    }
    to { 
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .rpn-popup {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        bottom: 20px;
    }
    
    .rpn-content img {
        width: 50px;
        height: 50px;
    }
}
