body#html:has(.card){
  background:var(--html-sidebar-bg, #1a202e);
  color:var(--html-sidebar-ink, #e2e8f0);
  height:100%;
  overflow:hidden;
}

.card{
  align-items:center;
  box-sizing:border-box;
  display:flex;
  height:100%;
  justify-content:center;
  margin:0;
  min-height:0;
  overflow:auto;
  padding:24px 16px;
}

.card-body{
  padding:16px 22px 20px;
}

.card-body-button{
  background:var(--html-button-background-color, var(--html-sidebar-active, #2563eb));
  border:0;
  border-radius:10px;
  color:var(--html-button-font-color, #ffffff);
  font-weight:700;
  letter-spacing:.25px;
  padding:11px 14px;
  transition:filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  width:100%;
  height:42px;
  box-shadow:0 6px 16px color-mix(in srgb, var(--html-button-background-color, #2563eb) 22%, transparent);
}

.card-body-button:hover:not(:disabled){
  filter:brightness(1.05);
  transform:translateY(-1px);
}

.card-body-button:disabled{
  cursor:not-allowed;
  filter:none;
  opacity:.65;
  transform:none;
  box-shadow:none;
}

.card-body-form{
  display:grid;
  gap:var(--html-space);
  grid-template-columns:1fr;
  margin:0;
}

.card-body-input{
  background:var(--html-input-background-color, #ffffff);
  border:1px solid var(--html-border-color, #d2dceb);
  border-radius:10px;
  color:var(--html-color, #505f73);
  height: unset;
  line-height:1.3;
  outline:none;
  padding:12px;
  transition:border-color 170ms ease, box-shadow 170ms ease;
  width:100%;
  height: 40px;
}

.card-body-input:focus,
.card-body-input:focus-visible{
  border-color:var(--html-input-border-focus-color, var(--html-button-background-color, #2563eb));
  box-shadow:0 0 0 3px color-mix(in srgb, var(--html-button-background-color, #2563eb) 18%, transparent);
}

.card-body-input-readonly,
.card-body-input[readonly]{
  background-color:var(--html-input-readonly-background-color, #f5f5f5);
  color:var(--html-font-color);
  cursor:default;
  opacity:.9;
}

.card-otp-boxes{
  display:grid;
  gap:8px;
  grid-template-columns:repeat(var(--card-otp-length, 6), minmax(0, 1fr));
  width:100%;
}

.card-otp-digit{
  background-color:var(--html-input-background-color, #fff);
  border:1px solid var(--html-border-color);
  border-radius:var(--html-border-radius, 4px);
  color:var(--html-color);
  font-size:1.15rem;
  font-weight:650;
  height:48px;
  line-height:1;
  outline:none;
  padding:0;
  text-align:center;
  transition:border-color 170ms ease, box-shadow 170ms ease;
  width:100%;
}

.card-otp-digit:focus{
  border-color:var(--html-input-border-focus-color, var(--html-button-background-color, #2563eb));
  box-shadow:0 0 0 3px color-mix(in srgb, var(--html-button-background-color, #2563eb) 18%, transparent);
}

select.card-body-input{
  background-color:var(--html-input-background-color, #fff);
  border:1px solid var(--html-border-color, #d2dceb);
  border-radius:10px;
  color:var(--html-color);
}

.card-body-label{
  color:var(--html-color, #505f73);
  font-size:var(--html-font-size);
  font-weight:600;
  letter-spacing:.2px;
  line-height:1.2;
  margin-top:2px;
}

.card-body-link{
  color: var(--html-button-background-color, #2563eb);
  font-size:var(--html-font-size);
  line-height:1.3;
  text-decoration:none;
  transition:color 160ms ease, opacity 160ms ease;
}

.card-body-link:hover{
  opacity:.85;
  text-decoration:underline;
}

.card-body-options{
  align-items:center;
  display:flex;
  justify-content:flex-end;
  margin:2px 0 4px;
}

.card-container{
  width:100%;
}

.card-divider{
  background:var(--html-border-color);
  height:1px;
  margin:0 auto;
  width:calc(100% - 44px);
}

.card-header{
  align-items:stretch;
  display:flex;
  flex-direction:column;
  gap:var(--html-space);
  padding:22px 22px 12px;
  width:100%;
}

.card-header-brand{
  align-items:center;
  display:flex;
  justify-content:center;
  margin-bottom:var(--html-space);
  min-width:0;
  width:100%;
}

.card-header-logo-image{
  display:block;
  height:auto;
  margin:0 auto;
  max-height:65px;
  max-width:100%;
  object-fit:contain;
  object-position:center;
  opacity:.9;
  transition:opacity .3s ease;
  width:auto;
}

.card-header-logo-image-main{
  max-height:72px;
  max-width:min(100%, 240px);
}

.card-header-logo-image:hover{
  opacity:1;
}

.card-footer{
  background:color-mix(in srgb, var(--html-background-color, #ecf1f8) 70%, #ffffff);
  border-top:1px solid var(--html-border-color, #d2dceb);
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:16px 22px 20px;
  text-align:center;
}

.card-footer-branding{
  align-items:center;
  color:var(--html-color, #505f73);
  display:flex;
  flex-wrap:wrap;
  font-family:var(--html-font-family);
  font-size:calc(var(--html-font-size) * 1.05);
  font-weight:700;
  gap:6px;
  justify-content:center;
  letter-spacing:.04em;
  line-height:1.4;
  max-width:100%;
  opacity:1;
  padding:0 2px;
}

.card-footer-logo{
  display:block;
  filter:grayscale(1);
  height:16px;
  object-fit:contain;
  opacity:.75;
  width:auto;
}

.card-footer-vendor-text{
  color:var(--html-color, #505f73);
  display:inline-block;
  font-weight:700;
  letter-spacing:.04em;
  max-width:100%;
  white-space:nowrap;
}

.card-footer-vendor-text[hidden]{
  display:none !important;
}

.card-footer-copyright{
  color:var(--html-muted-color, #94a3b8);
  font-family:var(--html-font-family);
  font-size:calc(var(--html-font-size) * 0.78);
  line-height:1.5;
  margin:0;
  opacity:1;
  padding:0 2px 2px;
}

.card-footer-powered-by{
  align-items:center;
  color:var(--html-muted-color, #94a3b8);
  display:inline-flex;
  flex-wrap:wrap;
  font-family:var(--html-font-family);
  gap:6px 8px;
  justify-content:center;
  line-height:1.4;
  max-width:100%;
  opacity:1;
  padding:0 2px;
  white-space:normal;
}

.card-footer-powered-by-label{
  color:var(--html-muted-color, #94a3b8);
  flex-shrink:0;
  font-size:calc(var(--html-font-size) * 0.78);
  letter-spacing:.04em;
  opacity:1;
  white-space:nowrap;
}

.card-footer-powered-by-logo,
.card-footer-powered-by > .card-footer-logo{
  display:block;
  flex-shrink:0;
  filter:grayscale(1);
  height:18px;
  object-fit:contain;
  opacity:.75;
  width:auto;
}

@media(max-width:480px){
  .card-footer-powered-by{
    flex-direction:column;
    white-space:normal;
  }
}

.card-footer-systems{
  align-items:center;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}

.card-footer-systems-logo{
  display:block;
  filter:grayscale(1);
  height:18px;
  object-fit:contain;
  opacity:.8;
  width:auto;
}

.card-footer-powered{
  align-items:center;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.card-footer-powered-label{
  color:var(--html-muted-color, #94a3b8);
  font-family:var(--html-font-family);
  font-size:calc(var(--html-font-size) * 0.78);
  letter-spacing:.04em;
  line-height:1.3;
  margin:0;
  opacity:1;
}

.card-footer-powered-logos{
  align-items:center;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
}

.card-footer-powered-logo{
  display:block;
  filter:grayscale(1);
  height:18px;
  object-fit:contain;
  opacity:.8;
  width:auto;
}

#card-message{
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  left:50%;
  max-width:440px;
  padding:0 16px;
  pointer-events:none;
  position:fixed;
  top:16px;
  transform:translateX(-50%);
  width:100%;
  z-index:40;
}

#card-message:empty{
  display:none;
}

#card-message > .message{
  margin:0;
  pointer-events:auto;
  width:100%;
}

.card-header-title{
  align-self:flex-start;
  color:var(--html-color, #505f73);
  font-size:clamp(var(--html-font-size),calc(var(--html-font-size) + 0.45vw),calc(var(--html-font-size) * 2));
  font-weight:700;
  letter-spacing:.2px;
  line-height:1.3;
  margin:0;
  text-align:left;
  width:100%;
}

.card-panel{
  background-color:var(--html-active-background-color, #fcfdff);
  border:1px solid var(--html-border-color, #d2dceb);
  border-radius:12px;
  box-shadow:0 16px 40px rgba(0, 0, 0, 0.28);
  overflow:hidden;
  position:relative;
  width:100%;
}

.card-wrapper{
  margin:0 auto;
  max-width:440px;
  width:100%;
}


@keyframes card-fade-in{
  from{
    opacity:0;
    transform:translateY(10px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

@media(max-width:480px){
  .card-divider{
    width:calc(100% - 36px);
  }

  .card-footer{
    padding:12px 18px 16px;
  }

  .card-header{
    align-items:stretch;
    padding:18px 18px var(--html-space);
  }
}