/* GLOBAL CSS */
/* AVOID PAGE SPECIFIC SELECTORS AND POSITIONING/MARGINS (USE PAGE CSS FILE FOR THAT) */

@font-face {
  -webkit-font-smoothing: antialiased;
  font-family: 'Quasimoda';
  src: url(https://mqitdpdasa03.blob.core.windows.net/customlogin/quasimoda-regular.8c034f8127b66ab59a3c.woff2)
    format('woff2');
}
@font-face {
  -webkit-font-smoothing: antialiased;
  font-weight: 600;
  font-style: normal;
  font-family: 'Quasimoda-SemiBold';
  src: url(https://mqitdpdasa03.blob.core.windows.net/customlogin/quasimoda-semibold.03cc5aae6f9262323acd.woff2)
      format('woff2'),
    url(https://mqitdpdasa03.blob.core.windows.net/customlogin/quasimoda-semibold.f83c7b2cbf883deb0b83.woff)
      format('woff');
}

/* HIDDEN ELEMENTS */
.intro,
.helpLink,
.hidden,
#emailVerificationControl_but_change_claims,
.extension_AcceptDigitalReceipts_li,
.extension_AcceptEmail_li,
.extension_AcceptSms_li,
.extension_StoreId_li,
.extension_VoyadoContactId_li {
  display: none !important;
}
.divider {
  display: none;
}

* {
  -webkit-font-smoothing: antialiased;
  font-family: 'Quasimoda';
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  text-shadow: #000000 0 0 0px;
}
ul,
ol {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
html,
body {
  background-color: #fafafa;
  color: #181818;
  font-size: 14px;
  font-family: 'Quasimoda';
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  margin: 0;
  padding: 0;
}
h1 {
  -webkit-font-smoothing: antialiased;
  font-size: 26px;
  font-family: 'Quasimoda-SemiBold';
  color: #181818;
  font-style: normal;
  font-weight: 600;
  line-height: 34px;
}
h2 {
  font-size: 20px;
  font-family: 'Quasimoda-SemiBold';
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
}
.body-text {
  font-weight: 400;
}
.error {
  color: #961015;
  font-size: 12px;
  font-weight: 400;
  padding: 4px 0;
}
.error.show::before,
.error p::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('https://mqitdpdasa03.blob.core.windows.net/customlogin/assets/alert-circle.svg');
  background-repeat: no-repeat;
  background-size: 16px 16px;
  position: relative;
  top: 2px;
  margin-right: 4px;
}
.verificationSuccessText > *:first-child::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url('https://mqitdpdasa03.blob.core.windows.net/customlogin/assets/check-circle.svg');
  background-repeat: no-repeat;
  background-size: 16px 16px;
  position: relative;
  top: 2px;
  margin-right: 4px;
}
.container {
  padding: 8px 24px 88px 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#api {
  width: 100%;
  max-width: 400px;
}
.go-back {
  display: flex;
  align-self: flex-start;
}
.go-back a {
  cursor: pointer;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
  font-weight: 400;
}
.go-back img {
  height: 16px;
  width: 16px;
  margin-right: 8px;
}

.logo {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 24px 0 40px 0;
}
.logo img {
  width: 52px;
  flex-shrink: 0;
}

.entry-item,
.attrEntry {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.entry-item label,
.attrEntry label {
  order: 0;
}
.entry-item input,
.attrEntry input {
  order: 2;
}
.entry-item .error,
.attrEntry .error {
  order: 3;
}
.entry-item #forgotPassword,
.attrEntry #forgotPassword {
  order: 4;
}
input {
  font-size: 16px;
  display: flex;
  padding: 12px 16px;
  align-items: center;
  align-self: stretch;
  border-radius: 4px;
  border: 1px solid #d3d3d3;
  background: #fff;
}
select,
textarea,
input[type='text'],
input[type='password'],
input[type='datetime'],
input[type='datetime-local'],
input[type='date'],
input[type='month'],
input[type='time'],
input[type='week'],
input[type='number'],
input[type='email'],
input[type='url'],
input[type='search'],
input[type='tel'],
input[type='color'] {
  font-size: 16px;
}
/* Hide all placeholder texts */
::-webkit-input-placeholder {
  color: transparent;
}
:-moz-placeholder {
  color: transparent;
}
::-moz-placeholder {
  color: transparent;
}
:-ms-input-placeholder {
  color: transparent;
}
input::placeholder {
  color: transparent;
}
textarea::-webkit-input-placeholder {
  color: transparent;
}
textarea:-moz-placeholder {
  color: transparent;
}
textarea::-moz-placeholder {
  color: transparent;
}
textarea:-ms-input-placeholder {
  color: transparent;
}
textarea::placeholder {
  color: transparent;
}

/* BUTTONS */
button,
#createAccount {
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  display: flex;
  flex: 1 0 0;
  border-radius: 4px;
  background: #181818;
  color: #fff;
  line-height: 20px;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 0.48px;

  border: none;
}
button:not(.sendNewCode),
#createAccount {
  text-transform: uppercase;
}
button:hover {
  background-color: #393939;
}
/* WHITE BUTTON */
#createAccount {
  border: 1px solid #181818;
  background: #fff;
  color: #181818;
}
#createAccount:hover {
  background-color: #efefef;
}

