/* Served from /login-critical.css (public/) — does not use /_next/static */

html:has([data-login-page="true"]) body {
  margin: 0;
  background: #ffffff !important;
  color: #18181b !important;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}

[data-login-page="true"] img {
  max-width: 100%;
  height: auto;
  display: block;
}

[data-login-page="true"] .login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  background: #ffffff;
  color: #18181b;
}

@media (min-width: 1024px) {
  [data-login-page="true"] .login-shell {
    grid-template-columns: 1fr 1fr;
  }

  [data-login-page="true"] .login-aside {
    display: flex !important;
  }
}

[data-login-page="true"] .login-aside {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: #09090b;
  color: #fafafa;
}

[data-login-page="true"] .login-aside img {
  max-width: 32rem;
  margin: 0 auto;
}

[data-login-page="true"] .login-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
}

[data-login-page="true"] .login-panel {
  width: 100%;
  max-width: 28rem;
}

[data-login-page="true"] .login-mobile-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  [data-login-page="true"] .login-mobile-logo {
    display: none;
  }
}

[data-login-page="true"] .login-card {
  border: 1px solid #e4e4e7;
  border-radius: 2px;
  padding: 1.5rem;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

[data-login-page="true"] input[type="email"],
[data-login-page="true"] input[type="password"],
[data-login-page="true"] input[type="checkbox"] {
  font: inherit;
}

[data-login-page="true"] input[type="email"],
[data-login-page="true"] input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d4d4d8;
  border-radius: 2px;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
}

[data-login-page="true"] button[type="submit"] {
  width: 100%;
  min-height: 2.75rem;
  border: none;
  border-radius: 2px;
  background: #18181b;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

[data-login-page="true"] button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
