/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #eaecef;
    color: #333;
    margin: 0;
    padding: 20px;
}

h2, h3 {
    color: #4a5568;
}

/* Containers and Layout */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.column {
    flex: 50%;
    padding: 15px;
}

/* Network and Belief Graph Styling */
#network, #cy {
    border: 2px solid #cbd5e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Form Elements */
input[type="number"], select, button {
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    border: 1px solid #cbd5e0;
    background-color: #f8fafc;
    font-size: 16px;
}

button {
    background-color: #4c51bf;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #2c5282;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.box {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.05);
}

/* Highlighting and Interactivity */
.selected {
    fill: #2c5282;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .column {
        flex: 100%;
    }
}

h5 {
    font-size: 14px; /* Slightly smaller than the body text for distinction */
    color: #4e0e57; /* A softer color for readability */
    margin-top: 10px; /* Add some space above the h5 */
    margin-bottom: 10px; /* Add some space below the h5 */
    line-height: 1.6; /* Increased line height for easier reading */
    font-weight: normal; /* Optional: Adjust weight if needed */
    font-family: cursive;
}
