Spaces:
Paused
Paused
File size: 2,437 Bytes
055d291 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 | .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);
}
|