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
.neon-check {
display: inline-flex;
align-items: center;
gap: 12px;
cursor: pointer;
user-select: none;
font-family: system-ui, sans-serif;
color: #7d7d8a;
font-size: 16px;
}
.neon-check__input {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
.neon-check__box {
position: relative;
display: flex;
align-items: center;
justify-content: center;
width: 26px;
height: 26px;
border-radius: 6px;
background: #0d0d12;
border: 2px solid #2c2c38;
color: transparent;
transition: border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.neon-check__mark-path {
stroke-dasharray: 24;
stroke-dashoffset: 24;
transition: stroke-dashoffset 0.3s ease 0.1s;
}
.neon-check__input:checked ~ .neon-check__box {
border-color: #ff2ed1;
color: #ff2ed1;
box-shadow:
0 0 6px #ff2ed1,
0 0 16px rgba(255, 46, 209, 0.6),
inset 0 0 8px rgba(255, 46, 209, 0.4);
animation: neon-flicker 1.8s linear infinite;
}
.neon-check__input:checked ~ .neon-check__box .neon-check__mark-path {
stroke-dashoffset: 0;
}
.neon-check__input:focus-visible ~ .neon-check__box {
outline: 2px solid #ff2ed1;
outline-offset: 3px;
}
.neon-check__input:checked ~ .neon-check__label {
color: #ff2ed1;
text-shadow: 0 0 8px rgba(255, 46, 209, 0.5);
}
.neon-check__label {
transition: color 0.3s ease, text-shadow 0.3s ease;
}
@keyframes neon-flicker {
0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
box-shadow:
0 0 6px #ff2ed1,
0 0 16px rgba(255, 46, 209, 0.6),
inset 0 0 8px rgba(255, 46, 209, 0.4);
}
20%, 22%, 24%, 55% {
box-shadow: none;
}
}