/* calc — modest styling for the ward's two clinical calculators.
 * Body palette is deliberately plain; the shared header/footer come from
 * oiomek_core (oc- classes) and are not styled here. */

.calc-body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Arial', system-ui, sans-serif;
    line-height: 1.6;
    color: #1a2330;
    background-color: #ffffff;
}

.calc-main {
    flex: 1;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1.25rem;
    box-sizing: border-box;
}

.calc-main h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.calc-main h2 {
    font-size: 1.2rem;
    margin: 0 0 0.75rem;
}

/* Landing */
.calc-lead {
    color: #45525e;
    max-width: 640px;
}

.calc-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.calc-tool {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #d4dae3;
    border-radius: 8px;
    padding: 1.25rem;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.calc-tool:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.calc-tool h2 {
    color: #32487b;
}

.calc-tool p {
    margin: 0;
    color: #45525e;
}

/* Calculator forms (kept close to the original, slightly cleaned up) */
.input-group,
.mixture-group,
.results,
.expected-calculations {
    margin-bottom: 1.25rem;
    background-color: #fff3e0;
    padding: 1rem;
    border-radius: 6px;
}

.info-box {
    margin-bottom: 1.25rem;
    background-color: #e3f2fd;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #2196f3;
}

.info-box p {
    margin: 0.5rem 0;
    font-size: 0.8rem;
}

label {
    display: inline-block;
    width: 220px;
}

input,
select {
    width: 150px;
}

.mixture-params {
    margin-left: 20px;
}

#result {
    font-weight: bold;
    margin-top: 1.25rem;
    font-size: 1.1rem;
}
