:root {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f1f1f;
  background: #fafafa;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: #fafafa;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: 32px 20px;
  place-items: center;
}

.login-panel {
  width: min(100%, 380px);
  text-align: center;
}

.login-visual {
  display: block;
  width: 160px;
  height: 160px;
  margin: 0 auto 28px;
  border-radius: 22px;
  object-fit: cover;
}

h1 {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.subtitle {
  margin: 10px 0 28px;
  color: #6f6f6f;
  line-height: 1.5;
}

.provider-list {
  display: grid;
  gap: 12px;
}

.provider-button {
  position: relative;
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  color: #222;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.provider-button:hover {
  border-color: #999;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.provider-button:focus-visible {
  outline: 3px solid rgba(35, 93, 73, 0.22);
  outline-offset: 3px;
}

.configuration-message {
  min-height: 20px;
  margin: 12px 0 0;
  color: #a33d31;
  font-size: 0.82rem;
}

.configuration-message:empty {
  min-height: 0;
  margin: 0;
}

@media (max-width: 480px) {
  .page-shell {
    align-items: start;
    padding-top: 48px;
  }

  .login-visual {
    width: 144px;
    height: 144px;
  }
}
