body.zd-login-body {
  margin: 0;
  min-height: 100vh;
  background: #030915;
  color: #eef3ff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zd-login-v2 {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(2,7,18,0.12) 0%, rgba(2,7,18,0.42) 100%);
}

.zd-login-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #030915;
  background-image:
    linear-gradient(180deg, rgba(2,6,16,0.06) 0%, rgba(2,6,16,0.30) 100%),
    url("/dashboard/static/cockpit/login_bg_highend.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.zd-login-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 356px);
  padding: 28px 28px 22px;
  border-radius: 26px;
  border: 1px solid rgba(122, 160, 255, 0.20);
  background:
    linear-gradient(180deg, rgba(8,16,33,0.92) 0%, rgba(5,12,25,0.95) 100%);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 0 80px rgba(34, 92, 194, 0.14);
  backdrop-filter: blur(10px);
}

.zd-login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.zd-login-brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(233, 199, 107, 0.20), rgba(233, 199, 107, 0.08));
  border: 1px solid rgba(233, 199, 107, 0.40);
  color: #f0cf77;
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
  box-shadow: 0 0 20px rgba(233, 199, 107, 0.10);
}

.zd-login-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.zd-login-brand-copy strong {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.zd-login-brand-copy small {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8696b8;
}

.zd-login-rule {
  margin-bottom: 18px;
}

.zd-login-rule span {
  display: block;
  width: 72px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e7c66d 0%, rgba(231,198,109,0.08) 100%);
}

.zd-login-copy {
  margin-bottom: 18px;
}

.zd-login-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b5c2dd;
}

.zd-login-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #35d6a4;
  box-shadow: 0 0 12px rgba(53, 214, 164, 0.45);
}

.zd-login-copy h1 {
  margin: 0 0 12px;
  font-size: 39px;
  line-height: 1.0;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #f5f8ff;
}

.zd-login-copy p {
  margin: 0;
  max-width: 240px;
  font-size: 14px;
  line-height: 1.55;
  color: #c6d1e7;
}

.zd-login-alert {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 112, 112, 0.30);
  background: rgba(120, 22, 30, 0.22);
  color: #ffd0d0;
  font-size: 13px;
}

.zd-login-form {
  display: grid;
  gap: 16px;
}

.zd-login-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93a3c2;
}

.zd-login-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 14px;
  border-radius: 15px;
  border: 1px solid rgba(122, 160, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(17, 27, 47, 0.92) 0%, rgba(13, 22, 39, 0.96) 100%);
  color: #9ab8ff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.zd-login-input-wrap:focus-within {
  border-color: rgba(71, 128, 255, 0.82);
  box-shadow:
    0 0 0 3px rgba(52, 115, 255, 0.14),
    0 0 18px rgba(52, 115, 255, 0.18);
}

.zd-login-input-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #eef3ff;
  font-size: 16px;
  font-family: inherit;
}

.zd-login-input-wrap input::placeholder {
  color: #7c8baa;
}

.zd-login-button {
  margin-top: 2px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  color: #15110a;
  background:
    linear-gradient(90deg, #f0d68f 0%, #d5aa49 100%);
  box-shadow:
    0 10px 32px rgba(211, 170, 73, 0.24),
    0 1px 0 rgba(255,255,255,0.35) inset;
}

.zd-login-button:hover {
  filter: brightness(1.03);
}

.zd-login-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(110, 137, 188, 0.14);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #8ea0c4;
}

.zd-login-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.zd-login-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35d6a4;
  box-shadow: 0 0 10px rgba(53, 214, 164, 0.42);
}

