Spaces:
Running

File size: 2,344 Bytes
25834e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 14px 16px;
    border-radius: var(--radius-md, 12px);
    background: rgba(15, 20, 40, 0.82);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    color: var(--text-primary, #fff);
    font-weight: 400;
    font-size: 13.5px;
    line-height: 1.4;
    z-index: calc(var(--z-max, 9999) + 2);
    max-width: 360px;
    min-width: 260px;
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.10));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    transform: translateY(calc(100% + 32px));
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
    opacity: 0;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification-success i {
    color: var(--color-success, #22c55e);
}

.notification-error i {
    color: var(--color-danger, #ef4444);
}

.notification-warning i {
    color: var(--color-warning, #f59e0b);
}

.notification-info i {
    color: var(--color-info, #6366f1);
}

.notification i {
    font-size: 16px;
    flex-shrink: 0;
}

.notification span {
    flex: 1;
    color: var(--text-primary, #fff);
}

.notification .notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 0 0 var(--radius-md, 12px) var(--radius-md, 12px);
    animation: notification-progress-bar linear forwards;
}

.notification-success .notification-progress {
    background: var(--color-success, #22c55e);
}

.notification-error .notification-progress {
    background: var(--color-danger, #ef4444);
}

.notification-warning .notification-progress {
    background: var(--color-warning, #f59e0b);
}

.notification-info .notification-progress {
    background: var(--color-info, #6366f1);
}

@keyframes notification-progress-bar {
    from {
        width: 100%;
    }

    to {
        width: 0;
    }
}

@media screen and (max-width: 480px) {
    .notification {
        bottom: 16px;
        right: 12px;
        left: 12px;
        max-width: none;
        min-width: 0;
    }
}