172 lines
3.0 KiB
CSS
172 lines
3.0 KiB
CSS
.collection-analysis {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
margin: 20px 0;
|
|
color: white;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.collection-analysis h3 {
|
|
margin: 0 0 20px 0;
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
text-align: center;
|
|
}
|
|
|
|
.analysis-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
gap: 16px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.stat-card {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
backdrop-filter: blur(10px);
|
|
border-radius: 12px;
|
|
padding: 16px;
|
|
text-align: center;
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 2rem;
|
|
font-weight: bold;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.9rem;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.rarity-distribution {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.rarity-distribution h4 {
|
|
margin: 0 0 16px 0;
|
|
font-size: 1.2rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.rarity-bars {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.rarity-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.rarity-name {
|
|
min-width: 80px;
|
|
font-weight: 500;
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.bar-container {
|
|
flex: 1;
|
|
height: 20px;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.bar {
|
|
height: 100%;
|
|
border-radius: 10px;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
.bar-common { background: linear-gradient(90deg, #4CAF50, #45a049); }
|
|
.bar-rare { background: linear-gradient(90deg, #2196F3, #1976D2); }
|
|
.bar-epic { background: linear-gradient(90deg, #9C27B0, #7B1FA2); }
|
|
.bar-legendary { background: linear-gradient(90deg, #FF9800, #F57C00); }
|
|
.bar-mythic { background: linear-gradient(90deg, #F44336, #D32F2F); }
|
|
|
|
.rarity-count {
|
|
min-width: 40px;
|
|
text-align: right;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.recommendations {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 12px;
|
|
padding: 16px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.recommendations h4 {
|
|
margin: 0 0 12px 0;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.recommendations ul {
|
|
margin: 0;
|
|
padding-left: 20px;
|
|
}
|
|
|
|
.recommendations li {
|
|
margin-bottom: 8px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.refresh-analysis,
|
|
.analyze-button,
|
|
.retry-button {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
color: white;
|
|
border-radius: 8px;
|
|
padding: 12px 24px;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.refresh-analysis:hover,
|
|
.analyze-button:hover,
|
|
.retry-button:hover {
|
|
background: rgba(255, 255, 255, 0.3);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.analysis-loading,
|
|
.analysis-error,
|
|
.analysis-empty {
|
|
text-align: center;
|
|
padding: 40px 20px;
|
|
}
|
|
|
|
.loading-spinner {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 3px solid rgba(255, 255, 255, 0.3);
|
|
border-top: 3px solid white;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
margin: 0 auto 16px;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
.analysis-error p {
|
|
color: #ffcdd2;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.analysis-empty p {
|
|
opacity: 0.8;
|
|
margin-bottom: 16px;
|
|
} |