html[data-theme="dark"] .login-stage::after {  background: #204637; }
html[data-theme="dark"] .login-title {  color: var(--spacio-green-100); }

.login-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 56px);
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: url("../images/spacio-login-bg.jpg") center / cover no-repeat;
}

.login-stage::after {
  content: "";
  position: absolute;
  inset: 0;                       /* stretch to cover the whole stage */
  background: #2A6150;
  opacity: 0.65;
  pointer-events: none;           /* clicks pass through to the card */
}

.login-card {
  display: flex;
  width: 480px;
  padding: 31px 56px 44px 56px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  border-radius: var(--Radius-radius-4xl, 40px);
  background: var(--spacio-surface, #FFF);
  box-shadow: 0 0 26.4px 1px #15342b;
}

.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.login-logo img {
  width: 200px;
  height: 112px;
  object-fit: contain;
}

.login-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: var(--spacio-green-700);
}

.login-subtitle {
  margin: 0 0 22px;
  font-size: 12px;
  color: #6b7770;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 999px;
  background: #2c5f4a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(44, 95, 74, 0.3);
  transition: background 0.2s ease;
}

.login-btn:hover {
  color: #ffffff;
  background: #244f3d;
}

.login-btn__google {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 50%;
  padding: 2px;
}

.login-btn__domain {
  font-weight: 400;
  opacity: 0.85;
}

.login-debug {
  margin: 16px 0 0;
  font-size: 11px;
  color: #6b7770;
}

.login-debug code {
  word-break: break-all;
}

.login-footer {
  margin: 22px 0 0;
  font-size: 11px;
  color: #8a948e;
}
