:root {
  color-scheme: light;
  font-family: Arial, sans-serif;
  color: #1e293b;
  background: #f3f6fa;
}

* {
  box-sizing: border-box;
}

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

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(100%, 520px);
  padding: 40px;
  border: 1px solid #d9e2ec;
  border-top: 5px solid #0b5aa8;
  background: #fff;
  box-shadow: 0 16px 40px rgb(15 23 42 / 8%);
}

.eyebrow {
  margin: 0 0 12px;
  color: #0b5aa8;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: clamp(24px, 5vw, 32px);
  line-height: 1.2;
}

.status {
  margin: 0 0 8px;
  font-weight: 700;
}

.message,
.footnote {
  color: #64748b;
  line-height: 1.55;
}

.google-signin-wrapper {
  width: 100%;
  max-width: 320px;
  min-height: 44px;
  margin: 20px 0 12px;
  display: flex;
  align-items: center;
}

#google-signin-button {
  width: 300px;
  max-width: 100%;
  min-height: 44px;
}

.identity-result {
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
}

.identity-result h2 {
  margin: 0 0 12px;
  color: #166534;
  font-size: 18px;
}

.identity-result p {
  margin: 6px 0;
}

#logout-form:not([hidden]) {
  display: inline-block;
  margin-left: 16px;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #0b5aa8;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 560px) {
  .panel {
    padding: 28px 22px;
  }
}
