﻿﻿﻿html {
  width: 100%;
  height: 100%;
  font-size: 16px;
  line-height: 1.15;
  color: #ffffff;
  text-align: left;
  background-color: #0d0f3b;
  font-family: "Lato", "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  font-size: 25px;
  margin-bottom: 24px;
}

h2 {
  font-size: 17px !important;
}

* {
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

a {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  text-decoration: underline;
  cursor: pointer;
}

a:visited {
  color: black;
}

body {
  background-color: #1a1a1a;
  /* background-image: url("resources/bg_seidor.png"); */
  /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1200 800'%3E%3Cdefs%3E%3CradialGradient id='a' cx='0' cy='800' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%231c3e7f'/%3E%3Cstop offset='1' stop-color='%231c3e7f' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='b' cx='1200' cy='800' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23051a37'/%3E%3Cstop offset='1' stop-color='%23051a37' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='c' cx='600' cy='0' r='600' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%230d6282'/%3E%3Cstop offset='1' stop-color='%230d6282' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='d' cx='600' cy='800' r='600' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%230D0F3B'/%3E%3Cstop offset='1' stop-color='%230D0F3B' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='e' cx='0' cy='0' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%232A8DC3'/%3E%3Cstop offset='1' stop-color='%232A8DC3' stop-opacity='0'/%3E%3C/radialGradient%3E%3CradialGradient id='f' cx='1200' cy='0' r='800' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23002731'/%3E%3Cstop offset='1' stop-color='%23002731' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='1200' height='800'/%3E%3Crect fill='url(%23b)' width='1200' height='800'/%3E%3Crect fill='url(%23c)' width='1200' height='800'/%3E%3Crect fill='url(%23d)' width='1200' height='800'/%3E%3Crect fill='url(%23e)' width='1200' height='800'/%3E%3Crect fill='url(%23f)' width='1200' height='800'/%3E%3C/svg%3E"); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center, center;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  align-content: center;
}

form {
}

.divsubmit {
  margin-top: 12px;
}

#submit_button {
  width: 100%;
  padding: 15px;
  border: 1px solid #c9cacf;
  border-radius: 8px;
  background: #d8d9dc;
  color: #303030;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

#submit_button:hover:not(:disabled),
#submit_button:focus:not(:disabled) {
  background: #caccd0;
}

#submit_button:active:not(:disabled) {
  transform: translateY(1px);
}

#submit_button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Mesmo visual do #submit_button, mas como classe reutilizavel - o painel
   de recovery tem varios botoes (um por etapa), e ID nao pode repetir. */
.ids-button--recovery-primary {
  width: 100%;
  padding: 15px;
  border: 1px solid #c9cacf;
  border-radius: 8px;
  background: #d8d9dc;
  color: #303030;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.ids-button--recovery-primary:hover:not(:disabled),
.ids-button--recovery-primary:focus:not(:disabled) {
  background: #caccd0;
}

.ids-button--recovery-primary:active:not(:disabled) {
  transform: translateY(1px);
}

.ids-button--recovery-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ids-button--recovery-secondary {
  border-radius: 8px;
  background: transparent;
  border: 1px solid #40608f;
  color: #40608f;
  width: 100%;
  padding: 13px;
  font-size: 14px;
  cursor: pointer;
  font: inherit;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ids-button--recovery-secondary:hover {
  background: #40608f;
  color: #ffffff;
}

::placeholder {
  color: #555;
  opacity: 1;
}

.ids-input-group--login {
  margin: 0;
}

.ids-login-container {
  border-radius: 16px;
  margin: 1px auto;
  width: 100%;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  padding: 42px 32px 28px 32px;
  border: none;
}

.ids-login-sp {
  all: unset;
  display: flex;
  align-content: flex-end;
  justify-content: flex-end;
  height: 50px;
  margin-bottom: -10px;
}

.ids-footer {
  display: none;
}

.ids-main {
  background-color: transparent !important;
}

.ids-main__content {
  padding-top: 0;
}

#forgotPasswordLink {
  color: black;
  font-size: 14px;
}

#j_username,
#j_password {
  font-size: 14px;
}

#test-service-provider-name {
  font-size: 0px;
}

.ids-login-login--border {
  border: none;
}

.ids-button-group {
  padding: 0 !important;
}

.ids-label {
  color: white;
}

.ids-label-container {
  height: 20px;
  line-height: 30px;
  margin-left: 10px;
  text-align: left !important;
}

.ids-heading-1--login,
.ids-heading-1 {
  font-size: 22px;
  color: #000000;
}

::-webkit-input-placeholder {
  color: transparent;
}

