
/* ====================================================
   COOP LØNKONTROL V2.1
   Design og brugerflade
   ==================================================== */

:root {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 15px;

    --wine: #8e2637;
    --wine-dark: #2b1119;
    --wine-mid: #51212b;
    --red: #bd303c;

    --background: #f5efeb;
    --surface: #fffdfc;
    --surface-soft: #fbf5f2;
    --surface-warm: #f2e8e2;

    --text: #29191d;
    --muted: #86716e;
    --border: #e4d7d2;

    --green: #28764b;
    --green-soft: #e5f1e9;
    --yellow: #a87211;

    --radius: 22px;
    --shadow: 0 12px 34px rgba(58, 31, 29, .055);

    color: var(--text);
    background: var(--background);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    line-height: 1.5;
}

body.overlay-open {
    overflow: hidden;
}

[hidden] {
    display: none !important;
}

a {
    color: var(--wine);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
.button {
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    min-height: 43px;
    padding: 11px 18px;

    border: 1px solid transparent;
    border-radius: 13px;

    background: var(--wine);
    color: #fff;

    font-size: 13px;
    font-weight: 750;
    line-height: 1.25;
    text-decoration: none;

    transition:
        background .16s ease,
        border-color .16s ease,
        transform .16s ease;
}

button:hover,
.button:hover {
    background: #741e2d;
    text-decoration: none;
}

button:active {
    transform: translateY(1px);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #d18a96;
    outline-offset: 2px;
}

button.secondary,
.button.secondary {
    background: #fff;
    border-color: #d8c9c6;
    color: var(--wine);
}

button.secondary:hover,
.button.secondary:hover {
    background: #f9efed;
}

button.ghost {
    background: transparent;
    color: var(--wine);
}

button.ghost:hover {
    background: var(--surface-warm);
}

button.danger {
    background: #bd303c;
    color: #fff;
}

button.danger:hover {
    background: #97212d;
}

button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* ====================================================
   SIDEBAR
   ==================================================== */

aside {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 10;

    width: 250px;
    height: 100vh;

    padding: 23px 19px;

    display: flex;
    flex-direction: column;
    gap: 30px;

    color: #fff;

    background: linear-gradient(
        160deg,
        #51252e 0%,
        #32151d 50%,
        #210e14 100%
    );

    border-right: 1px solid #ffffff16;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 12px;
    font-weight: 850;
    letter-spacing: 1.5px;
}

.brandmark {
    display: grid;
    place-items: center;

    flex: 0 0 41px;
    width: 41px;
    height: 41px;

    background: #fff;
    color: var(--wine-dark);

    border-radius: 50%;

    font-family: Georgia, serif;
    font-size: 15px;
}

.brand small {
    display: block;
    margin-top: 4px;

    color: #d6bec2;
    font-size: 11px;
    font-weight: 450;
    letter-spacing: 0;
}

nav {
    display: grid;
    gap: 10px;
}

nav a {
    display: flex;
    align-items: center;

    min-height: 45px;
    padding: 12px 15px;

    border: 1px solid #ffffff25;
    border-radius: 13px;

    color: #e7d4d6;
    font-size: 13px;
    font-weight: 650;

    transition: .16s;
}

nav a:hover {
    background: #ffffff12;
    color: #fff;
    text-decoration: none;
}

nav a.active {
    background: #fff;
    color: var(--wine-dark);
    border-color: #fff;
}

aside form {
    margin-top: auto;
}

aside .ghost {
    width: 100%;
    color: #ead4d7 !important;
    border: 1px solid #ffffff25;
}

aside .ghost:hover {
    background: #ffffff12;
}

/* ====================================================
   HOVEDLAYOUT
   ==================================================== */

.content {
    margin-left: 250px;
    padding: 27px 32px 85px;
    max-width: 2200px;
}

.content > header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    margin-bottom: 27px;
    padding-bottom: 18px;

    border-bottom: 1px solid var(--border);

    color: var(--muted);
    font-size: 13px;
}

.content > header strong {
    color: var(--wine);
}

.heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 24px;
}

.heading h1,
h1 {
    margin: 0 0 7px;

    font-size: clamp(33px, 3.1vw, 49px);
    font-weight: 850;
    letter-spacing: -2.2px;
    line-height: 1.08;
}

