/* Weerstation Kaulille - NOAA reports page (noaareports.html): report card and its controls */

.card {
    padding: 18px 20px 22px;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.controls h2 {
    margin: 0 auto 0 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--blue-dark);
}

select,
.step {
    font: inherit;
    font-size: .95rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 7px 10px;
    cursor: pointer;
}

select:focus-visible,
.step:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 1px;
}

.step {
    width: 38px;
    padding: 7px 0;
    text-align: center;
    background: var(--blue-soft);
    border-color: transparent;
    color: var(--blue-dark);
    font-weight: 700;
}

.step:hover:not(:disabled) {
    background: var(--blue);
    color: #fff;
}

.step:disabled {
    opacity: .35;
    cursor: default;
}

.report {
    overflow-x: auto;
    background: #f7fafe;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 4px 20px;
}

pre {
    margin: 16px 0;
    font-family: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
    font-size: .95rem;
    line-height: 1.35;
    color: var(--ink);
}

@media (max-width: 640px) {
    .controls h2 {
        flex-basis: 100%;
    }

    .report {
        padding: 4px 12px;
    }
}

.msg {
    text-align: center;
    color: var(--muted);
    padding: 40px 0;
    margin: 0;
}