::-moz-placeholder {
  color: transparent;
}

:-ms-input-placeholder {
  color: transparent;
}

[data-page="ids-login/logon"] .ids-heading-1--login {
  display: none;
}

button#logOnFormSubmit,
button#test-submit-button,
button#sapStoreRegisterFormSubmit {
  border-radius: 5px;
  text-transform: uppercase;
  background: #40608f;
  width: 100%;
  border: 0;
  padding: 15px;
  font-size: 15px;
  cursor: pointer;
  font: inherit;
}

button#logOnFormSubmit:hover,
button#logOnFormSubmit:active,
button#logOnFormSubmit:focus,
button#test-submit-button:hover,
button#test-submit-button:active,
button#test-submit-button:focus,
button#sapStoreRegisterFormSubmit:hover,
button#sapStoreRegisterFormSubmit:active,
button#sapStoreRegisterFormSubmit:focus {
  background: #0054ff;
}

button#logOnFormSubmit:hover,
button#logOnFormSubmit:active,
button#logOnFormSubmit:focus {
  width: 100%;
}

.ids-input {
  padding: 15px !important;
}

.fd-input-group {
  display: flex;
}

.icon-login {
  display: inline-block;
  background-size: 35px !important;
  text-decoration: none;
  padding: 19px;
  margin-right: 6px;
}

.icon-login.icon-user {
  background: url(resources/e1_icon_user.png) no-repeat left center;
}

.icon-login.icon-password {
  background: url(resources/e1_icon_pass.png) no-repeat left center;
}

.icon-login.icon-organization {
  background: url(resources/e1_icon_corp.png) no-repeat left center;
}

.icon-forget-password {
  background: url(resources/e1_icon_forget_pass.png) no-repeat left center;
  display: inline-block;
  background-size: 35px !important;
  text-decoration: none;
  padding: 19px;
  margin-right: 6px;
}

.ids-input.input-icon {
  display: inline-block;
  background-size: 35px;
  text-decoration: none;
  background-position-x: 4px;
}

.ids-input::placeholder {
  color: #555;
  opacity: 1;
}

.ids-input-select {
  padding-left: 12px !important;
  padding-right: 15px !important;
  display: inline-block;
  background-size: 35px !important;
  text-decoration: none;
  background-position-x: 4px !important;
}

.ids-button-group,
.ids-login-login {
  width: 100%;
}

.ids-button-group--centered .ids-button {
  float: left;
}

label#rememberme-label {
  color: black;
}

li.ids-input-group__item {
  text-align: left;
  letter-spacing: initial;
}

.ids-control-container textarea,
.ids-control-container input[type="text"],
.ids-control-container input[type="password"],
.ids-control-container input[type="email"],
.ids-control-container input[type="tel"],
.ids-control-container select {
  border-radius: 6px;
  border: 0px;
  height: 45px;
  font-family: inherit;
  border-width: 0.5px;
  background-color: transparent;
  border-bottom: 2px solid #333;
  transition: border-bottom-color 0.2s ease;
}

.ids-control-container textarea:focus,
.ids-control-container input[type="text"]:focus,
.ids-control-container input[type="password"]:focus,
.ids-control-container input[type="email"]:focus,
.ids-control-container input[type="tel"]:focus,
.ids-control-container select:focus {
  border-bottom-color: #40608f;
}

.ids-button {
  font-weight: normal;
}

.ids-login-section {
  padding: 0;
}

.ids-login-section li {
  margin: 16px 0 0 0;
}

.ids-login__forgotpassword {
  font-size: 14px;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ids-login-login--border {
  padding-left: 0 !important;
}

.ids-login__forgotpassword a,
a:hover,
a:active,
a:visited,
a:focus {
  color: #303030 !important;
}

[data-page="ids-forgot_password/create"]
  .ids-main
  .ids-main__content
  .ids-container,
[data-page="ids-registration/new"] .ids-main .ids-main__content .ids-container {
  background: rgba(255, 255, 255, 0.8);
  padding: 30px 30px 40px 30px;
  text-align: center;
  border: 1px solid #979797;
}

[data-page="ids-forgot_password/create"]
  .ids-main
  .ids-main__content
  .ids-container
  .ids-heading-1 {
  position: static;
}

#ids-p {
  font-size: 13px;
}

.ids-required-marker {
  color: #3e83f2;
}

.ids-login-sp__logo img {
  max-height: 50px;
  margin-bottom: -10px;
}

.icon {
  max-height: 24px;
  margin: 8px 8px 4px 4px;
}

