body.chartParametersForm {
    text-align: center;
    margin: 0 auto;
    max-width: 1200px;
    padding: 1rem;
}

.chart-parameters-form fieldset {
    margin-bottom: 2rem;
    border: 1px solid #ccc;
    padding: 1rem;
    border-radius: 8px;
}

.chart-parameters-form legend {
    font-weight: bold;
    font-size: 1.1em;
}

.header-center {
    flex: 2;
    text-align: center;
}

.header-center h3,
.header-center h4 {
    margin: 0;
    line-height: 1.2;
}

.success-msg {
    color: green;
    font-weight: bold;
    margin: 10px auto;
    text-align: center;
}

.error {
    color: red;
    font-weight: bold;
    margin-top: 5px;
}

/* Responsive input grid */
.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px 20px;
    text-align: left;
    justify-items: center;
}

/* Label/input pair styling */
.input-pair {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.input-pair label {
    font-weight: 500;
    margin-bottom: 4px;
}

select,
input[type="number"] {
    width: 100%;
    max-width: 140px;
}

/* Multi-column dropdown layout for aspect classification */
.aspect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px 20px;
    margin-top: 1rem;
}

.aspect-grid .input-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

input[type="submit"],
button[type="submit"] {
    margin: 0.5rem 1rem;
    padding: 0.4rem 1rem;
    font-size: 1rem;
}

/*
body.chartParametersForm {
	text-align: center;
	margin: 0 auto;
	max-width: 1200px;
}

.chart-parameters-form fieldset {
  margin-bottom: 2rem;
}

#chartParametersForm legend {
	font-weight: bold ;
}

.header-center {
    flex: 2;
    text-align: center;
}

.header-center h3,
.header-center h4 {
    margin: 0;
    line-height: 1.2;
}

.success-msg {
    color: green;
    font-weight: bold;
    margin: 10px auto;
    text-align: center;
}

.error { color: red; font-weight: bold; margin-top: 5px; }
*/