/* 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); } }