/* App Notification Popup */
.app-notification-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2147483647;
    /* Highest possible */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: none;
}

.app-notification-popup.active-view {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
    display: block !important;
}

.app-notification-popup .container {
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.notification-inner {
    background: rgba(15, 10, 31, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.notification-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
    min-width: 300px;
}

.notification-icon {
    font-size: 24px;
    color: #8B5CF6;
    /* accent-purple */
    background: rgba(139, 92, 246, 0.1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.notification-text h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
}

.notification-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #94a3b8;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.notification-text a {
    color: #a78bfa;
    text-decoration: underline;
}

.notification-text a:hover {
    color: #FF6BF7;
}

.notification-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Button overrides */
.app-notification-popup .btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    line-height: normal;
}

.app-notification-popup .btn-primary {
    background: linear-gradient(135deg, #8B5CF6, #FF6BF7);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.app-notification-popup .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.6);
}

.app-notification-popup .btn-outline {
    background: transparent;
    border: 2px solid #8B5CF6;
    color: #ffffff;
}

.app-notification-popup .btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    border-color: #a78bfa;
}

@media (max-width: 768px) {
    .app-notification-popup {
        bottom: 0;
        left: 0;
        right: 0;
        padding: 0;
    }

    .app-notification-popup .container {
        max-width: 100%;
    }

    .notification-inner {
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px 20px 0 0;
        border-bottom: none;
        border-left: none;
        border-right: none;
        margin: 0;
    }

    .notification-actions {
        width: 100%;
        justify-content: stretch;
    }

    .notification-actions .btn {
        flex: 1;
    }

    .notification-content {
        min-width: auto;
    }
}