.nirvana-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    animation: fadeInOverlay 0.3s ease-out forwards;
}

@keyframes fadeInOverlay {
    to {
        opacity: 1;
    }
}

.nirvana-alert-container {
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.98) 0%, rgba(19, 19, 19, 0.98) 100%);
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 90%;
    width: 100%;
    max-width: 500px;
    padding: 0;
    position: relative;
    transform: scale(0.9) translateY(20px);
    animation: slideInAlert 0.3s ease-out forwards;
    overflow: hidden;
}

@keyframes slideInAlert {
    to {
        transform: scale(1) translateY(0);
    }
}

.nirvana-alert-header {
    padding: 1.5rem 1.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nirvana-alert-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nirvana-alert-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.nirvana-alert-icon.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.2) 100%);
    color: #22c55e;
}

.nirvana-alert-icon.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3) 0%, rgba(220, 38, 38, 0.3) 100%);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.nirvana-alert-icon.warning {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(202, 138, 4, 0.2) 100%);
    color: #eab308;
}

.nirvana-alert-icon.info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%);
    color: #3b82f6;
}

.nirvana-alert-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    flex: 1;
}

.nirvana-alert-close {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.7);
}

.nirvana-alert-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.nirvana-alert-close svg {
    width: 1rem;
    height: 1rem;
}

.nirvana-alert-body {
    padding: 0 1.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.9375rem;
}

.nirvana-alert-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.nirvana-alert-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
    justify-content: center;
}

.nirvana-alert-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
}

.nirvana-alert-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.nirvana-alert-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nirvana-alert-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.nirvana-alert-btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.nirvana-alert-btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.nirvana-alert-link {
    color: #3b82f6;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nirvana-alert-link:hover {
    color: #60a5fa;
}

@media (max-width: 640px) {
    .nirvana-alert-container {
        max-width: 95%;
        border-radius: 0.75rem;
    }
    
    .nirvana-alert-header {
        padding: 1.25rem 1.25rem 0.75rem;
    }
    
    .nirvana-alert-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .nirvana-alert-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .nirvana-alert-title {
        font-size: 1.125rem;
    }
    
    .nirvana-alert-body {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .nirvana-alert-footer {
        padding: 0.75rem 1.25rem 1.25rem;
        flex-direction: column;
    }
    
    .nirvana-alert-btn {
        width: 100%;
    }
}