.heading h2,
h2 {
    margin: 0 0 15px;

    font-size: clamp(23px, 2vw, 31px);
    font-weight: 820;
    letter-spacing: -1.1px;
    line-height: 1.16;
}

h3 {
    font-size: 17px;
    line-height: 1.3;
}

.heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.eyebrow,
.section-overline {
    display: block;

    margin-bottom: 7px;

    color: var(--wine);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2.1px;
}

/* ====================================================
   KORT
   ==================================================== */

.panel {
    padding: 27px;
    margin-bottom: 22px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 27px;

    box-shadow: var(--shadow);
}

.enhanced-panel {
    overflow: visible;
}

.panel > h2:first-child {
    padding-bottom: 14px;
    border-bottom: 1px solid #eee4df;
}

.panel > p {
    line-height: 1.7;
}

.panel > p strong {
    color: var(--wine-dark);
}

.hint {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.panel > .hint:last-child {
    margin-top: 16px;

    padding: 13px 15px;
    border: 1px solid #e8dcd6;
    border-radius: 12px;

    background: var(--surface-soft);
}

/* ====================================================
   STATISTIK
   ==================================================== */

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;

    margin-bottom: 22px;
}

.stat {
    padding: 23px;
    min-width: 0;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 23px;

    box-shadow: var(--shadow);
}

.stat:first-child {
    background: var(--wine-dark);
    border-color: var(--wine-dark);
    color: #fff;
}

.stat small,
.item small {
    display: block;
    margin-bottom: 13px;

    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.stat:first-child small {
    color: #d9c0c5;
}

.stat b {
    display: block;

    font-size: clamp(24px, 2.4vw, 39px);
    letter-spacing: -1.5px;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

/* ====================================================
   KALENDER
   ==================================================== */

.calendar-panel {
    padding: 20px;
}

.monthbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

    padding: 3px 5px 19px;
}

.monthbar h2 {
    margin: 0;
    text-align: center;
}

.monthbar a {
    padding: 9px 12px;
    border: 1px solid #dfcecb;
    border-radius: 12px;

    font-size: 12px;
    font-weight: 750;
}

.monthbar a:hover {
    background: #f8eeeb;
    text-decoration: none;
}

.calendar {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
}

.weekdays,
.days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.weekdays div {
    padding: 14px 6px;
    text-align: center;

    background: var(--surface-soft);
    border-right: 1px solid var(--border);

    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.day {
    min-height: 119px;
    min-width: 0;

    padding: 8px;

    background: #fffdfc;
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);

    cursor: pointer;
    transition: background .15s;
}

.day:hover {
    background: #fff5f1;
}

.day.muted {
    background: #f5f0ed;
}

.datebutton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 29px;
    height: 29px;
    min-height: 29px;

    margin-bottom: 8px;
    padding: 0;

    color: var(--text);
    background: transparent;
    border-radius: 9px;

    font-size: 13px;
    font-weight: 850;
}

.datebutton:hover {
    background: #f0dfd9;
}

.event {
    display: block;
    width: 100%;
    min-height: 37px;
    margin: 4px 0;

    padding: 9px 8px;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    text-align: left;

    color: #fff;
    background: var(--wine);
    border-radius: 9px;

    font-size: 11px;
    font-weight: 700;
}

.event:hover {
    background: #711f2d;
}

.event.sick,
.event.sick_left {
    background: #b07720;
}

.event.holiday,
.event.holiday_extra {
    background: #69509d;
}

.event.free {
    background: #e6dad6;
    color: #60474a;
}

/* ====================================================
   FORMULARER
   ==================================================== */

.two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 20px;
}

label {
    display: grid;
    align-content: start;
    gap: 8px;

    margin-bottom: 17px;

    color: #862c3a;

    font-size: 12px;
    font-weight: 850;
    letter-spacing: .8px;
}

input,
select,
textarea {
    width: 100%;
    min-width: 0;
    min-height: 49px;

    padding: 12px 14px;

    color: var(--text);
    background: #fff;

    border: 1px solid #d8c8c5;
    border-radius: 12px;

    font-size: 14px;
    font-weight: 550;
    letter-spacing: 0;

    outline: none;
}

textarea {
    min-height: 85px;
    resize: vertical;
}

select {
    appearance: auto;
    -webkit-appearance: auto;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #a64b5c;
    box-shadow: 0 0 0 3px #a64b5c16;
}

