:root {
  font-family: "Alexandria", sans-serif;
  color: #111279;
  background: #fff;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #fff;
}

.session-gate,
.access-shell,
.credentials-pane {
  min-height: 100vh;
}

.session-gate,
.credentials-pane {
  display: flex;
  align-items: center;
  justify-content: center;
}

.session-gate {
  flex-direction: column;
  gap: 44px;
  padding: 32px;
}

.session-gate img,
.logo {
  width: min(220px, 62vw);
  height: auto;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #d5f0f0;
  border-top-color: #2c9ea0;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.credentials-pane {
  padding: 40px 24px;
}

.credentials {
  width: min(720px, 100%);
  text-align: center;
}

.logo {
  display: block;
  margin: 0 auto 48px;
}

h1 {
  margin: 0;
  color: #111279;
  font-size: clamp(25px, 4vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

#session-description {
  margin: 12px 0 34px;
  color: #667085;
  font-size: 15px;
  line-height: 1.5;
}

form {
  display: flex;
  width: min(380px, 100%);
  margin: 0 auto;
  flex-direction: column;
  text-align: left;
}

label {
  margin: 0 0 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 600;
}

input {
  width: 100%;
  height: 46px;
  margin: 0 0 18px;
  padding: 0 13px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  color: #101828;
  background: #fff;
  font: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus {
  border-color: #2c9ea0;
  box-shadow: 0 0 0 3px rgba(44, 158, 160, 0.14);
}

button {
  height: 46px;
  margin-top: 4px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #111279;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}

button:hover {
  background: #090e6c;
  transform: translateY(-1px);
}

button:focus-visible {
  outline: 3px solid rgba(44, 158, 160, 0.35);
  outline-offset: 2px;
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.notice {
  width: min(380px, 100%);
  margin: 0 auto 20px;
  padding: 12px 14px;
  border-radius: 6px;
  color: #7a271a;
  background: #fef3f2;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.notice.info {
  color: #344054;
  background: #f2f4f7;
}

@media (min-width: 560px) {
  h1 {
    white-space: nowrap;
  }
}