img.bgtitle {
  position: absolute;
  top: 2rem;
  left: 2rem;
  max-height: 100px;
  width: auto;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-background-clip: text;
  -webkit-text-fill-color: #333;
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: inset 0 0 20px 20px #23232300;
}

.digit-container {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 0 auto 18px;
}

.digit-input {
  width: 100%;
  min-width: 0;
  max-width: none !important;
  height: 54px;
  padding: 0 !important;
  border: 1px solid #d9dce4;
  border-radius: 13px;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  color: #0d0f3b;
  background: #f7f8fb;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
  caret-color: #40608f;
}

.digit-input:hover {
  border-color: #9aabc3;
}

.digit-input:focus {
  border-color: #40608f;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(64, 96, 143, 0.12);
  transform: translateY(-1px);
}

.digit-input.filled {
  border-color: #40608f;
  background: #eef2f8;
}

.value-display {
  font-family: "Courier New", monospace;
  font-size: 20px;
  color: #34383d;
  background: #f1f5f9;
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 8px;
  letter-spacing: 2px;
}

.empty {
  color: #94a3b8;
}

.container-mfa {
  padding: 0px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.display-block {
  display: block;
}

.hide {
  display: none;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 24px;
  background-color: rgba(15, 17, 22, 0.74);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  width: min(480px, 100%);
  max-width: 480px;
  max-height: calc(100vh - 48px);
  max-height: calc(100svh - 48px);
  padding: 34px 36px 30px;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  animation: slideUp 0.35s ease;
}

.mfa-close {
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 18px;
  display: flex;
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e3e9;
  border-radius: 50%;
  background: #f7f8fb;
  color: #40608f;
  font: inherit;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.mfa-close:hover,
.mfa-close:focus-visible {
  border-color: #40608f;
  background: #eef2f8;
  color: #40608f;
  transform: translateY(-1px);
}

.mfa-security-icon {
  position: relative;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 17px;
  background: #eef2f8;
}

.mfa-security-icon::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 23px;
  width: 22px;
  height: 19px;
  border-radius: 6px;
  background: #40608f;
}

.mfa-security-icon::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 12px;
  width: 14px;
  height: 16px;
  border: 3px solid #40608f;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}

.mfa-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #40608f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-align: center;
}

.modal-title {
  margin: 0 42px 8px;
  color: #0d0f3b;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.modal-subtitle {
  max-width: 340px;
  margin: 0 auto 22px;
  color: #666666;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.mfa-alert {
  position: relative;
  margin: 0 0 18px;
  padding: 12px 38px 12px 14px;
  border: 1px solid #dfc3c3;
  border-left: 4px solid #9d4747;
  border-radius: 12px;
  background: #fbf3f3;
  color: #633030;
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.mfa-alert strong {
  display: block;
  margin-bottom: 3px;
  color: #542525;
  font-size: 12px;
  font-weight: 600;
}

.mfa-alert p {
  margin: 0;
}

.mfa-alert-close {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 26px;
  min-width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #7a3b3b;
  font: inherit;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.mfa-alert-close:hover,
.mfa-alert-close:focus-visible {
  background: #f1dddd;
  color: #542525;
}

#loginContainer .alert,
#recoveryContainer .alert {
  position: relative;
  margin: 18px 0 0;
  padding: 14px 40px 14px 16px;
  border: 1px solid #dfc3c3;
  border-left: 4px solid #9d4747;
  border-radius: 12px;
  background: #fbf3f3;
  box-shadow: 0 8px 20px rgba(84, 37, 37, 0.06);
  color: #633030;
  text-align: left;
}

#loginContainer .alert p,
#recoveryContainer .alert p {
  margin: 0;
  color: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

#loginContainer .alert p + p,
#recoveryContainer .alert p + p {
  margin-top: 4px;
}

#loginContainer .alert strong,
#recoveryContainer .alert strong {
  color: #542525;
  font-size: 12px;
  font-weight: 600;
}

#loginContainer .alert .closebtn,
#recoveryContainer .alert .closebtn {
  position: absolute;
  top: 8px;
  right: 9px;
  float: none;
  width: 26px;
  height: 26px;
  margin: 0;
  border-radius: 50%;
  color: #7a3b3b;
  font-size: 19px;
  font-weight: 500;
  line-height: 26px;
  text-align: center;
}

#loginContainer .alert .closebtn:hover,
#recoveryContainer .alert .closebtn:hover {
  background: #f1dddd;
  color: #542525;
}

#recoveryContainer .alert.alert-success {
  border-color: #c7d8c8;
  border-left-color: #58775a;
  background: #f2f7f2;
  color: #365438;
}

