.uap-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 400px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.uap-popup.active {
    transform: translateY(0);
    opacity: 90%;
}

.uap-popup h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.uap-popup p {
    margin: 0 0 15px;
    color: #34495e;
    font-size: 14px;
    line-height: 1.5;
}

.uap-links {
    margin-bottom: 15px;
}

.uap-links a {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 5px;
    color: #3498db;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.uap-links a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.uap-agree-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}

.uap-agree-btn:hover {
    background: #2980b9;
}

@media (max-width: 480px) {
    .uap-popup {
        max-width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    bottom:90px;
    }
}