.verificationSuccessText {
  padding: 16px;
  border-radius: 4px;
  background: #f3f1ef;
  font-weight: 400;
  margin-bottom: 24px;
}

.verify-code-wrapper {
  display: flex;
  justify-content: space-between;
}
.verify-code-wrapper > input {
  width: 48px;
  text-align: center;
}
.verify-code-wrapper > input[type='number']::-webkit-inner-spin-button,
.verify-code-wrapper > input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.password-input-container {
  position: relative;
  /* display: flex;
    align-items: center; */
}
.password-input {
  padding: 12px 16px;
  align-self: stretch;
  border-radius: 4px;
  border: 1px solid #d3d3d3;
  background: #fff;
  font-size: 16px;
  padding-right: 48px;
  width: 100%;
}

.show-password-button {
  position: absolute;
  top: calc(50% - 6px);
  right: 16px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url('https://mqitdpdasa03.blob.core.windows.net/customlogin/assets/eye-closed.svg'); /* Replace 'icon.svg' with your SVG file path */
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
}
.eye-open .show-password-button {
  background-image: url('https://mqitdpdasa03.blob.core.windows.net/customlogin/assets/eye-open.svg');
  background-repeat: no-repeat;
}

.sendNewCode {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-decoration: underline;
  border: none;
  background-color: rgba(0, 0, 0, 0);
  color: #181818;
  padding: 0;
  margin: 12px 0;
}

.sendNewCode::before {
  content: 'Fick du ingen kod? ';
  text-decoration: none !important;
  display: inline-block;
  margin-right: 4px;
}
.sendNewCode:hover {
  color: #393939;
  background-color: rgba(0, 0, 0, 0);
}

/* Loading overlay  */
#simplemodal-overlay {
  background-color: rgba(0, 0, 0, 0.5) !important;
  position: fixed;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
}
#simplemodal-container {
  display: none !important;
}
.mq-loading-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  padding: 40px;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  border-radius: 4px;
  background: #fff;
  max-width: 80%;
  width: 320px;
}

.mq-spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #555;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: mq-spin 2s linear infinite;
  margin-bottom: 40px;
}
.mq-loader-text {
  color: #000;
  text-align: center;
  font-feature-settings: 'clig' off, 'liga' off;
  font-family: Quasimoda;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

@keyframes mq-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Loading overlay END  */

@media screen and (min-width: 768px) {
  .logo img {
    width: 143px;
  }
  .logo {
    margin-top: 0px;
  }
  .go-back {
    position: absolute;
    top: 48px;
    left: 48px;
  }
  .container {
    padding-bottom: 144px;
    padding-top: 144px;
  }
}
