.container .section {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h1, h2 {
    text-align: center;
    margin-bottom: 20px;
}
.section {
    margin: 20px 0;
}
.section .layer, .section .input-config {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: .25em;
    margin-bottom: .25em;
}
.section .layer input, .section .layer select, .section .input-config input, .section .input-config select {
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    width: auto;
}
.layer .btn {
    margin-left: auto;
}
.layers {
    margin-top: 20px;
}
.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.next-section-buttons {
    margin-top: 1em;
    margin-bottom: 1em;
    text-align: right;
}
#model-summary {
    white-space: pre-wrap;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ced4da;
}
#loss-plot {
    height: 400px;
}
#progress-bar-container {
    width: 100%;
    background-color: #f3f3f3;
    margin: 20px 0;
    border-radius: 4px;
    overflow: hidden;
}
#progress-bar {
    width: 0;
    height: 30px;
    background-color: #4caf50;
    text-align: center;
    line-height: 30px;
    color: white;
    transition: width 0.3s ease;
}
#synthetic-histogram {
    height: 400px;
}
.table-responsive {
    margin-top: 20px;
}
.table th, .table td {
    text-align: center;
    padding: 15px;
}
.controls button:hover {
    background-color: #0056b3;
}
.controls .form-control {
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}
.selected {
    border: 2px solid blue;
}
.disabled {
    pointer-events: none;
    background-color: lightgrey;
}
.probability-display {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}
.best-probability-indicator {
    width: 10px;
    height: 10px;
    background-color: blue;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    right: 5px;
}
td {
    position: relative;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}
th {
    text-align: center;
}
table th, table td {
    border-radius: 0.25rem;
}