@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  --sg-blue-100: #e6eaf2;
  --sg-blue-200: #ccd4e4;
  --sg-blue-500: #00297a;
  --sg-blue-900: #00133a;
  --sg-secondary-blue-100: #edf7ff;
  --sg-secondary-blue-200: #dff1ff;
  --sg-secondary-blue-500: #00aeef;
  --sg-secondary-blue-900: #005778;
  --sg-neutral-100: #fcfcfc;
  --sg-neutral-150: #f5f5f5;
  --sg-neutral-200: #efefef;
  --sg-neutral-300: #cccccc;
  --sg-neutral-400: #adb5bd;
  --sg-neutral-500: #858585;
  --sg-neutral-600: #6c757d;
  --sg-neutral-700: #495057;
  --sg-neutral-800: #343a40;
  --sg-neutral-900: #111827;
  --sg-red-100: #ffe9e9;
  --sg-red-500: #ff0000;
  --sg-red-700: #b30000;
  --sg-green-200: #c5efda;
  --sg-green-600: #009c3e;
}

body,
.page-wrapper {
  background: linear-gradient(180deg, var(--sg-neutral-100) 0%, var(--sg-neutral-150) 100%);
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}
body > .page,
body > form,
.page-wrapper > .page,
.page-wrapper > form {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 1;
  justify-content: center;
}

header.siteheader {
  display: flex;
  padding: 2rem;
  justify-content: space-between;
}
header.siteheader h1 {
  font-weight: 300;
  font-size: 1.6rem;
  margin-top: 0;
}
header.siteheader a {
  color: inherit;
  text-decoration: none;
}
header.siteheader a:hover {
  text-decoration: underline;
}
header.siteheader .logo {
  max-width: 10rem;
  max-height: 5rem;
  width: auto;
  height: auto;
}

.container {
  border-radius: 1rem;
  background: var(--sg-neutral-100);
  box-shadow: 0 8px 16px 0 var(--sg-neutral-200);
  max-width: 30rem;
  width: 100%;
  padding: 2rem;
  box-sizing: border-box;
}
.container.container-wide {
  max-width: 60rem;
}

h2 {
  font-weight: 600;
}

.description {
  gap: 0.5rem;
  display: flex;
  flex-direction: column;
}
.description h2 {
  margin: 1rem 0;
  font-size: 2rem;
  font-weight: 300;
}
.description p {
  color: var(--sg-neutral-500);
  margin: 0;
}

.detail-title h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
}
.detail-title code {
  align-self: flex-start;
  color: var(--sg-blue-500);
  font-size: 0.8rem;
  word-break: break-word;
}

.switch-toggle {
  display: inline-flex;
  align-self: flex-start;
  border: 1px solid var(--sg-neutral-300);
  border-radius: 999px;
  padding: 0.25rem;
  gap: 0.25rem;
}
.switch-toggle button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--sg-blue-500);
  cursor: pointer;
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
}
.switch-toggle button.is-active {
  background: var(--sg-blue-500);
  color: var(--sg-neutral-100);
}
.switch-toggle .count-bubble {
  align-items: center;
  background: var(--sg-blue-500);
  color: var(--sg-neutral-100);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 600;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
}
.switch-toggle .is-active .count-bubble {
  background: var(--sg-neutral-100);
  color: var(--sg-blue-500);
}

.button-group {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
  gap: 1rem;
}
.button-group .button {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
  justify-content: center;
}
.button-group a {
  text-decoration: none;
  text-align: center;
}

.count-bubble {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 600;
  height: 1.5rem;
  justify-content: center;
  width: 1.5rem;
}

.button-primary .count-bubble {
  background: white;
  color: var(--sg-blue-500);
}

.button-secondary .count-bubble {
  background: var(--sg-blue-500);
  color: white;
}

.button-header .button {
  padding: 1rem 1.5rem;
}
.button-header {
  margin-bottom: 1rem;
}

.page-content {
  padding: 0 1.5rem 2rem;
}

