Spaces:
Paused

miracle / frontend /packages /shared /src /components /NexusPopup.module.css
dushyantsingh0
backend stabilization
055d291
Raw History Blame Contribute Delete
2.44 kB
.backdrop {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.4);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
z-index: 10000;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.modal {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 24px;
width: 100%;
max-width: 440px;
box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
overflow: hidden;
position: relative;
}
.modal::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: var(--primary-gradient);
}
.content {
padding: 32px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: 20px;
}
.iconWrapper {
width: 64px;
height: 64px;
border-radius: 20px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 8px;
}
.info { background: rgba(99, 102, 241, 0.1); color: #6366f1; }
.warning { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.error { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.success { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.title {
font-size: 20px;
font-weight: 850;
color: var(--text-main);
letter-spacing: -0.02em;
margin: 0;
}
.message {
font-size: 15px;
line-height: 1.6;
color: var(--text-muted);
margin: 0;
}
.actions {
display: flex;
gap: 12px;
width: 100%;
margin-top: 12px;
}
.btn {
flex: 1;
height: 48px;
border-radius: 12px;
font-size: 14px;
font-weight: 800;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.primary {
background: var(--primary);
color: white;
border: none;
box-shadow: 0 4px 12px var(--primary-glow);
}
.primary:hover {
background: #4f46e5;
transform: translateY(-2px);
box-shadow: 0 8px 20px var(--primary-glow);
}
.secondary {
background: var(--bg-hover);
color: var(--text-main);
border: 1px solid var(--border-subtle);
}
.secondary:hover {
background: var(--bg-card);
border-color: var(--text-muted);
}
.danger {
background: #ef4444;
color: white;
border: none;
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}
.danger:hover {
background: #dc2626;
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}