/*
 * Zweck:       Login-Skin für gitlab.versatus.eu (Tokens aus corporate-design)
 * Maintainer:  Versatus IT / Jens Tabbert <itservice@versatus.eu>
 * Erstellt:    2026-10-07
 * Lizenz:      proprietär, nur interne Nutzung (Versatus GmbH) – siehe LICENSE
 */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

body.vst-branded.login-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: #0a1525;
  font-family: Inter, "Segoe UI", sans-serif;
}

body.vst-branded #login-vanta-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #0a1525;
}

body.vst-branded.login-page > .gl-h-full {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex !important;
  align-items: safe center;
  justify-content: safe center;
  height: auto !important;
  background: transparent !important;
}

body.vst-branded .vst-login-header,
body.vst-branded .vst-login-footer {
  position: relative;
  z-index: 2;
  background: #ffffff;
  flex-shrink: 0;
}

body.vst-branded .vst-login-header {
  border-bottom: 1px solid rgba(30, 41, 59, 0.08);
}

body.vst-branded .vst-login-nav,
body.vst-branded .vst-footer-row {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
}

body.vst-branded .vst-login-nav img {
  height: 42px;
  width: auto;
  display: block;
}

body.vst-branded .footer-container,
body.vst-branded .js-portrait-logo-detection,
body.vst-branded .vst-links .gl-text-size-h2,
body.vst-branded #js-custom-sign-in-description {
  display: none !important;
}

body.vst-branded.login-page > .gl-h-full > .container {
  width: 100%;
  max-width: 1400px;
  margin-right: auto;
  margin-left: auto;
  padding: 60px 40px;
}

body.vst-branded.login-page > .gl-h-full .content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.vst-branded.login-page .row {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0 !important;
}

body.vst-branded.login-page .row > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.vst-branded .vst-links {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
}

body.vst-branded .vst-links > :not(.vst-brand-title):not(.vst-brand-tagline) {
  display: none !important;
}

body.vst-branded .vst-brand-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

body.vst-branded .vst-brand-name {
  display: block;
  color: #ffffff;
}

body.vst-branded .vst-brand-product {
  display: block;
  background: linear-gradient(135deg, #00d4ff, #2daae1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.vst-branded .vst-brand-tagline {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 0;
  max-width: 520px;
}

body.vst-branded .vst-glass {
  width: 75%;
  max-width: 400px;
  margin-left: auto;
  background: rgba(10, 14, 39, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  color: rgba(255, 255, 255, 0.92);
}

body.vst-branded .vst-glass h1 {
  display: none !important;
}

body.vst-branded .vst-glass .col-form-label,
body.vst-branded .vst-glass .custom-control-label {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.vst-branded .vst-glass a {
  color: #7adfff;
}

body.vst-branded .vst-glass [data-testid="divider"] {
  color: rgba(255, 255, 255, 0.75);
}

body.vst-branded .vst-glass [data-testid="divider"] hr {
  border-color: rgba(255, 255, 255, 0.28);
  opacity: 1;
}

body.vst-branded .vst-glass input,
body.vst-branded .vst-glass .gl-form-input {
  border-radius: 10px;
  background: #ffffff;
  color: #1e293b;
}

body.vst-branded .vst-glass #sign-in-form .btn-confirm,
body.vst-branded .vst-glass #js-sign-in-form .btn-confirm {
  background: linear-gradient(135deg, #2daae1, #00d4ff);
  border: 0;
  color: #ffffff;
  border-radius: 10px;
}

body.vst-branded .footer-message {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto !important;
  margin: 0;
  flex-shrink: 0;
  overflow: visible !important;
  line-height: 1.4;
  padding: 8px 16px;
  text-align: center;
  color: #ffffff;
  background: #e75e40;
}

body.vst-branded .footer-message p {
  height: auto !important;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  white-space: normal;
  color: #ffffff;
}

body.vst-branded .vst-login-footer {
  border-top: 1px solid rgba(30, 41, 59, 0.08);
}

body.vst-branded .vst-footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}

body.vst-branded .vst-footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

body.vst-branded .vst-footer-links a,
body.vst-branded .vst-footer-copy {
  color: #1e293b;
  text-decoration: none;
  font-size: 15px;
}

body.vst-branded .vst-footer-links a:hover {
  color: #2daae1;
}

@media (max-width: 960px) {
  body.vst-branded.login-page .row {
    grid-template-columns: 1fr;
  }

  body.vst-branded .vst-links {
    text-align: center;
  }

  body.vst-branded .vst-brand-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  body.vst-branded .vst-glass {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
}
