/* =========================
   DIREKTE REKVISISJON
========================= */

.direkte-rek-box {
    position: relative;
    width: min(92vw, 420px);
}

.direkte-rek-topp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.direkte-rek-topp h2 {
    margin: 0;
}

.direkte-rek-lukk {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.direkte-rek-lukk:hover {
    background: #253047;
}

.direkte-rek-stegtekst {
    margin-bottom: 10px;
    color: #94a3b8;
    font-size: 13px;
}

.direkte-rek-steg[hidden] {
    display: none;
}

.direkte-rek-steg {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 115px;
}

.direkte-rek-steg label {
    color: #e2e8f0;
    font-weight: 700;
}

.direkte-rek-steg input,
.direkte-rek-steg select {
    width: 100%;
    min-height: 48px;
    padding: 11px 12px;
    background: #020617;
    color: #fff;
    border: 1px solid #36415d;
    border-radius: 8px;
    font-size: 16px;
}

.direkte-rek-navigasjon {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.direkte-rek-navigasjon[hidden] {
    display: none;
}

.direkte-rek-navigasjon button {
    width: auto;
    min-width: 110px;
}

.direkte-rek-neste {
    margin-left: auto;
    background: #2563eb !important;
    border-color: #2563eb !important;
}

.direkte-rek-neste:hover {
    background: #1d4ed8 !important;
}

.direkte-rek-lagreknapper {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 10px;
    margin-top: 14px;
}

.direkte-rek-lagreknapper[hidden] {
    display: none;
}

.direkte-rek-avslutt {
    background: #2563eb !important;
    border-color: #2563eb !important;
}

.direkte-rek-sammendrag {
    margin-top: 10px;
    padding: 10px;
    background: #0b1222;
    border: 1px solid #27334c;
    border-radius: 8px;
    color: #cbd5e1;
    line-height: 1.55;
}

.direkte-rek-feil,
.direkte-rek-bekreftelse {
    margin-top: 10px;
    padding: 9px 10px;
    border-radius: 7px;
    font-size: 13px;
}

.direkte-rek-feil {
    background: #461f25;
    color: #ffd0d4;
    border: 1px solid #7a353d;
}

.direkte-rek-bekreftelse {
    background: #173d2b;
    color: #c8ffe2;
    border: 1px solid #2b7652;
}

.direkte-rek-feil[hidden],
.direkte-rek-bekreftelse[hidden] {
    display: none;
}

@media (max-width: 500px) {
    .direkte-rek-lagreknapper {
        grid-template-columns: 1fr;
    }
}