#recoveryContainer .alert.alert-success strong,
#recoveryContainer .alert.alert-success .closebtn {
  color: #365438;
}

.qr-container {
  margin: 0 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 166px;
}

#qrcode {
  background-color: #ffffff;
  padding: 9px;
  border: 1px solid #e0e3e9;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(13, 15, 59, 0.09);
}

#qrcode svg {
  max-width: 100%;
  width: 156px;
  height: 156px;
}

.instruction {
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid #e0e3e9;
  border-left: 4px solid #40608f;
  border-radius: 13px;
  background: #f7f8fb;
  text-align: left;
}

.instruction h4 {
  margin: 0 0 10px;
  color: #0d0f3b;
  font-size: 14px;
  font-weight: 600;
}

.instruction ol {
  margin: 0;
  padding: 0;
  color: #555555;
  font-size: 13px;
  line-height: 1.5;
  list-style-position: inside;
}

.instruction li {
  margin-bottom: 5px;
}

.instruction li:last-child {
  margin-bottom: 0;
}

#mfa-div > p {
  margin: 0 0 12px;
  color: #303030;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

.mfa-auto-submit {
  max-width: 320px;
  margin: -2px auto 0;
  color: #777777;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

@media only screen and (max-width: 320px) {
  body {
    padding-top: 50px;
  }

  .ids-login-login--border {
    padding-left: 0;
  }

  .ids-login-login--border {
    padding-bottom: 18px;
  }

  .ids-heading-1--login {
    display: block;
  }

  .ids-input-group--user {
    padding-bottom: 18px;
  }

  .digit-container {
    gap: 5px;
  }

  .digit-input {
    min-height: 42px !important;
    min-width: 42px !important;
    height: 42px;
  }
}

@media only screen and (max-width: 991px) {
  button#test-submit-button,
  button#sapStoreRegisterFormSubmit {
    width: 100%;
    margin: 0;
  }
}

@media only screen and (min-width: 600px) {
  .ids-login-container {
    width: 420px;
  }
}

@media only screen and (min-width: 992px) {
  button#test-submit-button,
  button#sapStoreRegisterFormSubmit {
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
    float: none;
  }
}

/* Centraliza horizontalmente a imagem se a largura da página for pequena */
@media (max-width: 600px) {
  img.bgtitle {
    position: static;
    /* Remove a posição absoluta */
    display: block;
    margin: 0 auto;
    /* Centraliza horizontalmente */
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------------------------------------------------------
   Login 2026: composicao dividida, mantendo a paleta original.
   Este bloco fica no fim para substituir apenas o layout legado sem
   alterar os seletores e IDs usados pelo fluxo de autenticacao.
   ------------------------------------------------------------------ */

body[data-page="ids-login/logon"] {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 36px;
  background-color: #202124;
  background-image:
    linear-gradient(rgba(26, 26, 26, 0.18), rgba(32, 33, 36, 0.34)),
    var(--login-bg-image, none);
  background-position: center, left center;
  background-repeat: no-repeat;
  background-size: cover;
}

body[data-page="ids-login/logon"]::before,
body[data-page="ids-login/logon"]::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  background: #40608f;
  opacity: 0.24;
  transform: rotate(-18deg);
}

body[data-page="ids-login/logon"]::before {
  display: none;
}

body[data-page="ids-login/logon"]::after {
  display: none;
}

body[data-page="ids-login/logon"] > div,
body[data-page="ids-login/logon"] #content {
  width: 100%;
}

body[data-page="ids-login/logon"] #content {
  margin: 0;
  padding: 0;
}

#bgtitleImg {
  display: none;
}

#loginContainer.ids-login-container {
  display: grid;
  grid-template-columns: minmax(420px, 1.02fr) minmax(400px, 0.98fr);
  width: min(1040px, 100%);
  min-height: 620px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.16),
    0 30px 90px rgba(0, 0, 0, 0.36);
}

/* O clearfix do componente legado vira uma linha extra dentro do grid. */
#loginContainer.ids-login-container::after {
  content: none;
  display: none;
}

#loginContainer.hide {
  display: none;
}

.login-panel {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 58px 54px 42px;
  color: #303030;
  background: #ffffff;
}

.login-heading {
  margin-bottom: 30px;
}

#loginContainer .ids-login-login {
  display: flex;
  flex: 1 1 auto;
  float: none;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}

.login-eyebrow,
.visual-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #40608f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.login-heading h1 {
  margin: 0 0 10px;
  color: #0d0f3b;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.05;
}

