.tpp-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    max-width: 340px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.tpp-popup.tpp-hidden { display: none; }
.tpp-popup.tpp-visible { opacity: 1; transform: translateY(0); }

.tpp-popup-inner {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
    padding: 20px 20px 16px;
    position: relative;
    border: 1px solid #eee;
}

.tpp-popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #999;
}

.tpp-popup-close:hover { color: #333; }

.tpp-popup-icon { font-size: 28px; margin-bottom: 6px; }

.tpp-popup-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.tpp-popup-message {
    font-size: 13.5px;
    color: #555;
    line-height: 1.4;
    margin-bottom: 16px;
}

.tpp-popup-actions { display: flex; gap: 10px; }

.tpp-btn {
    flex: 1;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.15s ease;
}

.tpp-btn:hover { opacity: 0.85; }

.tpp-btn-deny { background: #f1f1f1; color: #444; }
.tpp-btn-allow { background: #2563eb; color: #fff; }

@media (max-width: 480px) {
    .tpp-popup { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

