.suite-login {
  --suite-ink: #112f43;
  --suite-sea: #a8ecd8;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(ellipse at 82% 86%, #d7eee9, transparent 52%), #eef4f6;
}

.suite-login .rubiqs-auth-shell {
  width: min(calc(100% - 3rem), 1220px);
  min-height: min(750px, calc(100svh - 5rem));
  margin: max(1.5rem, calc((100svh - 750px) / 2)) auto;
  overflow: hidden;
  border: 1px solid #ffffffb3;
  border-radius: 28px;
  box-shadow: 0 24px 85px #15394c25;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .92fr);
}

.suite-login .rubiqs-auth-showcase {
  padding: clamp(1.65rem, 4.4vw, 4.25rem);
  background: radial-gradient(ellipse at 89% 100%, #1d6069, transparent 68%), var(--suite-ink);
  justify-content: center;
}

.suite-login .rubiqs-auth-showcase::before {
  animation: suite-login-light 3.8s ease-out both;
  opacity: .25;
}

.suite-login .rubiqs-auth-brand-lockup {
  height: 42px;
  max-width: 100%;
  filter: brightness(0) invert(1);
}

.suite-login .rubiqs-auth-copy {
  padding: clamp(2rem, 5vw, 3.8rem) 0 1.7rem;
}

.suite-login .rubiqs-auth-kicker {
  color: #a7dadb;
  margin: 0 0 .75rem;
}

.suite-login .rubiqs-auth-title {
  margin: 0;
  max-width: 13ch;
  font-size: clamp(2.55rem, 4.3vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -.065em;
}

.suite-login .rubiqs-auth-title em {
  color: var(--suite-sea);
  font-style: normal;
}

.suite-login-art {
  position: relative;
  max-width: 540px;
  padding: 1.05rem 0 0;
}

.suite-login-tools {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: .45rem;
}

.suite-login-tool {
  min-height: 57px;
  display: grid;
  place-content: center;
  justify-items: center;
  align-content: center;
  gap: .33rem;
  padding: .4rem .12rem;
  color: #d9f5f1;
  text-align: center;
  line-height: 1.16;
  border: 1px solid #98dad738;
  border-radius: .65rem;
  background: #10374d99;
  animation: suite-login-tile .7s cubic-bezier(.2,.8,.25,1) calc(.15s + var(--tool-index) * .085s) both;
}

.suite-login-tool svg { width: 1.08rem; height: 1.08rem; fill: currentColor; color: #8fe6d6; }
.suite-login-tool:nth-child(3n + 2) svg { color: #d1bdf9; }
.suite-login-tool:nth-child(3n) svg { color: #ffd0a2; }
.suite-login-tool span { font-size: clamp(.53rem, .8vw, .66rem); font-weight: 650; }

.suite-login-trace {
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, #8fe6d6, #8fe6d61a 70%, transparent);
  transform-origin: left;
  animation: suite-login-trace 1.3s ease-out both;
}

.suite-login .rubiqs-auth-panel-wrap {
  position: relative;
  min-height: 100%;
  isolation: isolate;
  background: radial-gradient(ellipse at 90% 95%, #e2f2ed, transparent 65%), #f0f5f7;
}

.suite-login .rubiqs-auth-panel {
  background: #ffffffd9;
}

.suite-login-mark {
  position: absolute;
  z-index: -1;
  width: min(72%, 430px);
  aspect-ratio: 1;
  right: -7%;
  top: 27%;
  pointer-events: none;
}

.suite-login-mark-piece {
  position: absolute;
  inset: 0;
  opacity: .23;
  background: url("../rubiqs-suite-round.png") center / contain no-repeat;
  animation: suite-login-assemble 2.4s cubic-bezier(.2,.8,.25,1) calc(.12s * var(--piece)) both;
}

.suite-login-mark-piece:nth-child(1) { clip-path: inset(0 50% 50% 0); --dx: -45%; --dy: -37%; --spin: -18deg; }
.suite-login-mark-piece:nth-child(2) { clip-path: inset(0 0 50% 50%); --dx: 40%; --dy: -28%; --spin: 17deg; }
.suite-login-mark-piece:nth-child(3) { clip-path: inset(50% 50% 0 0); --dx: -36%; --dy: 42%; --spin: 19deg; }
.suite-login-mark-piece:nth-child(4) { clip-path: inset(50% 0 0 50%); --dx: 42%; --dy: 39%; --spin: -16deg; }

.suite-login-mark-ring {
  position: absolute;
  inset: 12%;
  border: 2px solid #1591a3;
  border-radius: 50%;
  opacity: 0;
  animation: suite-login-ring 1.2s ease-out 1.65s both;
}

@keyframes suite-login-light { from { transform: rotate(-14deg) scale(.94); } to { transform: rotate(5deg); } }
@keyframes suite-login-tile { from { opacity: 0; transform: translateY(12px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes suite-login-trace { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes suite-login-assemble { from { opacity: 0; transform: translate(var(--dx),var(--dy)) rotate(var(--spin)) scale(.65); } 75% { opacity: .27; transform: scale(1.02); } to { opacity: .23; transform: none; } }
@keyframes suite-login-ring { from { opacity: .24; transform: scale(.82); } to { opacity: 0; transform: scale(1.35); } }

@media (max-width: 890px) {
  .suite-login .rubiqs-auth-shell { grid-template-columns: 1fr; width: min(calc(100% - 1.5rem), 620px); min-height: 0; margin: .75rem auto; }
  .suite-login .rubiqs-auth-panel-wrap { grid-row: 1; min-height: 0; padding: 1.5rem 1rem; }
  .suite-login .rubiqs-auth-showcase { min-height: 0; padding: 1.5rem; }
  .suite-login .rubiqs-auth-copy { padding: 1.5rem 0 1rem; }
  .suite-login .rubiqs-auth-title { font-size: clamp(2.05rem, 6vw, 3.9rem); }
}

@media (max-width: 410px) {
  .suite-login-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .suite-login-tool span { font-size: .66rem; }
}

@media (prefers-reduced-motion: reduce) {
  .suite-login .rubiqs-auth-showcase::before,
  .suite-login-tool,
  .suite-login-trace,
  .suite-login-mark-piece,
  .suite-login-mark-ring { animation: none; }
}

.suite-login .rubiqs-auth-input-wrap .form-control {
  box-sizing: border-box;
  width: 100%;
  font: inherit;
}

.suite-login .rubiqs-auth-submit {
  border: 1px solid transparent;
  border-radius: .86rem;
  background: linear-gradient(105deg, #185b73, #296680 60%, #387d82);
  color: white;
  font-weight: 700;
}

.suite-login .rubiqs-auth-submit:hover {
  background: linear-gradient(105deg, #174d66, #255c77 60%, #326f75);
  color: white;
}

.suite-login .rubiqs-auth-submit:focus-visible {
  outline: 3px solid #268f91;
  outline-offset: 3px;
}