.login-heading p {
  max-width: 330px;
  margin: 0;
  color: #666666;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

#loginContainer .ids-fieldset--login {
  margin: 0;
  padding: 0;
}

#loginContainer .ids-input-group--login {
  margin: 0;
  padding-bottom: 0;
}

#loginContainer .ids-input-group--login:empty {
  display: none;
}

#loginContainer .ids-control-container {
  margin-bottom: 14px;
}

#loginContainer .fd-input-group {
  align-items: center;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid #d9dce4;
  border-radius: 14px;
  background: #f7f8fb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#loginContainer .fd-input-group:focus-within {
  border-color: #40608f;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(64, 96, 143, 0.12);
}

#loginContainer .ids-control-container input[type="text"],
#loginContainer .ids-control-container input[type="password"],
#loginContainer .ids-control-container select {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 52px;
  padding: 0 8px !important;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #303030;
  font-size: 14px;
}

#loginContainer .icon-login {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  padding: 0;
  background-color: #40608f !important;
  background-image: none !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 24px !important;
  opacity: 0.88;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 24px;
  mask-size: 24px;
}

#loginContainer .icon-login.icon-user {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M4.5 20c.55-4.2 3.05-6.5 7.5-6.5s6.95 2.3 7.5 6.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M4.5 20c.55-4.2 3.05-6.5 7.5-6.5s6.95 2.3 7.5 6.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

#loginContainer .icon-login.icon-password {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='10' width='16' height='11' rx='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3M12 14.5v2.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='10' width='16' height='11' rx='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3M12 14.5v2.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

#loginContainer .icon-login.icon-organization {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 21V5.5L12 3v18M12 8h8v13M7.5 8h1M7.5 12h1M7.5 16h1M15.5 12h1M15.5 16h1M2.5 21h19' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 21V5.5L12 3v18M12 8h8v13M7.5 8h1M7.5 12h1M7.5 16h1M15.5 12h1M15.5 16h1M2.5 21h19' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#loginContainer .divsubmit {
  margin-top: 16px;
}

#loginContainer .stage {
  height: 0;
  min-height: 0;
  padding: 0;
  overflow: visible;
}

#loginContainer #submit_button {
  min-height: 52px;
  border-color: #c9cacf;
  border-radius: 14px;
  background: #d8d9dc;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  color: #303030 !important;
  -webkit-text-fill-color: #303030;
  font-size: 13px;
  font-weight: 600;
}

#loginContainer #submit_button:hover:not(:disabled),
#loginContainer #submit_button:focus-visible:not(:disabled) {
  border-color: #bfc1c5;
  background: #caccd0;
  color: #202020 !important;
  -webkit-text-fill-color: #202020;
  transform: translateY(-1px);
}

#loginContainer .ids-login-section li {
  margin-top: 16px;
}

#loginContainer .ids-login-section {
  margin: 0;
  padding: 0;
}

#loginContainer .ids-login__forgotpassword {
  justify-content: flex-start;
}

#loginContainer .icon-forget-password {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  padding: 0;
  background-color: #40608f !important;
  background-image: none !important;
  opacity: 0.88;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5.5' cy='12' r='4.2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M9.7 12H23M17 12v3M21 12v2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5.5' cy='12' r='4.2' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M9.7 12H23M17 12v3M21 12v2' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 22px;
  mask-size: 22px;
}

#loginContainer .ids-input-reveal {
  width: 24px;
  height: 24px;
  right: 15px;
  top: 15px;
  background-color: #40608f !important;
  background-image: none !important;
  opacity: 0.8;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.5 12s3.4-5.5 9.5-5.5 9.5 5.5 9.5 5.5-3.4 5.5-9.5 5.5S2.5 12 2.5 12Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.5' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.5 12s3.4-5.5 9.5-5.5 9.5 5.5 9.5 5.5-3.4 5.5-9.5 5.5S2.5 12 2.5 12Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.5' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 22px;
  mask-size: 22px;
}

#loginContainer #forgotPasswordLink {
  color: #40608f !important;
  font-size: 13px;
  font-weight: 500;
}

#loginContainer .ids-login-sp {
  justify-content: center;
  height: auto;
  margin: auto 0 0;
  padding-top: 28px;
}

#loginContainer .ids-login-sp img {
  width: 112px;
  height: auto;
  opacity: 0.9;
}

