/* Global */

body {
    font-size: 1em;
    color: black;
    font-family: verdana;
    margin: 0;
    padding: 10px;
}

/* Headings */

label {
    font-weight: 400;
}

.strong {
    font-weight: bold;
}

h1 {
    font-weight: bold;
    font-size: 1.5em;
    color: rgb(180, 138, 31);
}

h2 {
    font-size: 1.25em;
    font-weight: bold;
}

h3 {
    font-size: 1em;
    font-weight: bold;
}

h4 {
    font-size: 0.75em;
    font-weight: bold;
}

p {
    font-size: 1em;
    margin: 6px 0;
}

p.compact {
    margin-bottom: 8px;
}

label.compact {
    display: inline-block;
    margin-top: 8px;
}

/* Links */

a {
    color: #2c7be5;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Inputs & Controls */

/* ✅ ONLY affect table controls */
table input,
table select,
table textarea {
    cursor: pointer;
    font-family: inherit;
    font-size: 1em;
}

/* ✅ Monospace for navigation data (table only) */
table td,
table input.grid,
table select {
    font-family: monospace;
}

/* ✅ Restore normal UI dropdown */
#loadDemo {
    font-family: inherit;
    font-size: 0.75em;
}

input[type="text"] {
    background-color: #c8f2b2;
    border: 1px solid black;
    margin: 1px;
}

input::placeholder {
    color: green;
    font-size: 0.85em;
    font-style: italic;
}

/* Input alignment */

.align-left {
    text-align: left !important;
}
.align-center {
    text-align: center !important;
}
.align-right {
    text-align: right !important;
}

/* Checkbox accent */

#autoRows {
    accent-color: #2e8b57;
}

/* Dropdowns (visual styling only, not font) */

select {
    background-color: #c8f2b2;
}

/* Tables */

table {
    border-collapse: collapse;
    width: 65%;
    max-width: 100%;
    border: 1px solid black;
    text-align: center;
    font-size: 1.1em;
}

thead {
    font-size: 0.9em;
    color: rgb(180, 138, 31);
}

th {
    font-weight: bold;
}

tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

tbody tr:nth-child(even) {
    background-color: #eeeeee;
}

td {
    padding: 2px;
    text-align: center;
    border: 1px solid black;
    font-family: inherit;
    font-size: 1em;
}

/* Messages */

.error {
    background-color: #ffe6e6;
    border: 1px solid #cc0000;
}

.message {
    font-size: 12px;
    line-height: 1.2;
    padding: 2px 6px;
    margin-left: 6px;
    border: 1px solid transparent;
    border-radius: 4px;
    display: inline-block;
}

.message.error {
    color: #b00020;
    background: #ffecec;
    border-color: #f5c2c7;
}

.message.warn {
    color: #856404;
    background: #fff3cd;
    border-color: #ffeeba;
}

.message.info {
    color: #0c5460;
    background: #d1ecf1;
    border-color: #bee5eb;
}

.message.success {
    color: #155724;
    background: #d4edda;
    border-color: #c3e6cb;
}

.message.gma-east {
    color: #155724;
    background: #d4edda;
    border-color: #c3e6cb;
}

.message.gma-west {
    color: #856404;
    background: #fff3cd;
    border-color: #ffeeba;
}

.message.gma-neutral {
    color: #555;
    background: #eee;
    border-color: #ccc;
}

/* Map */

.map {
    display: none;
}

#mapdiv {
    width: 100%;
    height: 500px;
    border: 1px solid rgb(180, 138, 31);
}

#mapdivs {
    margin-top: 10px;
}

/* Log */

#logs {
    display: none;
    margin-top: 10px;
}

#log,
#filecontents {
    width: 65%;
    display: block;
    background: #111;
    color: #0f0;
    padding: 8px;
    font-size: 12px;
    font-family: monospace;
    white-space: pre-wrap;
    overflow-y: auto;
    overflow-x: auto;
    border: 1px solid #444;
    margin-bottom: 10px;
}

#log {
    height: 300px;
}

#filecontents {
    height: 200px;
}