.selg-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000000;
  display: none;
}
.selg-modal.open {
  display: block;
}
.selg-modal .selg-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  animation: selg-fade 0.2s ease;
}
.selg-modal .selg-dialog {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  max-height: 92dvh;
  overflow-y: auto;
  background: white;
  border-radius: 16px 16px 0 0;
  padding: 26px 20px 24px;
  animation: selg-up 0.25s ease;
}
.selg-modal .selg-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f3f3f3;
  color: #1F1F1F;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  outline: none;
}
.selg-modal .selg-close:focus {
  transform: none;
  filter: none;
}
.selg-modal .selg-close:focus-visible {
  outline: 2px solid #1F1F1F;
  outline-offset: 2px;
}
.selg-modal .selg-top {
  padding-right: 50px;
  margin-bottom: 26px;
}
.selg-modal .selg-top p {
  color: #1F1F1F;
  opacity: 0.7;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}
.selg-modal .selg-top .selg-progress {
  display: flex;
  gap: 6px;
}
.selg-modal .selg-top .selg-progress span {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: #ebebeb;
  transition: background 0.3s;
}
.selg-modal .selg-top .selg-progress span.active {
  background: #1F1F1F;
}
.selg-modal h2 {
  color: #1F1F1F;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 22px;
}
.selg-modal .selg-hint {
  color: #1F1F1F;
  opacity: 0.7;
  font-size: 15px;
  margin-top: -14px;
  margin-bottom: 20px;
}
.selg-modal .selg-felt {
  margin-bottom: 16px;
}
.selg-modal .selg-felt label, .selg-modal .selg-felt .selg-label {
  display: block;
  color: #1F1F1F;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 7px;
}
.selg-modal .selg-felt input {
  display: block;
  width: 100%;
  height: 55px;
  border: 1px solid #1F1F1F;
  border-radius: 6px;
  background: white;
  outline: none;
  padding-inline: 14px;
  font-size: 16px;
  color: #1F1F1F;
  transition: background 0.2s;
}
.selg-modal .selg-felt input::placeholder {
  color: #1F1F1F;
  opacity: 0.4;
  text-transform: none;
}
.selg-modal .selg-felt input:focus {
  background-color: #f3f3f3;
}
.selg-modal .selg-felt #selg_regnr {
  text-transform: uppercase;
}
.selg-modal .selg-sporsmal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 12px;
  border-bottom: 1px solid #ebebeb;
}
.selg-modal .selg-sporsmal:last-child {
  border-bottom: none;
}
.selg-modal .selg-sporsmal span {
  color: #1F1F1F;
  font-size: 16px;
}
.selg-modal .selg-sporsmal .selg-valg {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.selg-modal .selg-sporsmal .selg-valg-knapp {
  min-width: 64px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1F1F1F;
  border-radius: 25px;
  color: #1F1F1F;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  user-select: none;
  transition: background 0.15s, color 0.15s;
}
.selg-modal .selg-sporsmal .selg-valg-knapp:hover {
  background: #f3f3f3;
}
.selg-modal .selg-sporsmal .selg-valg-knapp:focus-visible {
  outline: 2px solid #1F1F1F;
  outline-offset: 2px;
}
.selg-modal .selg-sporsmal .selg-valg-knapp[aria-checked=true] {
  background: #1F1F1F;
  color: white;
}
.selg-modal .selg-avd {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.selg-modal .selg-avd-kort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid #1F1F1F;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
  user-select: none;
  transition: background 0.15s;
}
.selg-modal .selg-avd-kort strong {
  display: block;
  color: #1F1F1F;
  font-size: 16px;
  font-weight: 500;
}
.selg-modal .selg-avd-kort span {
  display: block;
  color: #1F1F1F;
  opacity: 0.7;
  font-size: 14px;
  margin-top: 3px;
}
.selg-modal .selg-avd-kort i {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1F1F1F;
  border-radius: 50%;
  font-size: 11px;
  color: transparent;
}
.selg-modal .selg-avd-kort:hover {
  background: #f3f3f3;
}
.selg-modal .selg-avd-kort:focus-visible {
  outline: 2px solid #1F1F1F;
  outline-offset: 2px;
}
.selg-modal .selg-avd-kort[aria-checked=true] {
  background: #f3f3f3;
  box-shadow: inset 0 0 0 1px #1F1F1F;
}
.selg-modal .selg-avd-kort[aria-checked=true] i {
  background: #1F1F1F;
  color: white;
}
.selg-modal input.field-error + .selg-avd .selg-avd-kort {
  border-color: #e53e3e;
  box-shadow: inset 0 0 0 1px #e53e3e;
}
.selg-modal .selg-nav {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}
.selg-modal .selg-back, .selg-modal .selg-next {
  height: 53px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}
.selg-modal .selg-back:focus, .selg-modal .selg-next:focus {
  transform: none;
  filter: none;
}
.selg-modal .selg-back:focus-visible, .selg-modal .selg-next:focus-visible {
  outline: 2px solid #1F1F1F;
  outline-offset: 3px;
}
.selg-modal .selg-back:disabled, .selg-modal .selg-next:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}
.selg-modal .selg-back {
  padding-inline: 24px;
  background: white;
  color: #1F1F1F;
  border: 1px solid #1F1F1F;
}
.selg-modal .selg-next {
  flex: 1;
  background: #1F1F1F;
  color: white;
  border: none;
}
.selg-modal .selg-sucess {
  text-align: center;
  padding-block: 30px 6px;
}
.selg-modal .selg-sucess i {
  font-size: 40px;
  color: green;
}
.selg-modal .selg-sucess h2 {
  margin-top: 16px;
  margin-bottom: 10px;
}
.selg-modal .selg-sucess p {
  color: #1F1F1F;
  font-size: 16px;
  line-height: 1.6;
  max-width: 380px;
  margin-inline: auto;
  margin-bottom: 28px;
}
.selg-modal .selg-sucess .selg-next {
  width: 100%;
}

@keyframes selg-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes selg-up {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .selg-modal .selg-backdrop, .selg-modal .selg-dialog {
    animation: none;
  }
}
@media only screen and (min-device-width: 1140px) {
  .selg-modal .selg-dialog {
    left: 50%;
    top: 50%;
    bottom: auto;
    width: 520px;
    max-height: 90vh;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    padding: 36px 36px 32px;
    animation: selg-fade 0.2s ease;
  }
  .selg-modal .selg-close {
    top: 18px;
    right: 18px;
  }
  .selg-modal h2 {
    font-size: 28px;
  }
  .selg-modal .selg-avd {
    flex-direction: row;
  }
  .selg-modal .selg-avd .selg-avd-kort {
    flex: 1;
    align-items: flex-start;
  }
}

/*# sourceMappingURL=selg.css.map */
