.saas-auth-page {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(34, 197, 94, .18), transparent 35%),
    linear-gradient(135deg, #07111f, #102a43);
  color: #e5eef8;
  font-family: Inter, Arial, sans-serif;
}

.saas-auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 480px);
  align-items: center;
  gap: 8vw;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.saas-auth-brand img {
  width: min(360px, 90%);
}

.saas-auth-brand p {
  max-width: 540px;
  color: #b8c9dc;
  font-size: 1.2rem;
}

.saas-auth-card,
.global-admin-panel {
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: rgba(8, 21, 37, .88);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
}

.saas-auth-card label {
  display: grid;
  gap: 8px;
  color: #cbd8e6;
}

.saas-auth-card input,
.saas-auth-card select,
.global-admin-panel input,
.global-admin-panel select {
  min-height: 46px;
  box-sizing: border-box;
  border: 1px solid #334e68;
  border-radius: 10px;
  padding: 0 13px;
  background: #0b1f33;
  color: white;
}

.saas-auth-card button,
.global-admin-panel button {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: #22c55e;
  color: #06110b;
  font-weight: 800;
  cursor: pointer;
}

.saas-password-field {
  position: relative;
  display: block;
}

.saas-password-field input {
  width: 100%;
  padding-right: 86px;
}

.saas-password-field #togglePasswordBtn {
  position: absolute;
  top: 5px;
  right: 5px;
  min-height: 36px;
  border: 1px solid #49657f;
  padding: 0 10px;
  background: #17324c;
  color: #dbeafe;
  font-size: 12px;
}

.saas-forgot-password {
  color: #93c5fd;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.saas-form-status {
  min-height: 1.5em;
  color: #86efac;
}

.saas-form-status.error {
  color: #fca5a5;
}

@media (max-width: 780px) {
  .saas-auth-shell {
    grid-template-columns: 1fr;
    padding: 40px 0;
  }
}