.login-visual {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 48px 52px;
  color: #ffffff;
  background:
    linear-gradient(145deg, #484848, #292929 62%, #323232),
    #292929;
}

.visual-brand {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  min-height: 48px;
}

.visual-brand .bgtitle {
  width: 220px;
  height: 54px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.visual-brand-fallback {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.visual-brand .bgtitle[style*="background-image"] + .visual-brand-fallback {
  display: none;
}

.visual-copy {
  position: relative;
  z-index: 2;
  max-width: 410px;
}

.visual-copy .visual-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.visual-copy h2 {
  max-width: 360px;
  margin: 0 0 14px;
  border-bottom: 0;
  padding-bottom: 0;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 36px) !important;
  font-weight: 600;
  line-height: 1.12;
}

.visual-copy p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.visual-login-card {
  position: absolute;
  z-index: 1;
  top: 60px;
  right: 52px;
  width: 210px;
  height: 220px;
  padding: 23px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  transform: rotate(3deg);
}

.visual-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.visual-avatar {
  width: 48px;
  height: 48px;
  border: 7px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: #40608f;
  box-shadow: inset 0 -13px 0 #ffffff;
}

.visual-card-lines {
  flex: 1;
}

.visual-card-lines i,
.visual-card-field,
.visual-card-button {
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.visual-card-lines i:first-child {
  width: 80%;
  height: 8px;
  margin-bottom: 8px;
}

.visual-card-lines i:last-child {
  width: 55%;
  height: 6px;
  opacity: 0.55;
}

.visual-card-field {
  width: 100%;
  height: 13px;
  margin-bottom: 17px;
  opacity: 0.58;
}

.visual-card-field--short {
  width: 72%;
}

.visual-card-button {
  width: 100%;
  height: 38px;
  margin-top: 28px;
  background: #ffffff;
}

.visual-lock {
  position: absolute;
  right: -24px;
  bottom: -22px;
  width: 72px;
  height: 64px;
  border: 7px solid #ffffff;
  border-radius: 18px;
  background: #40608f;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

.visual-lock::before {
  content: "";
  position: absolute;
  width: 34px;
  height: 32px;
  top: -32px;
  left: 12px;
  border: 7px solid #ffffff;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.visual-lock::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 20px;
  top: 16px;
  left: 25px;
  border-radius: 999px;
  background: #ffffff;
}

.visual-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.visual-orbit--one {
  width: 470px;
  height: 470px;
  top: -150px;
  right: -160px;
}

.visual-orbit--two {
  width: 310px;
  height: 310px;
  right: -65px;
  bottom: -120px;
}

.visual-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.visual-dot--one {
  width: 9px;
  height: 9px;
  top: 115px;
  left: 80px;
}

.visual-dot--two {
  width: 6px;
  height: 6px;
  top: 200px;
  left: 42px;
}

.visual-dot--three {
  width: 12px;
  height: 12px;
  right: 38px;
  bottom: 92px;
}

#recoveryContainer.ids-login-container {
  display: grid;
  grid-template-columns: minmax(420px, 1.02fr) minmax(400px, 0.98fr);
  width: min(1040px, 100%);
  min-height: 620px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.16),
    0 30px 90px rgba(0, 0, 0, 0.36);
}

#recoveryContainer.hide {
  display: none;
}

#recoveryContainer.ids-login-container::after {
  content: none;
  display: none;
}

.recovery-visual {
  grid-column: 1;
  grid-row: 1;
}

.recovery-panel {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  padding: 50px 48px 36px;
  color: #303030;
  background: #ffffff;
}

.recovery-heading {
  margin-bottom: 26px;
  text-align: center;
}

.recovery-heading h1 {
  margin: 0 0 10px;
  color: #0d0f3b;
  font-size: clamp(28px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.1;
}

.recovery-heading p {
  max-width: 320px;
  margin: 0 auto;
  color: #666666;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

#recoveryContainer .ids-login-login {
  display: flex;
  flex: 1 1 auto;
  float: none;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}

#recoveryContainer .ids-fieldset--login {
  margin: 0;
  padding: 0;
}

#recoveryContainer .ids-input-group--login {
  margin: 0;
  padding-bottom: 0;
}

#recoveryContainer .ids-control-container {
  margin-bottom: 14px;
}

#recoveryContainer .fd-input-group {
  align-items: center;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid #d9dce4;
  border-radius: 14px;
  background: #f7f8fb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#recoveryContainer .fd-input-group:focus-within {
  border-color: #40608f;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(64, 96, 143, 0.12);
}

#recoveryContainer .ids-control-container input[type="text"],
#recoveryContainer .ids-control-container input[type="password"],
#recoveryContainer .ids-control-container select {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 52px;
  padding: 0 8px !important;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #303030;
  font-size: 14px;
}

