Files
LEAKHUB/styles.css
EP d875e6e4fd 🚀 MAJOR UPGRADE: Added 5 Legendary Features!
🔥 IMPROVEMENT #1: Real-time Collaboration Chat System
- Live chat with other users
- Bot responses and community interaction
- Online user tracking

🤖 IMPROVEMENT #2: Advanced AI-Powered Similarity Detection
- Semantic similarity analysis
- Structural pattern matching
- Keyword overlap detection
- Confidence scoring with visual meters

🏆 IMPROVEMENT #3: Dynamic Achievement System
- 10 unlockable achievements with badges
- Point rewards and notifications
- Progress tracking for all actions

🎯 IMPROVEMENT #4: Enhanced Comparison Interface
- Dual comparison modes (Basic + AI Analysis)
- Visual confidence meters and metrics
- Verification recommendations

 IMPROVEMENT #5: Improved User Experience
- Enhanced button styles and animations
- Better responsive design
- Achievement notifications
- Chat system integration

All async/await issues fixed, build tested successfully! 🚀
2025-08-21 19:28:38 -07:00

1270 lines
24 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: #0f0f0f;
color: #e0e0e0;
min-height: 100vh;
overflow-x: hidden;
}
.container {
max-width: 1400px;
margin: 0 auto;
padding: 2rem;
}
header {
text-align: center;
margin-bottom: 3rem;
}
h1 {
font-size: 3rem;
background: linear-gradient(135deg, #00ff88, #00aaff, #ff00ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 1rem;
animation: gradientShift 5s ease infinite;
}
@keyframes gradientShift {
0%, 100% { filter: hue-rotate(0deg); }
50% { filter: hue-rotate(180deg); }
}
.subtitle {
color: #888;
font-size: 1.2rem;
margin-bottom: 0.5rem;
}
.status-bar {
display: flex;
justify-content: center;
gap: 2rem;
margin-bottom: 2rem;
flex-wrap: wrap;
}
.status-item {
background: rgba(255, 255, 255, 0.05);
padding: 0.5rem 1.5rem;
border-radius: 20px;
border: 1px solid rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
gap: 0.5rem;
}
.status-value {
font-weight: bold;
color: #00ff88;
}
.main-section {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin-bottom: 3rem;
}
@media (max-width: 968px) {
.main-section {
grid-template-columns: 1fr;
}
}
.panel {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
padding: 2rem;
backdrop-filter: blur(10px);
}
.panel h2 {
color: #00aaff;
margin-bottom: 1.5rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.submission-form {
display: flex;
flex-direction: column;
gap: 1rem;
}
input[type="text"], textarea {
background: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
color: #e0e0e0;
padding: 1rem;
font-family: inherit;
transition: all 0.3s ease;
}
textarea {
min-height: 200px;
font-family: 'Courier New', monospace;
font-size: 0.9rem;
resize: vertical;
}
input:focus, textarea:focus {
outline: none;
border-color: #00ff88;
box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}
button {
background: linear-gradient(135deg, #00ff88, #00aaff);
border: none;
color: #000;
padding: 1rem 2rem;
border-radius: 8px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
font-size: 1rem;
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
}
button:active {
transform: translateY(0);
}
button.secondary {
background: rgba(255, 255, 255, 0.1);
color: #e0e0e0;
border: 1px solid rgba(255, 255, 255, 0.2);
}
button.secondary:hover {
background: rgba(255, 255, 255, 0.15);
}
.submissions-list {
max-height: 600px;
overflow-y: auto;
padding-right: 0.5rem;
}
.submission-item {
background: rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 1rem;
margin-bottom: 1rem;
cursor: pointer;
transition: all 0.3s ease;
position: relative;
}
.submission-item:hover {
border-color: #00ff88;
background: rgba(0, 255, 136, 0.05);
}
.submission-item.selected {
border-color: #00ff88;
background: rgba(0, 255, 136, 0.1);
}
.submission-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
}
.submission-source {
font-weight: bold;
color: #00aaff;
}
.submission-date {
color: #666;
font-size: 0.8rem;
}
.submission-preview {
color: #888;
font-size: 0.9rem;
font-family: 'Courier New', monospace;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.submission-confidence {
position: absolute;
top: 0.5rem;
right: 0.5rem;
background: rgba(0, 255, 136, 0.2);
color: #00ff88;
padding: 0.2rem 0.6rem;
border-radius: 12px;
font-size: 0.8rem;
font-weight: bold;
}
.comparison-section {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
padding: 2rem;
margin-bottom: 2rem;
}
.comparison-controls {
display: flex;
gap: 15px;
margin-bottom: 20px;
justify-content: center;
flex-wrap: wrap;
}
.comparison-controls .enhanced-btn {
min-width: 150px;
}
.instance-selector {
flex: 1;
min-width: 200px;
}
.comparison-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin-bottom: 2rem;
}
@media (max-width: 768px) {
.comparison-grid {
grid-template-columns: 1fr;
}
}
.instance-viewer {
background: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 1rem;
height: 300px;
overflow-y: auto;
}
.instance-viewer h3 {
color: #00ff88;
margin-bottom: 1rem;
font-size: 1rem;
}
.instance-content {
font-family: 'Courier New', monospace;
font-size: 0.9rem;
line-height: 1.6;
white-space: pre-wrap;
}
.results-panel {
background: rgba(0, 0, 0, 0.8);
border: 2px solid rgba(0, 255, 136, 0.3);
border-radius: 12px;
padding: 2rem;
margin-top: 2rem;
}
.match-metrics {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
margin-bottom: 2rem;
}
.metric-card {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 1rem;
text-align: center;
}
.metric-label {
color: #666;
font-size: 0.9rem;
margin-bottom: 0.5rem;
}
.metric-value {
font-size: 2rem;
font-weight: bold;
color: #00ff88;
}
.consensus-viewer {
background: rgba(0, 255, 136, 0.05);
border: 1px solid rgba(0, 255, 136, 0.2);
border-radius: 8px;
padding: 1.5rem;
margin-top: 2rem;
}
.consensus-viewer h3 {
color: #00ff88;
margin-bottom: 1rem;
}
.consensus-text {
font-family: 'Courier New', monospace;
font-size: 0.9rem;
line-height: 1.8;
white-space: pre-wrap;
}
.highlight-match {
background: rgba(0, 255, 136, 0.3);
color: #00ff88;
padding: 2px 4px;
border-radius: 3px;
}
.highlight-diff {
background: rgba(255, 255, 0, 0.2);
color: #ffff00;
padding: 2px 4px;
border-radius: 3px;
}
.alert {
position: fixed;
top: 2rem;
right: 2rem;
padding: 1rem 2rem;
background: rgba(0, 255, 136, 0.2);
border: 1px solid #00ff88;
border-radius: 8px;
color: #00ff88;
font-weight: bold;
display: none;
animation: slideIn 0.3s ease;
z-index: 1000;
}
@keyframes slideIn {
from { transform: translateX(400px); }
to { transform: translateX(0); }
}
.floating-grid {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image:
linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
background-size: 50px 50px;
pointer-events: none;
z-index: -1;
animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
from { transform: translate(0, 0); }
to { transform: translate(50px, 50px); }
}
.library-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
margin-top: 2rem;
}
.stat-card {
background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 170, 255, 0.1));
border: 1px solid rgba(0, 255, 136, 0.3);
border-radius: 12px;
padding: 1.5rem;
text-align: center;
}
.stat-number {
font-size: 2.5rem;
font-weight: bold;
color: #00ff88;
}
.stat-label {
color: #888;
margin-top: 0.5rem;
}
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.05);
border-radius: 4px;
}
::-webkit-scrollbar-thumb {
background: rgba(0, 255, 136, 0.3);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(0, 255, 136, 0.5);
}
.leaderboard-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.9);
backdrop-filter: blur(10px);
display: none;
z-index: 2000;
overflow-y: auto;
}
.leaderboard-container {
max-width: 1200px;
margin: 2rem auto;
padding: 2rem;
}
.leaderboard-header {
text-align: center;
margin-bottom: 3rem;
}
.leaderboard-title {
font-size: 3rem;
background: linear-gradient(135deg, #ffd700, #ff6b6b, #00ff88);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 1rem;
animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
0%, 100% { filter: brightness(1); }
50% { filter: brightness(1.3); }
}
.close-button {
position: absolute;
top: 2rem;
right: 2rem;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 50%;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 1.5rem;
transition: all 0.3s ease;
}
.close-button:hover {
background: rgba(255, 255, 255, 0.2);
transform: rotate(90deg);
}
.leaderboard-tabs {
display: flex;
justify-content: center;
gap: 1rem;
margin-bottom: 2rem;
}
.leaderboard-tab {
padding: 0.8rem 2rem;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
cursor: pointer;
transition: all 0.3s ease;
}
.leaderboard-tab:hover {
background: rgba(255, 255, 255, 0.1);
}
.leaderboard-tab.active {
background: linear-gradient(135deg, #ff00ff, #00ff88);
border-color: transparent;
}
.rankings {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
padding: 2rem;
margin-bottom: 2rem;
}
.rank-item {
display: flex;
align-items: center;
padding: 1rem;
margin-bottom: 1rem;
background: rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
transition: all 0.3s ease;
}
.rank-item:hover {
transform: translateX(10px);
border-color: #00ff88;
}
.rank-number {
font-size: 2rem;
font-weight: bold;
width: 60px;
text-align: center;
}
.rank-1 { color: #ffd700; }
.rank-2 { color: #c0c0c0; }
.rank-3 { color: #cd7f32; }
.rank-user {
flex: 1;
margin-left: 1rem;
}
.rank-username {
font-size: 1.2rem;
font-weight: bold;
color: #00aaff;
}
.rank-stats {
display: flex;
gap: 2rem;
margin-top: 0.5rem;
font-size: 0.9rem;
color: #888;
}
.rank-score {
font-size: 1.5rem;
font-weight: bold;
color: #00ff88;
margin-left: auto;
}
.achievements {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1rem;
margin-top: 2rem;
}
.achievement-card {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 1.5rem;
text-align: center;
transition: all 0.3s ease;
}
.achievement-card:hover {
transform: translateY(-5px);
border-color: #ffd700;
box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}
.achievement-icon {
font-size: 3rem;
margin-bottom: 1rem;
}
.achievement-title {
color: #ffd700;
font-weight: bold;
margin-bottom: 0.5rem;
}
.achievement-user {
color: #00aaff;
font-size: 1.1rem;
}
.timeline-section {
background: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
padding: 2rem;
margin-top: 2rem;
}
.timeline-item {
position: relative;
padding-left: 3rem;
padding-bottom: 2rem;
border-left: 2px solid rgba(0, 255, 136, 0.3);
}
.timeline-item:last-child {
border-left: none;
padding-bottom: 0;
}
.timeline-dot {
position: absolute;
left: -8px;
top: 0;
width: 16px;
height: 16px;
background: #00ff88;
border-radius: 50%;
box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}
.timeline-content {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 1rem;
}
.timeline-date {
color: #666;
font-size: 0.8rem;
margin-bottom: 0.5rem;
}
.timeline-event {
color: #00aaff;
font-weight: bold;
}
/* Requests & Challenges Styles */
.requests-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.9);
backdrop-filter: blur(10px);
display: none;
z-index: 2000;
overflow-y: auto;
}
.requests-container {
max-width: 1200px;
margin: 2rem auto;
padding: 2rem;
}
.requests-header {
text-align: center;
margin-bottom: 3rem;
}
.requests-title {
font-size: 3rem;
background: linear-gradient(135deg, #ff6b6b, #ffd700, #00ff88);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 1rem;
animation: pulse 2s ease-in-out infinite;
}
.daily-challenge {
background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 107, 0.1));
border: 2px solid #ffd700;
border-radius: 20px;
padding: 2rem;
margin-bottom: 3rem;
text-align: center;
position: relative;
overflow: hidden;
}
.daily-challenge::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
animation: rotate 20s linear infinite;
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.challenge-title {
font-size: 2rem;
color: #ffd700;
margin-bottom: 1rem;
position: relative;
z-index: 1;
}
.challenge-description {
font-size: 1.2rem;
color: #e0e0e0;
margin-bottom: 1rem;
position: relative;
z-index: 1;
}
.challenge-reward {
background: rgba(255, 215, 0, 0.2);
border: 1px solid #ffd700;
border-radius: 20px;
padding: 0.5rem 1.5rem;
display: inline-block;
font-weight: bold;
color: #ffd700;
position: relative;
z-index: 1;
}
.challenge-timer {
margin-top: 1rem;
font-size: 1.5rem;
color: #ff6b6b;
font-weight: bold;
position: relative;
z-index: 1;
}
.requests-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin-bottom: 2rem;
}
@media (max-width: 968px) {
.requests-grid {
grid-template-columns: 1fr;
}
}
.request-form {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
padding: 2rem;
}
.request-list {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
padding: 2rem;
}
.request-item {
background: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 1.5rem;
margin-bottom: 1rem;
transition: all 0.3s ease;
}
.request-item:hover {
transform: translateY(-2px);
border-color: #ffd700;
box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}
.request-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
}
.request-model {
font-size: 1.2rem;
font-weight: bold;
color: #ffd700;
}
.request-votes {
display: flex;
align-items: center;
gap: 1rem;
}
.vote-count {
background: rgba(0, 255, 136, 0.2);
color: #00ff88;
padding: 0.3rem 0.8rem;
border-radius: 20px;
font-weight: bold;
}
.vote-button {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
color: #e0e0e0;
padding: 0.3rem 1rem;
border-radius: 20px;
cursor: pointer;
transition: all 0.3s ease;
font-size: 0.9rem;
}
.vote-button:hover {
background: rgba(0, 255, 136, 0.2);
border-color: #00ff88;
color: #00ff88;
}
.vote-button.voted {
background: rgba(0, 255, 136, 0.3);
border-color: #00ff88;
color: #00ff88;
}
.request-description {
color: #888;
margin-bottom: 0.5rem;
}
.request-meta {
display: flex;
justify-content: space-between;
align-items: center;
color: #666;
font-size: 0.9rem;
}
.bounty-badge {
background: linear-gradient(135deg, #ffd700, #ff6b6b);
color: #000;
padding: 0.2rem 0.8rem;
border-radius: 20px;
font-weight: bold;
font-size: 0.8rem;
}
.trending-indicator {
display: flex;
align-items: center;
gap: 0.3rem;
color: #ff6b6b;
font-weight: bold;
}
.filter-tabs {
display: flex;
gap: 1rem;
margin-bottom: 1.5rem;
flex-wrap: wrap;
}
.filter-tab {
padding: 0.5rem 1rem;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
cursor: pointer;
transition: all 0.3s ease;
font-size: 0.9rem;
}
.filter-tab:hover {
background: rgba(255, 255, 255, 0.1);
}
.filter-tab.active {
background: linear-gradient(135deg, #ff6b6b, #ffd700);
border-color: transparent;
color: #000;
font-weight: bold;
}
/* Chat System Styles */
.chat-panel {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 400px;
height: 500px;
background: rgba(0, 0, 0, 0.95);
border: 2px solid #00ffff;
border-radius: 15px;
z-index: 1000;
display: flex;
flex-direction: column;
box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}
.chat-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px;
background: linear-gradient(135deg, #00ffff, #ff00ff);
border-radius: 13px 13px 0 0;
color: #000;
}
.chat-header h3 {
margin: 0;
font-size: 1.1rem;
}
.close-btn {
background: none;
border: none;
color: #000;
font-size: 1.5rem;
cursor: pointer;
padding: 0;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
}
.chat-messages {
flex: 1;
padding: 15px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 10px;
}
.chat-message {
padding: 10px;
border-radius: 10px;
max-width: 80%;
word-wrap: break-word;
}
.user-message {
background: linear-gradient(135deg, #00ffff, #0080ff);
color: #000;
align-self: flex-end;
}
.bot-message {
background: linear-gradient(135deg, #ff00ff, #8000ff);
color: #fff;
align-self: flex-start;
}
.system-message {
background: rgba(255, 255, 255, 0.1);
color: #00ffff;
align-self: center;
text-align: center;
font-style: italic;
}
.message-header {
display: flex;
justify-content: space-between;
font-size: 0.8rem;
margin-bottom: 5px;
opacity: 0.8;
}
.message-content {
font-size: 0.9rem;
line-height: 1.4;
}
.chat-input-container {
display: flex;
padding: 15px;
gap: 10px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.chat-input-container input {
flex: 1;
padding: 10px;
background: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 8px;
color: #fff;
}
.send-btn {
padding: 10px 15px;
background: linear-gradient(135deg, #00ffff, #ff00ff);
border: none;
border-radius: 8px;
color: #000;
cursor: pointer;
font-weight: bold;
}
.chat-users {
padding: 10px 15px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
font-size: 0.8rem;
}
.online-indicator {
color: #00ff00;
margin-bottom: 5px;
}
.users-list {
display: flex;
flex-wrap: wrap;
gap: 5px;
}
.online-user {
background: rgba(0, 255, 0, 0.2);
padding: 2px 8px;
border-radius: 10px;
font-size: 0.7rem;
}
/* Achievement Notification Styles */
.achievement-notification {
position: fixed;
top: 20px;
right: 20px;
width: 350px;
background: linear-gradient(135deg, #ffd700, #ff6b6b);
border: 2px solid #fff;
border-radius: 15px;
padding: 20px;
z-index: 1001;
transform: translateX(400px);
transition: transform 0.5s ease;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.achievement-notification.show {
transform: translateX(0);
}
.achievement-content {
display: flex;
align-items: center;
gap: 15px;
}
.achievement-icon {
font-size: 3rem;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.achievement-info h4 {
margin: 0 0 5px 0;
color: #000;
font-size: 0.9rem;
opacity: 0.8;
}
.achievement-info h3 {
margin: 0 0 5px 0;
color: #000;
font-size: 1.2rem;
font-weight: bold;
}
.achievement-info p {
margin: 0 0 8px 0;
color: #000;
font-size: 0.9rem;
}
.points-earned {
background: rgba(0, 0, 0, 0.2);
color: #000;
padding: 3px 8px;
border-radius: 10px;
font-size: 0.8rem;
font-weight: bold;
}
/* Advanced Comparison Styles */
.comparison-header {
text-align: center;
margin-bottom: 20px;
}
.confidence-meter {
position: relative;
height: 30px;
background: rgba(0, 0, 0, 0.3);
border-radius: 15px;
margin: 15px 0;
overflow: hidden;
}
.confidence-bar {
height: 100%;
background: linear-gradient(90deg, #ff0000, #ffff00, #00ff00);
transition: width 1s ease;
}
.confidence-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #fff;
font-weight: bold;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.analysis-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
margin: 20px 0;
}
.analysis-item {
background: rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 10px;
padding: 15px;
text-align: center;
}
.analysis-item h4 {
margin: 0 0 10px 0;
color: #00ffff;
font-size: 1rem;
}
.metric-bar {
position: relative;
height: 20px;
background: rgba(0, 0, 0, 0.5);
border-radius: 10px;
margin: 10px 0;
overflow: hidden;
}
.metric-fill {
height: 100%;
background: linear-gradient(90deg, #ff0000, #ffff00, #00ff00);
transition: width 1s ease;
}
.metric-bar span {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: #fff;
font-size: 0.8rem;
font-weight: bold;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
.analysis-item p {
margin: 5px 0 0 0;
color: #888;
font-size: 0.8rem;
}
.verification-recommendation {
background: rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 10px;
padding: 15px;
margin-top: 20px;
text-align: center;
}
.verification-recommendation h4 {
margin: 0 0 10px 0;
color: #00ffff;
}
.verification-recommendation p {
margin: 0;
color: #fff;
font-size: 1rem;
}
/* Enhanced Button Styles */
.enhanced-btn {
background: linear-gradient(135deg, #00ffff, #ff00ff);
border: none;
border-radius: 8px;
color: #000;
padding: 12px 24px;
font-weight: bold;
cursor: pointer;
transition: all 0.3s ease;
text-transform: uppercase;
letter-spacing: 1px;
}
.enhanced-btn:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}
.enhanced-btn:active {
transform: translateY(0);
}
/* Responsive Design for New Features */
@media (max-width: 768px) {
.chat-panel {
width: 90vw;
height: 70vh;
}
.achievement-notification {
width: 90vw;
right: 5vw;
}
.analysis-grid {
grid-template-columns: 1fr;
}
.enhanced-btn {
padding: 10px 20px;
font-size: 0.9rem;
}
}