/*
 * 1a-Studi Academic Workspace – look for all public auth pages.
 * Loaded after the unchanged a1auth.css (and a1auth-split.css on the login).
 * Colours: Tiefblau #152C73, Indigo #39368F, Violett #7943B2, 1a-Studi-Grün #18B49D.
 */

#a1auth-root.a1auth-root {
  --a1ws-deep-blue: #152c73;
  --a1ws-indigo: #39368f;
  --a1ws-violet: #7943b2;
  --a1ws-green: #18b49d;
  --a1auth-action-green: #18b49d;
  --a1auth-action-hover: #12957f;
  background:
    radial-gradient(circle at 12% 88%, rgba(24, 180, 157, .16), transparent 42%),
    linear-gradient(135deg, var(--a1ws-deep-blue) 0%, var(--a1ws-indigo) 52%, var(--a1ws-violet) 100%);
  background-attachment: fixed;
}

/* Header: original logo | Academic Workspace */
#a1auth-root .a1auth-brand--workspace {
  display: flex;
  align-items: center;
  gap: 14px;
}

#a1auth-root .a1auth-brand__divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, .55);
}

#a1auth-root .a1auth-brand__product {
  color: #fff;
  font-family: var(--a1auth-font-copy);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .1px;
  white-space: nowrap;
}

/* Login split: no photo, a light translucent gradient instead. */
#a1auth-root .a1auth-split {
  box-shadow: 0 22px 60px rgba(13, 18, 66, .35);
}

#a1auth-root .a1auth-split__right {
  background: linear-gradient(140deg, rgba(240, 243, 255, .96) 0%, rgba(228, 224, 252, .92) 55%, rgba(214, 203, 246, .9) 100%);
}

#a1auth-root .a1auth-guide {
  max-width: 470px;
  border-color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 50px rgba(57, 54, 143, .12);
}

#a1auth-root .a1auth-guide__heading {
  color: var(--a1auth-heading);
  font-size: 29px;
}

#a1auth-root .a1auth-guide__heading span { color: var(--a1ws-green); }

#a1auth-root .a1auth-guide__intro { margin: 16px 0 20px; }

/* Feature tiles: 3 columns, square. */
#a1auth-root .a1auth-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#a1auth-root .a1auth-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 1 / 1;
  min-width: 0;
  padding: 10px 6px;
  border: 1px solid #e3e6ef;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

#a1auth-root .a1auth-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #d3f4ed;
  color: var(--a1ws-green);
}

#a1auth-root .a1auth-feature__icon svg { width: 21px; height: 21px; }

#a1auth-root .a1auth-feature--service .a1auth-feature__icon {
  background: #ece4fa;
  color: var(--a1ws-violet);
}

#a1auth-root .a1auth-feature__label {
  color: var(--a1auth-heading);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  -webkit-hyphens: auto;
  hyphens: auto;
}

#a1auth-root .a1auth-guide__privacy a { color: var(--a1auth-action-green); }

/* Single-card pages (register, password, verify) sit on the gradient. */
#a1auth-root .a1auth-stage:not(.a1auth-stage--split) .a1auth-card { box-shadow: 0 22px 60px rgba(13, 18, 66, .3); }
#a1auth-root .a1auth-legal--outside,
#a1auth-root .a1auth-legal--outside .a1auth-link { color: #fff; }

@media (max-width: 1050px) {
  #a1auth-root .a1auth-feature__label { font-size: 11px; }
}

@media (max-width: 520px) {
  /* a1auth.css enlarges the logo to 180px on phones; keep room for the product name. */
  #a1auth-root .a1auth-brand--workspace .a1auth-brand__image { width: 112px; }
  #a1auth-root .a1auth-brand__product { font-size: 13px; }
  #a1auth-root .a1auth-feature { padding: 8px 4px; }
  #a1auth-root .a1auth-feature__label { font-size: 10.5px; }
  #a1auth-root .a1auth-brand--workspace { gap: 10px; }
  #a1auth-root .a1auth-features { gap: 8px; }
  #a1auth-root .a1auth-feature__icon { width: 34px; height: 34px; }
}