#recoveryContainer .icon-login {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  padding: 0;
  background-color: #40608f !important;
  background-image: none !important;
  opacity: 0.88;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 24px;
  mask-size: 24px;
}

#recoveryContainer .icon-login.icon-user {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M4.5 20c.55-4.2 3.05-6.5 7.5-6.5s6.95 2.3 7.5 6.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M4.5 20c.55-4.2 3.05-6.5 7.5-6.5s6.95 2.3 7.5 6.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

#recoveryContainer .icon-login.icon-password {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='10' width='16' height='11' rx='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3M12 14.5v2.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4' y='10' width='16' height='11' rx='3' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3M12 14.5v2.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

#recoveryContainer .icon-login.icon-organization {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 21V5.5L12 3v18M12 8h8v13M7.5 8h1M7.5 12h1M7.5 16h1M15.5 12h1M15.5 16h1M2.5 21h19' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 21V5.5L12 3v18M12 8h8v13M7.5 8h1M7.5 12h1M7.5 16h1M15.5 12h1M15.5 16h1M2.5 21h19' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#recoveryContainer .divsubmit {
  margin-top: 14px;
}

#recoveryContainer .stage {
  height: 0;
  min-height: 0;
  padding: 0;
  overflow: visible;
}

#recoveryContainer .ids-button--recovery-primary,
#recoveryContainer .ids-button--recovery-secondary {
  min-height: 52px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
}

#recoveryContainer .ids-button--recovery-primary {
  border-color: #c9cacf;
  background: #d8d9dc;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  color: #303030 !important;
  -webkit-text-fill-color: #303030;
}

#recoveryContainer .ids-button--recovery-primary:hover:not(:disabled),
#recoveryContainer .ids-button--recovery-primary:focus:not(:disabled),
#recoveryContainer .ids-button--recovery-primary:focus-visible:not(:disabled) {
  border-color: #bfc1c5;
  background: #caccd0;
  color: #202020 !important;
  -webkit-text-fill-color: #202020;
}

#recoveryContainer .ids-button--recovery-secondary {
  border-color: #d9dce4;
  color: #40608f;
}

#recoveryContainer .ids-button--recovery-secondary:hover {
  border-color: #40608f;
}

#recoveryContainer .ids-button--recovery-secondary:hover,
#recoveryContainer .ids-button--recovery-secondary:focus,
#recoveryContainer .ids-button--recovery-secondary:focus-visible,
#recoveryContainer .ids-button--recovery-secondary:active {
  border-color: #40608f;
  background: #eef2f8;
  color: #40608f !important;
  -webkit-text-fill-color: #40608f;
}

#recoveryContainer .ids-login-sp {
  justify-content: center;
  height: auto;
  margin: auto 0 0;
  padding-top: 24px;
}

#recoveryContainer .ids-login-sp img {
  width: 112px;
  height: auto;
  opacity: 0.9;
}

#recoveryContainer .ids-input-reveal {
  width: 24px;
  height: 24px;
  right: 15px;
  top: 15px;
  background-color: #40608f !important;
  background-image: none !important;
  opacity: 0.8;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.5 12s3.4-5.5 9.5-5.5 9.5 5.5 9.5 5.5-3.4 5.5-9.5 5.5S2.5 12 2.5 12Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.5' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.5 12s3.4-5.5 9.5-5.5 9.5 5.5 9.5 5.5-3.4 5.5-9.5 5.5S2.5 12 2.5 12Z' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='2.5' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 22px;
  mask-size: 22px;
}

#recoveryContainer > .recovery-panel > .ids-login-login > div:not(.ids-login-sp):not(.alert) > p {
  margin: 0 0 14px !important;
  color: #555555;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

#langSelectorWrap {
  top: 18px !important;
  right: 18px !important;
}

#langSelector {
  min-width: 158px;
  height: 42px;
  padding: 0 38px 0 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  color: #303030;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 820px) {
  body[data-page="ids-login/logon"] {
    padding: 22px;
  }

  #loginContainer.ids-login-container {
    grid-template-columns: 1fr;
    width: min(480px, 100%);
    min-height: auto;
  }

  #recoveryContainer.ids-login-container {
    grid-template-columns: 1fr;
    width: min(480px, 100%);
    min-height: auto;
  }

  .login-panel,
  .login-visual {
    grid-column: 1;
    grid-row: auto;
  }

  .recovery-panel {
    grid-column: 1;
    grid-row: 1;
    min-height: 620px;
    padding: 44px 38px 30px;
  }

  .recovery-visual {
    display: none;
  }

  .login-panel {
    padding: 44px 38px 30px;
  }

  .login-visual {
    min-height: 260px;
    padding: 30px 38px;
  }

  .visual-login-card {
    top: 35px;
    right: 38px;
    width: 170px;
    height: 185px;
    padding: 20px;
    opacity: 0.55;
  }

  .visual-copy {
    margin-top: 54px;
    max-width: 250px;
  }

  .visual-copy h2 {
    font-size: 25px !important;
  }

  .visual-copy p,
  .visual-copy .visual-kicker {
    display: none;
  }
}