input:disabled,
select:disabled {
    background: #f2ece9;
    color: #998b88;
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #493438;
    font-size: 13px;
    font-weight: 550;
    letter-spacing: 0;
}

.check input {
    flex: 0 0 auto;
    width: 18px;
    min-height: 18px;
    height: 18px;
    accent-color: var(--wine);
}

.actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.actions form {
    margin: 0;
}

/* ====================================================
   VAGTFORMULAREN
   ==================================================== */

#entryModal {
    z-index: 50;
}

#entryModal .modalbox {
    width: min(900px, 100%);
}

#entryModal .heading {
    padding-bottom: 19px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

#entryModal .heading h2 {
    font-size: clamp(27px, 3vw, 41px);
    letter-spacing: -1.6px;
}

#entryForm .form-section-heading {
    margin-bottom: 16px;
}

.form-section-heading strong {
    font-size: 18px;
    letter-spacing: -.45px;
}

#entryForm .shift-fields {
    padding: 21px 21px 5px;
    margin-bottom: 19px;

    background: var(--surface-soft);
    border: 1px solid #e3d6d1;
    border-radius: 18px;
}

#entryForm .shift-fields label {
    margin-bottom: 15px;
    align-self: stretch;
}

#entryForm .shift-fields input,
#entryForm .shift-fields select {
    min-height: 54px;
    height: 54px;

    padding: 13px 15px;

    background: #fff;
    border: 1px solid #d6c4c1;
    border-radius: 12px;

    color: var(--text);
    font-size: 16px;
    font-weight: 700;
}

#entryForm .shift-fields select {
    width: 100%;
    display: block;
}

#entryForm .shift-fields label[hidden] {
    display: none;
}

#entryForm > label:not(.check) {
    padding: 0 2px;
}

#entryForm > .check {
    padding: 13px 15px;
    margin-top: 8px;

    border: 1px solid var(--border);
    background: #fffaf8;
    border-radius: 12px;
}

#entryForm > .hint {
    padding: 12px 15px;
    background: #fff7ea;
    border: 1px solid #efdcb8;
    border-radius: 12px;
}

#entryForm > .actions {
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

/* ====================================================
   LIVE LØNBEREGNING
   ==================================================== */

.wage-preview {
    margin-top: 23px;

    border: 1px solid #e3d5d0;
    border-radius: 19px;
    overflow: hidden;

    background: #fff;
}

.wage-preview-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;

    padding: 21px 22px 18px;
}

.wage-preview-heading h3 {
    margin: 0 0 5px;

    font-size: 27px;
    font-weight: 850;
    letter-spacing: -1px;
}

.wage-preview-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.status-pill {
    display: inline-flex;
    align-items: center;

    padding: 8px 10px;
    border-radius: 30px;

    background: var(--green-soft);
    color: var(--green);

    font-size: 10px;
    font-weight: 900;
    letter-spacing: .65px;
    white-space: normal;
    text-align: center;
}

.wage-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;

    padding: 0 20px 20px;
}

.wage-metric {
    min-width: 0;
    padding: 15px;

    background: var(--surface-soft);
    border: 1px solid #e7dbd6;
    border-radius: 13px;
}

.wage-metric span {
    display: block;
    margin-bottom: 7px;

    color: var(--muted);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.1px;
}

.wage-metric strong {
    display: block;

    font-size: clamp(14px, 1.5vw, 19px);
    font-weight: 820;
    letter-spacing: -.4px;

    overflow-wrap: anywhere;
}

.wage-lines {
    margin: 0 20px 20px;

    border: 1px solid #e3d6d1;
    border-radius: 13px;
    overflow: hidden;
}

.wage-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;

    min-height: 68px;
    padding: 13px 17px;

    border-bottom: 1px solid #e8ddda;
}

.wage-line:last-child {
    border-bottom: 0;
}

.wage-line > div {
    min-width: 0;
}

.wage-line strong {
    font-size: 15px;
    font-weight: 800;
}

.wage-line > strong {
    text-align: right;
    white-space: nowrap;
}

.wage-line small {
    display: block;

    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
}

.wage-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 21px 23px;

    background: var(--wine-dark);
    color: #fff;
}

