/* static/css/style.css */
:root {
    --border-color: #999;
    --bg-light: #f8f9fa;
    --header-bg: #e2e6ea;
}
* {
    box-sizing: border-box;
    transition: none !important;
    animation: none !important;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 10px;
    background-color: #fff;
    color: #333;
    display: flex;
    flex-direction: column;
    height: 100vh;
}
.header {
    background: #333;
    color: white;
    padding: 10px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header button {
    background: #555;
    color: white;
    border: 1px solid #777;
    cursor: pointer;
    padding: 4px 10px;
}
.header button:hover { background: #666; }
.main-container {
    display: flex;
    flex: 1;
    gap: 10px;
    margin-top: 10px;
    overflow: hidden;
}
.panel {
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.panel-header {
    background-color: var(--header-bg);
    padding: 5px;
    font-weight: bold;
    border-bottom: 1px solid var(--border-color);
}
.left-col { width: 350px; }
.center-col { flex: 1; padding: 10px; display: flex; flex-direction: column;}
.right-col { width: 400px; }

/* Tables and Forms */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
th, td {
    border: 1px solid var(--border-color);
    padding: 4px;
    text-align: left;
}
th { background-color: #eee; }
input, select, button {
    font-family: inherit;
    font-size: 12px;
    padding: 2px;
}
.form-group {
    padding: 5px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-light);
}
pre {
    font-family: Consolas, monospace;
    font-size: 12px;
    white-space: pre-wrap;
    background: var(--bg-light);
    padding: 10px;
    border: 1px solid var(--border-color);
    margin: 5px;
}
#diagram-img {
    max-width: 100%;
    border: 1px solid var(--border-color);
    background: #fff;
    margin-bottom: 10px;
}
/* Results Column Styling */
.res-box {
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    padding: 10px;
    margin-bottom: 10px;
    overflow-y: auto;
    font-family: Consolas, monospace;
    font-size: 13px;
    white-space: pre-wrap;
    word-break: break-all;
}
.res-global {
    background: #eef2f5;
    font-weight: bold;
    color: #333;
}
.beam-header {
    background-color: #333333;
    color: white;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 11px;
    padding: 4px;
    margin-top: 15px;
    margin-bottom: 8px;
    text-align: center;
    border-radius: 2px;
}
.section-header {
    color: #555555;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 11px;
    margin-top: 8px;
    margin-bottom: 2px;
}
.moment-eq { color: #0052cc; font-weight: bold; margin-left: 10px; }
.shear-eq { color: #d62728; font-weight: bold; margin-left: 10px; }
.axial-eq { color: #2ca02c; font-weight: bold; margin-left: 10px; }
.node-header { font-weight: bold; margin-top: 8px; text-decoration: underline; color: #111; }
.react-item { margin-left: 10px; color: #444; }