@media (max-width: 720px) {
  .zd-login-v2 {
    padding: 16px;
  }

  .zd-login-shell {
    width: min(100%, 100%);
    padding: 24px 20px 20px;
    border-radius: 22px;
  }

  .zd-login-copy h1 {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zd-login-input-wrap,
  .zd-login-button {
    transition: none !important;
  }
}


/* ZD LOGIN BACKGROUND FINAL V2 */


/* =========================================================
   VOLLER BROWSER-VIEWPORT
   ========================================================= */

html {
  width:
    100% !important;

  height:
    100% !important;

  margin:
    0 !important;

  padding:
    0 !important;

  background:
    #01040a !important;
}


body.zd-login-body {
  box-sizing:
    border-box !important;

  width:
    100vw !important;

  min-width:
    100vw !important;

  max-width:
    none !important;

  height:
    100vh !important;

  height:
    100dvh !important;

  min-height:
    100vh !important;

  margin:
    0 !important;

  padding:
    0 !important;

  overflow:
    hidden !important;

  background:
    #01040a !important;
}


.zd-login-v2 {
  box-sizing:
    border-box !important;

  position:
    fixed !important;

  inset:
    0 !important;

  left:
    0 !important;

  right:
    0 !important;

  top:
    0 !important;

  bottom:
    0 !important;

  display:
    grid !important;

  place-items:
    center !important;

  width:
    100vw !important;

  min-width:
    100vw !important;

  max-width:
    none !important;

  height:
    100vh !important;

  height:
    100dvh !important;

  min-height:
    100vh !important;

  margin:
    0 !important;

  padding:
    24px !important;

  transform:
    none !important;

  overflow:
    hidden !important;

  background:
    #01040a !important;
}


/* =========================================================
   DAS EINE STATISCHE HINTERGRUNDBILD
   ========================================================= */

.zd-login-bg-image {
  position:
    absolute !important;

  z-index:
    0 !important;

  inset:
    0 !important;

  width:
    100% !important;

  height:
    100% !important;

  min-width:
    100% !important;

  min-height:
    100% !important;

  opacity:
    1 !important;

  pointer-events:
    none !important;

  background-color:
    #01040a !important;

  background-image:
    url("/dashboard/static/cockpit/login_bg_highend.svg") !important;

  background-repeat:
    no-repeat !important;

  background-position:
    center center !important;

  background-size:
    cover !important;

  transform:
    none !important;
}


/* Keine weiteren künstlichen Hintergründe */

.zd-login-v2::before,
.zd-login-v2::after,
.zd-login-bg-image::before,
.zd-login-bg-image::after {
  content:
    none !important;

  display:
    none !important;
}


/* =========================================================
   LOGIN-CARD EXAKT MITTIG
   ========================================================= */

.zd-login-shell {
  box-sizing:
    border-box !important;

  position:
    relative !important;

  z-index:
    5 !important;

  left:
    auto !important;

  right:
    auto !important;

  top:
    auto !important;

  bottom:
    auto !important;

  justify-self:
    center !important;

  align-self:
    center !important;

  margin:
    0 !important;

  transform:
    none !important;

  translate:
    none !important;
}


/* =========================================================
   NORMALES Z OHNE KASTEN
   ========================================================= */

.zd-login-brand-mark {
  display:
    inline-flex !important;

  align-items:
    center !important;

  justify-content:
    center !important;

  width:
    auto !important;

  min-width:
    22px !important;

  height:
    auto !important;

  min-height:
    0 !important;

  padding:
    0 !important;

  border:
    0 !important;

  border-radius:
    0 !important;

  background:
    transparent !important;

  box-shadow:
    none !important;

  color:
    #e7c466 !important;

  font-size:
    27px !important;

  font-weight:
    900 !important;

  line-height:
    1 !important;

  letter-spacing:
    -1.5px !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px) {

  .zd-login-v2 {
    padding:
      16px !important;
  }


  .zd-login-bg-image {
    background-position:
      50% center !important;
  }


  .zd-login-shell {
    max-width:
      calc(100vw - 32px) !important;
  }

}


/* =========================================================
   KEINE HINTERGRUNDANIMATION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .zd-login-bg-image {
    animation:
      none !important;

    transition:
      none !important;
  }

}


/* END ZD LOGIN BACKGROUND FINAL V2 */

/* ZD LOGIN REFERENCE IMAGE */

.zd-login-v2 {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 24px !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    background: #01050d !important;
}

.zd-login-bg-image {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    width: 100% !important;
    height: 100% !important;

    background-image:
        url("/dashboard/static/cockpit/login_reference.webp") !important;

    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;

    opacity: 1 !important;
    transform: none !important;
}

.zd-login-v2::before,
.zd-login-v2::after,
.zd-login-bg-image::before,
.zd-login-bg-image::after {
    content: none !important;
    display: none !important;
}

.zd-login-grid,
.zd-login-cinematic,
.zd-login-cinematic-v5,
.zd-login-orbit,
.zd-login-z,
.zd-login-hud,
.zd-ai-neural-halo,
.zd-ai-arc,
.zd-ai-energy,
.zd-ai-shards,
.zd-ai-network,
.zd-ai-particles,
.zd-ai-node,
.zd-ai-ground {
    display: none !important;
}

.zd-login-shell {
    position: relative !important;
    z-index: 10 !important;
    justify-self: center !important;
    align-self: center !important;
    margin: 0 !important;
    transform: none !important;
    translate: none !important;
}

/* END ZD LOGIN REFERENCE IMAGE */

/* ZD LOGIN GOLD FRAME V1 START */
.zd-login-shell{
  position: relative !important;
  overflow: visible !important;
  border: 1px solid rgba(229, 193, 99, 0.28) !important;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(229, 193, 99, 0.10),
    0 0 38px rgba(229, 193, 99, 0.10) !important;
}

.zd-login-shell::after{
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 30px;
  border: 1px solid rgba(229, 193, 99, 0.55);
  box-shadow:
    0 0 0 1px rgba(229, 193, 99, 0.08),
    0 0 30px rgba(229, 193, 99, 0.14);
  pointer-events: none;
}
/* ZD LOGIN GOLD FRAME V1 END */

/* ZD PASSWORD RESET LINK V1 */

.zd-login-forgot-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.zd-login-forgot {
  color: rgba(225, 195, 112, .82);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition:
    color .18s ease,
    opacity .18s ease;
}

.zd-login-forgot:hover {
  color: #f0d483;
}

.zd-login-forgot:focus-visible {
  outline: 2px solid rgba(230, 194, 94, .62);
  outline-offset: 3px;
  border-radius: 4px;
}

/* END ZD PASSWORD RESET LINK V1 */