.wage-total span {
    display: block;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.wage-total small {
    display: block;
    margin-top: 5px;
    color: #d2b6bc;
    font-size: 11px;
}

.wage-total > strong {
    font-size: clamp(23px, 2.4vw, 34px);
    font-weight: 850;
    letter-spacing: -1px;
    white-space: nowrap;
}

.preview-notes {
    padding: 15px 21px;

    background: #fff8ed;
    border-top: 1px solid #efddc5;

    color: #80603c;
    font-size: 12px;
    line-height: 1.6;
}

.preview-notes p {
    margin: 0 0 8px;
}

.preview-notes p:last-child {
    margin-bottom: 0;
}

.preview-notes.preview-error {
    background: #fff1f0;
    color: #a32834;
}

/* ====================================================
   POPUPS
   ==================================================== */

.modal {
    position: fixed;
    inset: 0;
    z-index: 40;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(29, 13, 18, .68);
    backdrop-filter: blur(5px);
}

.modal[hidden] {
    display: none;
}

.modalbox {
    width: min(720px, 100%);
    max-height: 94vh;

    padding: 29px;
    overflow-y: auto;
    overscroll-behavior: contain;

    background: var(--surface);
    border: 1px solid #e5d7d2;
    border-radius: 25px;

    box-shadow: 0 30px 100px #0004;
}

.choicebox {
    width: min(690px, 100%);
}

.choicebox h2 {
    font-size: clamp(30px, 4vw, 43px);
    margin-bottom: 9px;
}

.choicegrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.choice {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 11px;

    min-height: 118px;
    padding: 21px;

    background: #fff;
    color: var(--text);

    border: 1px solid #e1d2cf;
    border-radius: 17px;

    text-align: left;
}

.choice:hover {
    background: #fff5f1;
    color: var(--text);
    border-color: var(--wine);
}

.choice b {
    font-size: 16px;
    font-weight: 850;
}

.choice span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 450;
}

.round-close {
    width: 43px;
    height: 43px;
    min-height: 43px;
    padding: 0;

    border: 1px solid #e2d5d1 !important;
    border-radius: 50%;

    font-size: 26px;
}

/* ====================================================
   REGLER OG KONTROL
   ==================================================== */

.rules-panel {
    padding: 25px;
}

.rules-panel > h2 {
    margin-bottom: 19px;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.rule-card {
    min-width: 0;

    padding: 22px;

    background: var(--surface-soft);
    border: 1px solid #e8dad5;
    border-radius: 17px;
}

.rule-card:first-child {
    grid-column: 1 / -1;
}

.rule-card h3 {
    margin: 4px 0 11px;

    color: var(--text);

    font-size: 20px;
    font-weight: 830;
    letter-spacing: -.6px;
}

.rule-card p {
    margin: 0;

    color: #55474a;
    font-size: 13px;
    line-height: 1.85;
}

.rule-card strong {
    color: var(--wine-dark);
}

.rule-card:last-child {
    background: #fff8e9;
    border-color: #efdeb8;
}

.warning {
    padding: 16px 18px;
    margin: 9px 0;

    background: #fff7e7;
    border: 1px solid #ecd8ac;
    border-left: 4px solid #bb811f;
    border-radius: 12px;

    color: #75501f;
    line-height: 1.65;
    font-size: 13px;
}

.empty-state {
    padding: 21px !important;

    background: #eef7f0;
    border: 1px solid #cfdfd2;
    border-radius: 14px;

    color: var(--green);
    font-weight: 650;
}

.warnings-panel > .hint {
    background: var(--surface-soft);
}

/* ====================================================
   LØNKONTROL OG TABELLER
   ==================================================== */

.tablewrap {
    max-width: 100%;
    overflow-x: auto;

    border: 1px solid #e5d9d4;
    border-radius: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;

    font-size: 13px;
}

th,
td {
    padding: 14px 15px;

    border-bottom: 1px solid #e8deda;

    text-align: left;
    white-space: nowrap;
}

th {
    background: var(--wine-dark);
    color: #fff;

    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.1px;
}

tbody tr:nth-child(even) {
    background: #fbf6f3;
}

tbody tr:hover {
    background: #f7eeea;
}

.bad {
    color: var(--red);
    font-weight: 850;
}

.good {
    color: var(--green);
    font-weight: 850;
}

.pill {
    display: inline-block;
    padding: 9px 12px;

    background: #f5eae7;
    color: var(--wine);

    border-radius: 30px;

    font-size: 11px;
    font-weight: 850;
}

/* ====================================================
   LISTER
   ==================================================== */

.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    padding: 17px 0;

    border-bottom: 1px solid #ebdfdb;
}