@media (max-width: 520px) {
  body[data-page="ids-login/logon"] {
    display: block;
    padding: 0;
    background: #ffffff;
  }

  body[data-page="ids-login/logon"]::before,
  body[data-page="ids-login/logon"]::after {
    display: none;
  }

  #loginContainer.ids-login-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .login-panel {
    order: 2;
    flex: 1 1 auto;
    min-height: calc(100svh - 104px);
    padding: 32px 24px 24px;
  }

  .login-heading {
    margin-bottom: 26px;
    text-align: center;
  }

  .login-heading h1 {
    font-size: 32px;
  }

  .login-heading p {
    max-width: 310px;
    margin-right: auto;
    margin-left: auto;
  }

  .login-visual {
    order: 1;
    display: flex;
    flex: 0 0 104px;
    min-height: 104px;
    padding: 24px;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 22px 22px;
  }

  .visual-brand {
    min-height: 48px;
  }

  .visual-brand .bgtitle {
    display: none;
    width: 190px;
    height: 48px;
    background-position: center;
  }

  .visual-brand-fallback {
    position: static;
    display: block !important;
    padding-top: 7px;
    transform: none;
    text-align: center;
  }

  .visual-brand .bgtitle[style*="background-image"] + .visual-brand-fallback {
    display: none;
  }

  .visual-copy,
  .visual-login-card,
  .visual-orbit,
  .visual-dot {
    display: none;
  }

  #loginContainer .fd-input-group,
  #loginContainer #submit_button {
    min-height: 54px;
  }

  #loginContainer .ids-login__forgotpassword {
    min-height: 44px;
  }

  #loginContainer .ids-login-section li {
    margin-top: 10px;
  }

  #loginContainer .ids-login-sp {
    padding-top: 24px;
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }

  #recoveryContainer.ids-login-container {
    display: block;
    min-height: 100svh;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #recoveryContainer .recovery-visual {
    display: none;
  }

  .recovery-panel {
    min-height: 100svh;
    padding: 72px 24px max(24px, env(safe-area-inset-bottom));
  }

  .recovery-heading {
    margin-bottom: 24px;
  }

  .recovery-heading h1 {
    font-size: 30px;
  }

  #langSelectorWrap {
    top: 12px !important;
    right: 12px !important;
  }

  #langSelector {
    min-width: 132px;
    height: 38px;
    padding-right: 30px !important;
    font-size: 11px;
  }
}

@media (max-width: 520px) {
  .modal {
    align-items: flex-start;
    padding: 16px;
    overflow-y: auto;
  }

  .modal-content {
    width: 100%;
    max-height: calc(100svh - 32px);
    padding: 28px 20px 24px;
    border-radius: 22px;
  }

  .mfa-close {
    top: 14px;
    right: 14px;
    width: 36px;
    min-width: 36px;
    height: 36px;
  }

  .mfa-security-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }

  .mfa-security-icon::before {
    left: 14px;
    top: 21px;
  }

  .mfa-security-icon::after {
    left: 18px;
    top: 10px;
  }

  .mfa-eyebrow {
    padding: 0 38px;
    font-size: 9px;
  }

  .modal-title {
    margin-right: 22px;
    margin-left: 22px;
    font-size: 24px;
  }

  .modal-subtitle {
    margin-bottom: 18px;
    font-size: 13px;
  }

  .instruction {
    margin-bottom: 16px;
    padding: 14px 15px;
  }

  .instruction ol {
    font-size: 12px;
  }

  .qr-container {
    min-height: 146px;
    margin-bottom: 16px;
  }

  #qrcode svg {
    width: 138px;
    height: 138px;
  }

  .digit-container {
    gap: 6px;
    margin-bottom: 15px;
  }

  .digit-input {
    height: 48px;
    border-radius: 11px;
    font-size: 20px;
  }
}

@media (max-width: 340px) {
  .modal {
    padding: 10px;
  }

  .modal-content {
    max-height: calc(100svh - 20px);
    padding-right: 16px;
    padding-left: 16px;
  }

  .digit-container {
    gap: 4px;
  }

  .digit-input {
    height: 44px;
  }
}
