File size: 2,738 Bytes
71a764a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* Score Display Styles */
.cosine-distance {
    background-color: #4CAF50;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.score-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0;
    color: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.score-header {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

/* Progress Bar Styles */
.progress-bar-container {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    height: 30px;
    margin: 15px 0;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    border-radius: 15px;
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    transition: width 1.5s ease-in-out;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(45deg, transparent 33%, rgba(255, 255, 255, 0.3) 50%, transparent 66%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Score Details */
.score-details {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    flex-wrap: wrap;
}

.score-metric {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin: 5px;
    flex: 1;
    min-width: 150px;
}

.metric-value {
    font-size: 20px;
    font-weight: bold;
    color: #ffa726;
}

.metric-label {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

/* Achievements */
.achievements-container {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.achievements-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffa726;
}

.achievement-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.achievement-badge {
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: badge-glow 2s ease-in-out;
}

@keyframes badge-glow {
    0% { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }
    50% { box-shadow: 0 4px 12px rgba(255, 165, 38, 0.4); }
    100% { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }
}