.accov {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: linear-gradient(160deg, var(--cv), var(--sf2));
  overflow: auto;
}
.accov.choose {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}
.accd {
  width: min(400px, 100%);
  background: var(--sf);
  color: var(--tx);
  border-radius: 22px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}
.accd h2 {
  font-size: 24px;
  letter-spacing: -0.02em;
}
.acclogo {
  font-weight: 800;
  font-size: 15px;
  color: var(--ac);
  letter-spacing: -0.01em;
}
.accs {
  color: var(--mu);
  font-size: 14.5px;
  line-height: 1.5;
}
.accd label {
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
}
.accd input[type="email"],
.accd input[type="password"],
.accd input[type="text"],
.accd input:not([type]) {
  height: 46px;
  border: 1.5px solid var(--ln);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  background: var(--bg);
  color: var(--tx);
}
.accd input:focus {
  outline: 0;
  border-color: var(--ac);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ac) 20%, transparent);
}
.accd .btn {
  height: 46px;
}
.accd .btn:disabled {
  opacity: 0.6;
}
.acck {
  grid-template-columns: auto 1fr !important;
  align-items: start;
  font-weight: 400 !important;
  font-size: 13px !important;
  color: var(--mu);
  gap: 10px !important;
}
.acck input {
  margin-top: 2px;
  width: 18px;
  height: 18px;
}
.acck a {
  color: var(--ac);
}
.accerr {
  color: #ff3b30;
  font-size: 13.5px;
  min-height: 1.2em;
}
.accrow {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.accl {
  background: none;
  border: 0;
  color: var(--ac);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}
.accl.dim {
  color: var(--mu);
  font-weight: 500;
  text-align: left;
}
@media (max-width: 720px) {
  .accov {
    align-items: start;
    padding: 14px;
  }
  .accd {
    margin-top: 6vh;
    padding: 24px 20px;
  }
}

/* v4.4 ny innloggingsside */
@font-face {
  font-family: "SOSDisplay";
  src: url(../fonts/display.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
.accov:not(.choose) {
  padding: 0;
  display: block;
  background: var(--bg);
}
.accsp {
  width: 100%;
  margin: 0;
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(380px, 1.05fr) 1fr;
}
.acca {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 40px 48px;
  color: #fff;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.13) 1px, transparent 0) 0 0 / 22px 22px,
    radial-gradient(120% 70% at 15% 105%, rgba(61, 76, 255, 0.55), transparent 60%),
    radial-gradient(80% 60% at 100% 0%, rgba(255, 93, 115, 0.22), transparent 60%),
    #0e1330;
}
.accbr {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "SOSDisplay", system-ui, sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.accmk {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #3d4cff;
  font-size: 17px;
}
.acch {
  margin-top: auto;
  font-family: "SOSDisplay", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 12em;
}
.accst {
  position: relative;
  height: 230px;
  margin: 34px 0 auto;
}
.accc {
  position: absolute;
  display: grid;
  gap: 3px;
  min-width: 190px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  color: #151a3a;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  animation: accUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.accc small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 650;
  color: #5c6385;
}
.accc small i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}
.accc b {
  font-size: 15px;
  letter-spacing: -0.01em;
}
.accc b.big {
  font-size: 26px;
  letter-spacing: -0.03em;
}
.accc span {
  font-size: 12px;
  color: #5c6385;
}
.accc.c1 {
  left: 0;
  top: 0;
  rotate: -3deg;
}
.accc.c2 {
  left: 210px;
  top: 34px;
  rotate: 2.5deg;
  animation-delay: 0.12s;
}
.accc.c3 {
  left: 64px;
  top: 128px;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
  rotate: -1deg;
  animation-delay: 0.24s;
}
.accc.c3 div {
  display: grid;
  gap: 2px;
}
@keyframes accUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
}
.accft {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 24px;
}
.accm {
  display: grid;
  place-items: center;
  padding: 40px 24px;
  background: radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 0) 0 0 / 22px 22px, var(--cv);
}
.accm .accd {
  width: min(400px, 100%);
  margin: 0;
  padding: 34px 32px;
  gap: 14px;
  border-radius: 24px;
  box-shadow: 0 0 0 1px var(--ln), 0 24px 60px rgba(14, 19, 48, 0.12);
}
.accm .accd h2 {
  font-family: "SOSDisplay", system-ui, sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.accm .accs {
  margin-top: -6px;
}
.accm .btn.bl {
  background: #3d4cff;
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  transition: background 0.15s, transform 0.15s;
}
.accm .btn.bl:hover {
  background: #2a36d6;
}
.accm .btn.bl:active {
  transform: scale(0.98);
}
.accm .accd input:focus {
  border-color: #3d4cff;
  box-shadow: 0 0 0 3px rgba(61, 76, 255, 0.2);
}
.accm .accl,
.accm .acck a {
  color: #3d4cff;
}
:root[data-theme="dark"] .accm .accl,
:root[data-theme="dark"] .accm .acck a {
  color: #8f99ff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .accm .accl,
  :root:not([data-theme="light"]) .accm .acck a {
    color: #8f99ff;
  }
}
.accpwf {
  position: relative;
  display: block;
}
.accpwf input {
  width: 100%;
  padding-right: 46px !important;
}
.accey {
  position: absolute;
  right: 6px;
  top: 50%;
  translate: 0 -50%;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--mu);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.accey svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.accey.on {
  color: #3d4cff;
}
.accey:focus-visible {
  outline: 2px solid #3d4cff;
}
.accmail {
  font-size: 40px;
}
.acctop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.acclg {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}
.acclg button {
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.7);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
}
.acclg button.on {
  background: #fff;
  color: #0e1330;
}
.acclg button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}
@media (max-width: 900px) {
  .accov:not(.choose) {
    background: #0e1330;
  }
  .accsp {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }
  .acca {
    flex: none;
    padding: calc(18px + env(safe-area-inset-top, 0px)) 20px 0;
    background:
      radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.13) 1px, transparent 0) 0 0 / 20px 20px,
      radial-gradient(90% 60% at 0% 100%, rgba(61, 76, 255, 0.5), transparent 70%),
      radial-gradient(70% 50% at 100% 0%, rgba(255, 93, 115, 0.22), transparent 60%),
      #0e1330;
  }
  .accbr {
    font-size: 17px;
  }
  .accmk {
    width: 30px;
    height: 30px;
    font-size: 15px;
    border-radius: 9px;
  }
  .acch {
    margin-top: 26px;
    font-size: clamp(28px, 8.4vw, 40px);
    line-height: 1.04;
  }
  .accst {
    display: flex;
    gap: 10px;
    height: auto;
    margin: 20px -20px 0;
    padding: 4px 20px 26px;
    overflow: hidden;
  }
  .accc {
    position: static;
    flex: none;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  }
  .accc b {
    font-size: 13px;
  }
  .accc b.big {
    font-size: 20px;
  }
  .accc span {
    font-size: 11px;
  }
  .accc.c1 {
    display: none;
  }
  .accc.c2 {
    rotate: -2.5deg;
  }
  .accc.c3 {
    rotate: 2deg;
    column-gap: 9px;
  }
  .accc.c3 svg {
    width: 44px;
    height: 44px;
  }
  .accft {
    display: none;
  }
  .accm {
    flex: 1;
    display: block;
    padding: 26px 20px calc(28px + env(safe-area-inset-bottom, 0px));
    border-radius: 26px 26px 0 0;
    background: var(--sf);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
    animation: accSheet 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }
  .accm .accd {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .accm .accd h2 {
    font-size: 27px;
  }
  .accm .accd input[type="email"],
  .accm .accd input[type="password"],
  .accm .accd input:not([type]),
  .accm .accd input[type="text"] {
    height: 52px;
    border-radius: 14px;
  }
  .accm .btn.bl {
    height: 52px;
  }
  .accrow {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .accl {
    padding: 8px 0;
    font-size: 14.5px;
  }
}
@media (max-width: 380px) {
  .accst {
    display: none;
  }
  .acch {
    margin-bottom: 24px;
  }
}
@keyframes accSheet {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .accc,
  .accm {
    animation: none !important;
  }
}
.accmk svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
}
