govorov/frontend/src/pages/CalculationResult.module.css

80 lines
1.2 KiB
CSS

.resultContainer {
max-width: 1000px;
margin: 0 auto;
}
.section {
margin-bottom: 2rem;
padding: 1.5rem;
background: white;
border-radius: 8px;
box-shadow: 0 2px 4px var(--shadow-color);
}
.sectionTitle {
font-size: 1.25rem;
color: var(--primary-color);
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid var(--secondary-color);
}
.detailGrid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 1rem;
margin-bottom: 1.5rem;
}
.detailItem {
padding: 1rem;
background: var(--background-color);
border-radius: 4px;
}
.detailLabel {
font-weight: 500;
color: var(--text-color);
margin-bottom: 0.5rem;
}
.detailValue {
color: var(--secondary-color);
font-size: 1.1rem;
}
.visualizationContainer {
aspect-ratio: 16/9;
width: 100%;
max-height: 600px;
border: 1px solid var(--border-color);
border-radius: 4px;
overflow: hidden;
}
.jsonViewer {
background: var(--background-color);
padding: 1rem;
border-radius: 4px;
overflow-x: auto;
}
.loading,
.error {
text-align: center;
padding: 2rem;
}
.error {
color: var(--error-color);
}
@media (max-width: 768px) {
.section {
padding: 1rem;
}
.detailGrid {
grid-template-columns: 1fr;
}
}