.content-layout,
.section-stack,
.stack {
  display: flex;
  flex-direction: column;
}

.content-layout,
.section-stack {
  gap: 1.5rem;
}

.stack {
  gap: 1rem;
}

.card {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-soft {
  background: var(--sg-neutral-100);
}

.logo-mitid,
.logo-mitiderhverv {
  display: inline-block;
  margin: 0;
  background-repeat: no-repeat;
  background-position: center left;
  background-size: contain;
  vertical-align: middle;
}

.logo-mitid {
  width: 4rem;
  height: 0.8rem;
}

.logo-mitiderhverv {
  width: 5rem;
  height: 1.3rem;
}

.inline-logo-line {
  display: flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  align-items: center;
}

.signature-list {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.logo-mitid {
  background-image: url("../assets/mitid-logo.svg");
}

.logo-mitiderhverv {
  background-image: url("../assets/mitiderhverv-logo.svg");
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  border-collapse: collapse;
  width: 100%;
}
.data-table th,
.data-table td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}
.data-table th {
  color: var(--sg-blue-500);
  font-weight: 600;
}
.data-table tbody tr {
  border-top: 1px solid var(--sg-blue-100);
}
.data-table .admin-inline-list {
  margin: 0;
}
.data-table .table-primary-value,
.data-table code {
  display: block;
}
.data-table .table-primary-value {
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.data-table code {
  color: var(--sg-blue-500);
  font-size: 0.75rem;
  word-break: break-word;
}

.table-row-interactive {
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.table-row-interactive:hover {
  background: var(--sg-secondary-blue-100);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cluster-between {
  justify-content: space-between;
  align-items: center;
}

.card-interactive {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
a.card-interactive {
  text-decoration: none;
  color: inherit;
}

.card-interactive:hover {
  transform: translateY(-1px);
  border-color: var(--sg-blue-200);
  box-shadow: 0 10px 22px var(--sg-blue-100);
}

.notice {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: var(--sg-secondary-blue-100);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  margin: 0;
  font-weight: 600;
  color: var(--sg-blue-500);
}

.text-muted {
  color: var(--sg-neutral-500);
}

.text-center {
  text-align: center;
}

.panel {
  border-radius: 1rem;
  border: 1px solid var(--sg-blue-100);
  background: var(--sg-neutral-100);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.panel-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--sg-blue-100);
  background: var(--sg-secondary-blue-100);
}

.panel-body {
  padding: 1rem;
}

.panel-title {
  margin: 0;
  font-size: 1.1rem;
  color: var(--sg-blue-500);
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.user-list {
  background-color: var(--sg-neutral-100);
  min-height: 20rem;
  max-height: 30rem;
  overflow-y: auto;
}

.user-item {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--sg-blue-100);
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
  cursor: move;
  background: var(--sg-neutral-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 2px var(--sg-neutral-200);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.user-item:hover {
  box-shadow: 0 2px 5px var(--sg-neutral-300);
}

.user-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.user-meta small {
  color: var(--sg-neutral-500);
}

.button-fit {
  width: fit-content;
  align-self: flex-start;
}

.sortable-ghost {
  opacity: 0.4;
  background-color: var(--sg-blue-100) !important;
}

.user-item.selected {
  background-color: var(--sg-secondary-blue-100) !important;
  border-color: var(--sg-secondary-blue-500) !important;
}

.button {
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  border: none;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: outline-color 0.2s ease, opacity 0.2s ease;
}
.button:hover {
  outline: var(--sg-neutral-300) 4px solid;
}
.button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.button-primary {
  background-color: var(--sg-blue-500);
  color: var(--sg-neutral-100);
}
.button-secondary {
  color: var(--sg-blue-500);
  border: 1px solid var(--sg-blue-500);
  background: none;
}
.button-danger {
  background: var(--sg-red-700);
  color: var(--sg-neutral-100);
}
.button-mini {
  padding: 0.45rem 0.75rem;
  font-size: 0.7rem;
  border-radius: 0.35rem;
}

a.button {
  text-decoration: none;
}

.page-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.p-container {
  width: 100%;
}

.p-bar {
  --step-size: 2.5rem;
  --step-connector-offset: 0.75rem;
  --step-gap: 1.25rem;
  --total-steps: 3;
  counter-reset: wizard-step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(var(--total-steps), minmax(0, 1fr));
  gap: var(--step-gap);
}
.p-bar > li {
  counter-increment: wizard-step;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0;
  background: transparent;
  color: var(--sg-neutral-500);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  border: none;
}
.p-bar > li::before {
  content: counter(wizard-step);
  display: grid;
  place-items: center;
  width: var(--step-size);
  height: var(--step-size);
  border-radius: 999px;
  border: 2px solid var(--sg-neutral-300);
  background: var(--sg-neutral-100);
  color: var(--sg-neutral-500);
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.2s ease;
  z-index: 1;
}
.p-bar > li::after {
  content: "";
  position: absolute;
  top: calc(var(--step-size) / 2);
  left: calc(var(--step-size) + var(--step-connector-offset));
  width: calc(100% + var(--step-gap) - var(--step-size) - var(--step-connector-offset) * 2);
  height: 2px;
  background: var(--sg-neutral-300);
}
.p-bar > li:last-child::after {
  display: none;
}
.p-bar > li > span {
  display: block;
  max-width: 10rem;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: left;
}
.p-bar > li.active {
  color: var(--sg-blue-500);
}
.p-bar > li.active::before {
  border-color: var(--sg-blue-500);
  background: var(--sg-blue-500);
  color: var(--sg-neutral-100);
  box-shadow: 0 0 0 0.35rem var(--sg-blue-100);
}
.p-bar > li.completed {
  color: var(--sg-blue-500);
}
.p-bar > li.completed::before {
  content: "✓";
  border-color: var(--sg-secondary-blue-500);
  background: var(--sg-secondary-blue-500);
  color: var(--sg-neutral-100);
}
.p-bar > li.completed::after {
  background: var(--sg-secondary-blue-500);
}
.p-bar > li.emit-disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
.p-bar > li.emit-disabled::before {
  background: var(--sg-neutral-200);
}
.p-bar > li.disabled {
  display: none;
}

.clickable {
  width: 100%;
  min-height: 14rem;
  border-radius: 1rem;
  border: 1px dashed var(--sg-neutral-300);
  background: var(--sg-neutral-200);
  color: var(--sg-blue-500);
  padding: 2rem;
  cursor: pointer;
  font-family: inherit;
  box-sizing: border-box;
}
.clickable:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
.clickable p {
  margin: 0;
}

.upload-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  line-break: anywhere;
}

.inputs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.inputs label,
.inputs p {
  margin: 0;
  font-weight: 600;
  color: var(--sg-blue-500);
}
.inputs.inline {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

input[type=text],
input[type=date],
textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--sg-neutral-300);
  background: var(--sg-neutral-100);
  font: inherit;
  color: var(--sg-neutral-900);
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

.input-error {
  border-color: var(--sg-red-500) !important;
}

.button-row {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.button-row-start {
  justify-content: flex-start;
}

.signer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.signer-box h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--sg-blue-500);
}

.signer-actions {
  margin-top: 0.5rem;
}

.result-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.result-item {
  display: flex;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  background: var(--sg-secondary-blue-100);
}

.admin-badge {
  align-self: flex-start;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  background: var(--sg-secondary-blue-500);
  color: var(--sg-neutral-100);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-self: center;
  margin-top: 5px;
}

.admin-badge-success {
  background: var(--sg-green-200);
  color: var(--sg-green-600);
}

.admin-badge-pending {
  background: var(--sg-secondary-blue-200);
  color: var(--sg-blue-500);
}

.admin-inline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.admin-inline-list li {
  display: inline;
}
.admin-inline-list li:not(:last-of-type):after {
  content: ", ";
}

.detail-field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}
.detail-field strong {
  color: var(--sg-neutral-500);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.detail-field span {
  word-break: break-word;
}

.identity-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1rem 0;
  border: 1px solid var(--sg-blue-100);
  border-radius: 0.5rem;
  padding: 1rem;
}

.identity-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.identity-item code {
  align-self: flex-start;
  padding: 0.15rem 0.4rem;
  border-radius: 0.35rem;
  background: var(--sg-blue-100);
  color: var(--sg-blue-500);
  font-size: 0.75rem;
  line-height: 1.4;
}
.identity-item span {
  word-break: break-word;
}

.empty-state {
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px dashed var(--sg-blue-200);
  background: var(--sg-secondary-blue-100);
}
.empty-state h3,
.empty-state p {
  margin: 0;
}
.empty-state h3 {
  color: var(--sg-blue-500);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}
.empty-state p {
  color: var(--sg-neutral-500);
}

.switch {
  position: relative;
  display: inline-flex;
  width: 3.5rem;
  height: 2rem;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background-color: var(--sg-neutral-300);
  transition: 0.2s;
  border-radius: 999px;
}
.slider::before {
  position: absolute;
  content: "";
  height: 1.5rem;
  width: 1.5rem;
  left: 0.25rem;
  top: 0.25rem;
  background-color: var(--sg-neutral-100);
  transition: 0.2s;
  border-radius: 50%;
}
.slider.disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.switch input:checked + .slider {
  background-color: var(--sg-secondary-blue-500);
}

.switch input:checked + .slider::before {
  transform: translateX(1.5rem);
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--sg-neutral-100);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.spinner {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 0.3rem solid var(--sg-blue-100);
  border-top-color: var(--sg-blue-500);
  border-right-color: var(--sg-secondary-blue-500);
  animation: spin 0.8s linear infinite;
  box-sizing: border-box;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .p-bar {
    grid-template-columns: 1fr;
  }
  .p-bar > li {
    padding-left: 4rem;
    align-items: flex-start;
    text-align: left;
  }
  .p-bar > li::before {
    position: absolute;
    left: 0;
    top: 0;
  }
  .p-bar > li::after {
    left: 1.25rem;
    top: 2.8rem;
    width: 2px;
    height: calc(100% + 0.7rem);
  }
  .p-bar > li:last-child::after {
    display: none;
  }
  .p-bar > li > span {
    max-width: none;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
  }
  .inputs.inline {
    flex-direction: column;
    align-items: flex-start;
  }
  .button-row,
  .button-row-start {
    justify-content: stretch;
  }
  .button,
  .button-text {
    width: 100%;
  }
  .result-item {
    flex-direction: column;
    align-items: flex-start;
  }
}
.document-list {
  --borderSize: 2px;
  --bobleSize: 40px;
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}
.document-list li {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  animation-name: fadeInUp;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  animation-duration: 0.2s;
  margin-bottom: var(--indentation);
  color: var(--activeColor);
  align-items: center;
  padding: 0;
  color: var(--sg-green-600);
  margin-bottom: 0;
  animation-delay: 0s;
  position: relative;
}
.document-list li .content {
  display: flex;
  flex-direction: row;
  align-items: center;
  word-break: break-word;
}
.document-list li .status-indicator {
  margin-right: 20px;
  width: var(--bobleSize);
  height: var(--bobleSize);
  z-index: 1;
}
.document-list li .status-indicator figure.checkmark {
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../../assets/check.svg);
  background-size: 80%;
  width: 22px;
  height: 23px;
  background-color: #016630;
  border-radius: 30px;
  position: absolute;
  left: -17px;
  top: 6px;
  z-index: 100;
}
.document-list li .status-indicator .gfx {
  content: "";
  width: calc(var(--bobleSize) - var(--borderSize) * 2);
  height: calc(var(--bobleSize) - var(--borderSize) * 2);
  margin: var(--borderSize);
  display: flex;
  background-repeat: no-repeat;
  background-position: left center;
  background-image: url(../../assets/pdf.svg);
  background-size: 80%;
}

.text-muted {
  color: var(--sg-neutral-500);
}
