/*
 * Stanovištia, úle, včelstvá, matky, nastavenia: doplnky nad pages.css (funkčné formuláre, filtre, mapa).
 * Len tokeny --hv-*; dotykové plochy >= 44 px.
 */

/* ---------- Hlásenia (flash) ---------- */
.hv-callout--ok {
    background: var(--hv-ok-bg);
    box-shadow: inset 0 0 0 1px rgb(4 120 87 / 25%);
}

/* ---------- Formuláre ---------- */
.hv-field__error {
    margin: 0;
    color: var(--hv-bad);
    font-size: var(--hv-text-sm);
    font-weight: 600;
}

.hv-field__help {
    color: var(--hv-ink-subtle);
    font-size: var(--hv-text-xs);
    font-weight: 400;
}

.hv-fieldset {
    display: flex;
    flex-direction: column;
    gap: var(--hv-space-2);
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.hv-fieldset > legend {
    float: none;
    width: auto;
    margin: 0 0 var(--hv-space-1);
    padding: 0;
    color: var(--hv-stone-700);
    font-size: 13px;
    font-weight: 600;
}

.hv-check {
    display: flex;
    align-items: center;
    gap: var(--hv-space-3);
    min-height: 44px;
    font-weight: 500;
}

.hv-check input {
    flex: none;
    width: 20px;
    height: 20px;
    accent-color: var(--hv-ink);
}

.hv-form-errors {
    display: flex;
    flex-direction: column;
    gap: var(--hv-space-2);
}

/* ---------- Filtre ako odkazy ---------- */
.hv a.hv-pill {
    text-decoration: none;
}

.hv a.hv-pill[aria-current='true'] {
    background: var(--hv-ink);
    box-shadow: none;
    color: #fff;
    font-weight: 600;
}

.hv a.hv-year-chip {
    text-decoration: none;
    color: inherit;
}

.hv-year-chip[aria-current='true'] {
    background: var(--hv-ink);
    color: #fff;
}

.hv-searchbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--hv-space-2);
}

.hv-searchbar .hv-input {
    flex: 1 1 220px;
    width: auto;
    min-height: 44px;
}

/* ---------- Stanovištia: mapa so skutočnými značkami ---------- */
.hv-map__pin--at {
    top: var(--y);
    left: var(--x);
    transform: translate(-50%, -50%);
}

.hv-map__empty {
    position: absolute;
    right: var(--hv-space-4);
    bottom: var(--hv-space-4);
    left: var(--hv-space-4);
    color: var(--hv-ink-muted);
    font-size: var(--hv-text-sm);
}

/* ---------- Bočný panel: používateľ ---------- */
.hv-side__user {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hv-side__user-name {
    color: var(--hv-ink);
    font-size: var(--hv-text-sm);
    font-weight: 600;
}

.hv-side__foot a {
    color: var(--hv-accent-ink);
}

/* ---------- Tabuľka úľov: akcie v riadku ---------- */
.hv-hive-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hv-space-2);
}

/* ---------- Detail včelstva ---------- */
.hv-lifecycle-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--hv-space-2);
}

.hv-queen-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--hv-space-2);
}

/* ---------- Nastavenia ---------- */
.hv-settings-lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--hv-space-3);
    padding: var(--hv-space-3) var(--hv-space-4);
}

.hv-settings-lang .hv-lang a {
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
}

.hv-inline-form {
    display: inline;
    margin: 0;
}

.hv-btn-link {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    color: var(--hv-accent-ink);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}
