/* Login - centered card (Freshworks-style), no SSO */

body.auth-page {
  margin: 0;
  min-height: 100vh;
  background: #eef1f6;
  font-family: var(--font, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  color: #1b2a41;
}

.auth-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  box-sizing: border-box;
}

.auth-brand-block {
  text-align: center;
  margin-bottom: 20px;
}

.auth-brand-logo {
  display: block;
  width: 140px;
  height: auto;
  margin: 0 auto 12px;
}

.auth-product {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1b2a41;
}

.auth-vendor {
  margin: 4px 0 0;
  font-size: 0.875rem;
  color: #6b7c93;
}

.auth-heading {
  margin: 0 0 24px;
  font-size: 1.75rem;
  font-weight: 600;
  color: #152238;
  text-align: center;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 10px;
  padding: 32px 36px 28px;
  box-shadow: 0 8px 28px rgba(21, 34, 56, 0.08);
  box-sizing: border-box;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-field {
  display: flex;
  flex-direction: column;
}

.auth-label {
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #4a5d75;
}

.auth-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-size: 0.9375rem;
  border: 1px solid #c8d2e0;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-input:focus {
  outline: none;
  border-color: #3b6cf4;
  background: #eef4ff;
  box-shadow: 0 0 0 3px rgba(59, 108, 244, 0.15);
}

.auth-input.is-invalid {
  border-color: #dc3545;
  background: #fff5f5;
}

.field-error {
  margin: -6px 0 0;
  font-size: 0.8125rem;
  color: #c92a2a;
}

.auth-submit {
  margin-top: 4px;
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  background: #3b6cf4;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.auth-submit:hover {
  background: #2f5ce0;
}

.auth-submit:focus-visible {
  outline: 2px solid #3b6cf4;
  outline-offset: 2px;
}

.auth-support {
  margin: 22px 0 0;
  font-size: 0.8125rem;
  color: #6b7c93;
  text-align: center;
  line-height: 1.45;
}

.auth-support-link {
  color: #3b6cf4;
  text-decoration: none;
  font-weight: 500;
}

.auth-support-link:hover {
  text-decoration: underline;
}

.auth-page-foot {
  margin: 28px 0 0;
  font-size: 0.75rem;
  color: #8a97a8;
  text-align: center;
}

.auth-card .config-banner {
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid #f5c2c7;
  border-radius: 8px;
  background: #f8d7da;
  color: #842029;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 520px) {
  .auth-card {
    padding: 24px 20px 20px;
    border-radius: 8px;
  }

  .auth-heading {
    font-size: 1.5rem;
  }
}