.item:last-child {
    border-bottom: 0;
}

.item > div:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.item strong {
    font-size: 14px;
}

.item small {
    margin-top: 5px;
    margin-bottom: 0;
    letter-spacing: .2px;
    font-size: 11px;
    font-weight: 500;
}

/* ====================================================
   BESKEDER
   ==================================================== */

.alert {
    padding: 15px 17px;
    margin: 15px 0;

    background: #fff2e8;
    border: 1px solid #edc9b6;
    border-radius: 13px;

    color: #9c4c29;
    line-height: 1.6;
}

/* ====================================================
   LOGIN
   ==================================================== */

.auth {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;

    padding: 25px;
}

.auth .brand {
    color: var(--wine);
}

.auth .panel {
    width: min(460px, 100%);
    padding: 30px;
}

.auth p {
    color: var(--muted);
}

/* ====================================================
   TABLET
   ==================================================== */

@media (max-width: 1050px) {
    aside {
        position: static;

        width: auto;
        height: auto;
        padding: 15px 19px;

        gap: 14px;
    }

    aside .brand small {
        display: none;
    }

    nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
    }

    nav a {
        flex-shrink: 0;
        min-height: 40px;
        padding: 9px 12px;
    }

    aside form {
        display: none;
    }

    .content {
        margin-left: 0;
        padding: 21px;
    }

    .content > header {
        display: none;
    }

    .day {
        min-height: 96px;
        padding: 5px;
    }

    .event {
        font-size: 10px;
    }

    .wage-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ====================================================
   MOBIL
   ==================================================== */

@media (max-width: 650px) {
    .content {
        padding: 15px 12px 55px;
    }

    .heading {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 14px;
    }

    .heading h1 {
        font-size: 34px;
    }

    .panel {
        padding: 17px;
        border-radius: 20px;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .stat {
        padding: 16px;
        border-radius: 15px;
    }

    .stat:last-child {
        grid-column: 1 / -1;
    }

    .stat b {
        font-size: 27px;
    }

    .two,
    .rules-grid,
    .choicegrid {
        grid-template-columns: 1fr;
    }

    .rule-card:first-child {
        grid-column: auto;
    }

    .monthbar {
        gap: 5px;
    }

    .monthbar a {
        font-size: 10px;
        padding: 8px;
    }

    .monthbar h2 {
        font-size: 19px;
    }

    .calendar-panel {
        padding: 8px;
    }

    .weekdays div {
        padding: 11px 2px;
        font-size: 9px;
    }

    .day {
        min-height: 72px;
        padding: 3px;
    }

    .datebutton {
        width: 25px;
        height: 25px;
        min-height: 25px;
        padding: 0;

        font-size: 12px;
    }

    .event {
        min-height: 10px;
        height: 10px;
        padding: 0;
        margin: 3px 0;

        font-size: 0;
        border-radius: 4px;
    }

    .modal {
        padding: 8px;
        align-items: flex-end;
    }

    .modalbox {
        width: 100%;
        max-height: 96vh;

        padding: 20px 15px;

        border-radius: 22px 22px 10px 10px;
    }

    #entryModal .heading h2 {
        font-size: 29px;
    }

    #entryForm .shift-fields {
        padding: 15px 13px 0;
    }

    #entryForm .shift-fields input,
    #entryForm .shift-fields select {
        min-height: 49px;
        height: 49px;
    }

    .wage-preview-heading {
        flex-wrap: wrap;
    }

    .wage-metrics {
        padding: 0 12px 12px;
        gap: 8px;
    }

    .wage-metric {
        padding: 12px;
    }

    .wage-lines {
        margin: 0 12px 12px;
    }

    .wage-line {
        padding: 12px;
        gap: 10px;
    }

    .wage-line strong {
        font-size: 13px;
    }

    .wage-line > strong {
        white-space: normal;
    }

    .wage-total {
        padding: 18px;
    }

    .wage-total > strong {
        font-size: 23px;
        white-space: normal;
        text-align: right;
    }

    .choice {
        min-height: 74px;
        padding: 17px;
    }

    .item {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ====================================================
   REDUCERET BEVÆGELSE
   ==================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
