/* Shared administrator and customer login composition. */
body.login-body.login-reference {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh !important;
  padding: 76px 32px 0 !important;
  color-scheme: dark;
  color: #e9eff8;
  background:
    radial-gradient(ellipse at 82% 12%, #0786a31a, transparent 65%),
    linear-gradient(150deg, #062d41, #073c52 45%, #051d32);
}

body.login-reference::before {
  z-index: 0;
  background:
    linear-gradient(#50d6ff09 1px, transparent 1px),
    linear-gradient(90deg, #50d6ff09 1px, transparent 1px);
  background-size: 46px 46px;
  background-position: -4px -3px;
  mask-image: none;
}

body.login-reference::after {
  inset: -228px auto auto calc(84.8% - 438px);
  width: 876px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 1;
  background:
    radial-gradient(circle at 50% 37.9%, #27c7e522 0 89px, transparent 90px),
    repeating-radial-gradient(circle, transparent 0 109px, #9bbac514 110px 111px, transparent 112px 146px);
  mask-image: none;
  filter: none;
}

body.login-reference .login-shell.login-shell-modern {
  flex: 0 0 auto;
  overflow: visible !important;
  width: min(1176px, 100%) !important;
  left: 6.5px;
  max-width: 100% !important;
  grid-template-columns: 620px 420px !important;
  gap: 136px !important;
  margin: 0 auto;
  padding: 0 !important;
  align-items: center !important;
  justify-content: space-between !important;
}

body.login-reference .login-shell::before {
  content: "";
  display: block;
  position: fixed;
  inset: 29px 16px 24px 28px;
  pointer-events: none;
  background:
    linear-gradient(#24bada55, #24bada55) left top / 24px 1px no-repeat,
    linear-gradient(#24bada55, #24bada55) left top / 1px 24px no-repeat,
    linear-gradient(#24bada55, #24bada55) right bottom / 24px 1px no-repeat,
    linear-gradient(#24bada55, #24bada55) right bottom / 1px 24px no-repeat;
}

body.login-reference .login-hero-panel {
  min-width: 0;
  gap: 28px !important;
  text-align: left;
}

body.login-reference .login-kicker {
  justify-self: start;
  gap: 8px;
  padding: 5px 14px;
  border: 1px solid #21b6cf40;
  background: #13adc00d;
  color: #39efff;
  box-shadow: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

body.login-reference :is(.login-kicker, .login-status-strip) i {
  position: relative;
  overflow: visible;
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  background: #2fddaf;
  box-shadow: 0 0 10px #27d8a980;
}

body.login-reference :is(.login-kicker, .login-status-strip) i::after {
  content: "";
  position: absolute;
  inset: -3px;
  border: 1px solid #2fddaf99;
  border-radius: 50%;
  background: #2fddaf1a;
  pointer-events: none;
  animation: login-status-pulse 1.8s ease-out infinite;
}

@keyframes login-status-pulse {
  0% { transform: scale(0.45); opacity: 0.9; }
  80%, 100% { transform: scale(1.8); opacity: 0; }
}

body.login-reference .login-hero-panel h1 {
  margin: 0;
  font-size: 56px !important;
  font-weight: 700;
  line-height: 1.23 !important;
  letter-spacing: 0;
  color: #20d8f5;
  background: none;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
}

body.login-reference .login-hero-subtitle {
  margin: -10px 0 6px;
  color: #39efff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.7;
  text-shadow: none;
}

body.login-reference .login-feature-grid {
  max-width: 100% !important;
  gap: 14px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.login-reference .login-feature-grid article {
  --feature-border: #24bada66;
  --feature-glow: #20c5e04d;
  position: relative;
  min-width: 0;
  min-height: 119px !important;
  padding: 16px !important;
  border: 1px solid #ffffff16;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #a1bfe51c, #b5b6e609);
  box-shadow: none;
  transform: none;
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
  animation: login-feature-cycle 8s ease-in-out infinite;
}

body.login-reference .login-feature-grid article::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--feature-border);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: login-feature-ripple 8s ease-out infinite;
  animation-delay: inherit;
}

body.login-reference .login-feature-grid article:nth-child(2) {
  --feature-border: #39b6df66;
  --feature-glow: #39b6df4d;
  animation-delay: -6s;
}

body.login-reference .login-feature-grid article:nth-child(3) {
  --feature-border: #9291e56b;
  --feature-glow: #8d7ae54d;
  animation-delay: -4s;
}

body.login-reference .login-feature-grid article:nth-child(4) {
  --feature-border: #37cfa36b;
  --feature-glow: #2ed2ae4d;
  animation-delay: -2s;
}

@keyframes login-feature-cycle {
  0%, 17.5%, 100% {
    border-color: var(--feature-border);
    box-shadow: 0 20px 30px -21px var(--feature-glow);
  }
  25%, 92.5% {
    border-color: #ffffff16;
    box-shadow: none;
  }
}

@keyframes login-feature-ripple {
  0% { inset: -1px; opacity: 0.8; }
  23% { inset: -7px; opacity: 0; }
  24%, 100% { inset: -1px; opacity: 0; }
}

body.login-reference .login-feature-grid .feature-icon {
  --feature-icon: url("/login-radar.svg");
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  border: 1px solid #24bada3b;
  border-radius: 8px;
  background: #22b4d00a;
  color: #62def4;
  text-shadow: none;
}

body.login-reference .feature-icon::before {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: var(--feature-icon) center / contain no-repeat;
  -webkit-mask: var(--feature-icon) center / contain no-repeat;
}

body.login-reference .login-feature-grid .feature-bot {
  --feature-icon: url("/login-bot.svg");
  color: #74c9f2;
}

body.login-reference .login-feature-grid .feature-globe {
  --feature-icon: url("/menu-globe.svg");
  color: #a9b4ff;
  border-color: #8493e52e;
  background: #8493e50b;
}

body.login-reference .login-feature-grid .feature-clock {
  --feature-icon: url("/login-clock.svg");
  color: #59dfbd;
  border-color: #41d4ad30;
  background: #41d4ad0b;
}

body.login-reference .login-feature-grid strong {
  margin: 0 0 4px;
  color: #eff8ff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

body.login-reference .login-feature-grid article > span {
  display: block;
  color: #a8bdcb;
  font-size: 12px;
  line-height: 1.5;
}

body.login-reference .login-status-strip {
  justify-self: start;
  gap: 12px;
  margin-top: 4px;
  padding: 6px 14px;
  min-height: 34px;
  border: 1px solid #ffffff14;
  background: #ffffff03;
  box-shadow: none;
  color: #b6cad7;
  font-size: 12px;
  font-weight: 400;
}

body.login-reference .login-status-strip span {
  gap: 6px;
  padding-right: 12px;
  border-color: #ffffff1a;
}

body.login-reference .login-status-strip span:last-child {
  padding-right: 0;
}

body.login-reference .login-status-strip strong {
  color: #39efff;
  font-weight: 600;
}

body.login-reference .login-panel.login-console-card {
  width: 420px !important;
  max-width: 100% !important;
  padding: 28px 28px 26px !important;
  border: 1px solid #ffffff1a;
  border-radius: 24px !important;
  background: linear-gradient(145deg, #a4dbea26, #1e4b5c9c 45%, #0d1823ed 95%);
  box-shadow:
    0 40px 65px -30px #16bfdc70,
    20px 12px 100px -36px #0a92ad4d;
  backdrop-filter: blur(18px);
  animation: login-console-pulse 3s ease-in-out infinite;
}

body.login-reference .login-panel.login-console-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid #5cddf0;
  border-radius: inherit;
  pointer-events: none;
  animation: login-console-ripple 3s ease-out infinite;
}

@keyframes login-console-pulse {
  0%, 100% {
    border-color: #6ed9ea66;
    box-shadow: 0 40px 65px -30px #16bfdc70, 0 0 20px -8px #39d5ec40;
  }
  50% {
    border-color: #8aebf5bb;
    box-shadow: 0 40px 75px -24px #16bfdc99, 0 0 36px -6px #39d5ec66;
  }
}

@keyframes login-console-ripple {
  0% { inset: -1px; opacity: 0.6; }
  85%, 100% { inset: -9px; opacity: 0; }
}

body.login-reference .login-reference-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  padding: 6px 12px;
  margin-bottom: 20px;
  border: 0;
  border-radius: 18px;
  background: transparent;
}

body.login-reference .login-reference-banner > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: contrast(0.65) brightness(1.65) saturate(0.9)
    drop-shadow(0 0 0.6px #b9eeff99)
    drop-shadow(0 2px 6px #031b3280);
}

body.login-reference .login-brand .brand-mark::before {
  content: "";
  width: 24px;
  height: 24px;
  background: #5ce0ff;
  mask: url("/menu-shield-check.svg") center / contain no-repeat;
}

body.login-reference .login-console-card::before {
  display: none;
}

body.login-reference .login-brand {
  display: block;
  margin: 0 0 24px !important;
  padding: 0 0 20px;
  border-bottom: 1px solid #ffffff10;
}

body.login-reference .login-brand .brand-mark {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  border: 1px solid #38c5e54d;
  background: #20b8dc18;
  box-shadow: none;
  font-size: 0;
}

body.login-reference .login-brand .brand-mark::before {
  width: 16px;
  height: 16px;
}

body.login-reference .login-brand .brand-mark > img {
  display: none;
}

body.login-reference .login-brand em {
  display: flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 16px;
  padding-left: 38px;
  color: #9ae3ef;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
}

body.login-reference .login-brand strong {
  margin: 0 0 4px;
  color: #f0f5fc;
  font-size: 24px !important;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: none;
  overflow-wrap: anywhere;
}

body.login-reference .login-brand span {
  color: #9aa9bc;
  font-size: 12px;
  line-height: 1.5;
}

body.login-reference .login-form {
  gap: 16px;
}

body.login-reference .login-form input {
  min-width: 0;
  height: 46px !important;
  padding: 0 14px 0 71px !important;
  border: 1px solid #ffffff1a;
  border-radius: 12px !important;
  background: #d4e6ef08;
  color: #e9f2fb;
  font-size: 14px !important;
  box-shadow: none;
}

body.login-reference .login-form input::placeholder {
  color: #73859f;
}

body.login-reference .login-form input:focus {
  border-color: #45c8e37a;
  background: #ffffff06;
  box-shadow: 0 0 0 3px #20b5d010;
}

body.login-reference .login-field-icon {
  left: 12px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 24px;
  border: 1px solid #36c9e540;
  border-radius: 6px;
  color: #9ae9f1;
  background: #28bcdb16;
  font-size: 10px;
  font-weight: 700;
  -webkit-mask: none;
  mask: none;
}

body.login-reference .user-icon {
  color: #9ae9f1;
}

body.login-reference .password-icon {
  color: #d5cafa;
  border-color: #a393e647;
  background: #a393e614;
}

body.login-reference .login-form button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 49px !important;
  margin-top: 8px;
  border-radius: 12px !important;
  background: linear-gradient(90deg, #78a8fc, #5075f5 25%, #8b58f5 50%, #5075f5 75%, #78a8fc);
  background-size: 200% 100%;
  background-position: 200% 50%;
  animation: login-button-flow 4s linear infinite;
  color: #fff;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 0;
  box-shadow: 0 14px 28px -18px #5376f0a6;
}

body.login-reference .login-form button::after {
  content: none;
}

body.login-reference .login-form button:hover {
  filter: brightness(1.08);
  transform: none;
}

@keyframes login-button-flow {
  from { background-position: 200% 50%; }
  to { background-position: 0% 50%; }
}

body.login-reference .login-message {
  min-height: 0;
  margin: 0;
  color: #ff98aa;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

body.login-reference .login-message:empty {
  display: none;
}

body.login-reference .login-card-footer {
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 8px;
  color: #7d8fa9;
  font-size: 11px;
}

body.login-reference .login-card-footer > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.login-reference .login-card-footer > span::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("/menu-shield-check.svg") center / contain no-repeat;
  mask: url("/menu-shield-check.svg") center / contain no-repeat;
}

body.login-reference .login-card-footer a {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #ffffff20;
  border-radius: 8px;
  background: #ffffff05;
  color: #dbe5f1;
  font-size: 12px;
}

body.login-reference :is(a, button):focus-visible {
  outline: 2px solid #66dff1;
  outline-offset: 4px;
}

body.login-reference .brand-footer {
  position: relative;
  z-index: 1;
  left: auto;
  bottom: auto;
  transform: none;
  margin: auto 0 0;
  padding: 50px 0 6px;
  color: #66758c;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1279px) and (min-width: 981px) {
  body.login-reference .login-shell.login-shell-modern {
    left: 0;
    grid-template-columns: minmax(0, 1fr) 380px !important;
    gap: 40px !important;
  }
  body.login-reference .login-hero-panel h1 {
    font-size: 44px !important;
  }
  body.login-reference .login-panel.login-console-card {
    width: 380px !important;
  }
}

@media (max-width: 980px) {
  body.login-body.login-reference {
    padding: 28px 20px !important;
  }
  body.login-reference::after {
    left: 25%;
    width: min(720px, 110vw);
  }
  body.login-reference .login-shell.login-shell-modern {
    left: 0;
    width: min(620px, 100%) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 44px !important;
  }
  body.login-reference .login-panel.login-console-card {
    order: 0;
    justify-self: center !important;
    width: min(420px, 100%) !important;
  }
  body.login-reference .login-hero-panel {
    order: 1;
    gap: 24px !important;
  }
  body.login-reference .login-hero-panel h1 {
    font-size: 40px !important;
  }
  body.login-reference .brand-footer {
    margin-top: 32px;
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  body.login-reference .login-panel.login-console-card {
    padding: 24px !important;
  }
  body.login-reference .login-hero-panel h1 {
    font-size: 32px !important;
  }
  body.login-reference .login-feature-grid article {
    padding: 14px !important;
  }
  body.login-reference .login-feature-grid strong {
    font-size: 12px;
  }
  body.login-reference .login-feature-grid article > span {
    font-size: 11px;
  }
  body.login-reference .login-status-strip {
    gap: 8px;
    padding: 6px 10px;
    font-size: 11px;
  }
  body.login-reference .login-status-strip span {
    padding-right: 8px;
  }
}
