.cms-login-page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 40px 24px;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(241, 251, 118, 0.24), transparent 48%),
    radial-gradient(ellipse at 10% 90%, rgba(221, 227, 216, 0.4), transparent 48%), #f7f8f5;
  color: #171b16;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.cms-login-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 440px;
  padding: 42px 40px 30px;
  background: #fff;
  border: 1px solid #e5e8df;
  border-radius: 24px;
  box-shadow:
    0 24px 70px -30px rgba(30, 40, 20, 0.18),
    0 2px 8px rgba(30, 40, 20, 0.025);
  text-align: center;
}
.cms-login-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
}
.cms-login-brand img {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}
.cms-login-wordmark {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -1.2px;
}
.cms-login-badge {
  margin-left: 3px;
  padding: 4px 7px;
  border: 1px solid #e2e5dc;
  border-radius: 6px;
  color: #5e6658;
  background: #fafbf7;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}
.cms-login-title {
  margin: 0 auto 12px;
  max-width: 310px;
  color: #171b16;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -1px;
}
.cms-login-description {
  margin: 0;
  color: #687160;
  font-size: 14px;
  line-height: 1.65;
}
.cms-login-action {
  margin-top: 32px;
}
.cms-login-hint {
  margin: 0 0 16px;
  color: #626a5d;
  font-size: 13px;
  line-height: 1.5;
}
.cms-login-google-slot {
  min-height: 44px;
  display: grid;
  align-items: center;
  justify-items: center;
  position: relative;
}
.cms-login-google-slot > * {
  grid-area: 1 / 1;
}
.cms-login-google-button {
  display: flex;
  justify-content: center;
}
.cms-login-status {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  width: 100%;
  border: 1px solid #e5e8df;
  border-radius: 8px;
  color: #626a5d;
  background: #fafbf8;
  font-size: 13px;
}
.cms-login-spinner {
  flex-shrink: 0;
  animation: cms-login-spin 1s linear infinite;
}
.cms-login-error {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px solid #f0d7d5;
  border-radius: 10px;
  background: #fff8f7;
  color: #a4433b;
  text-align: left;
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.cms-login-error svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.cms-login-error p {
  margin: 0;
}
.cms-login-retry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 10px;
  padding: 6px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #343d2e;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease;
}
.cms-login-retry:hover {
  background: #f1f4eb;
}
.cms-login-retry:focus-visible {
  outline: 2px solid #6f7c48;
  outline-offset: 3px;
}
.cms-login-access {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  margin: 28px 0 0;
  padding-top: 23px;
  border-top: 1px solid #edf0e8;
  color: #697260;
  font-size: 12px;
  line-height: 1.5;
}
.cms-login-access svg {
  flex-shrink: 0;
  margin-top: 2px;
}
@keyframes cms-login-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 480px) {
  .cms-login-page {
    padding: 24px 16px;
  }
  .cms-login-card {
    padding: 32px 24px 25px;
    border-radius: 20px;
  }
  .cms-login-brand {
    margin-bottom: 28px;
  }
  .cms-login-title {
    font-size: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cms-login-spinner {
    animation: none;
  }
  .cms-login-retry {
    transition: none;
  }
}
