/* Orion CRM auth — clean, executive-ready, minimal. */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 15px; line-height: 1.5;
  color: #1a2b42;
  background: radial-gradient(1200px 800px at 20% 0%, #1e3556 0%, #0e1a2b 60%, #060c17 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.auth-shell {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}

.auth-card {
  background: #ffffff;
  width: 100%; max-width: 420px;
  padding: 44px 40px 32px;
  border-radius: 14px;
  box-shadow:
    0 32px 80px rgba(6, 12, 23, 0.45),
    0 2px 6px rgba(6, 12, 23, 0.25);
}

.auth-brand {
  display: flex; gap: 14px; align-items: center; margin-bottom: 28px;
}
.auth-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #1a2b42, #2d4365);
  color: #fff; font-weight: 700; font-size: 20px;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.auth-card h1 {
  font-size: 22px; font-weight: 600; margin: 0; letter-spacing: -0.01em;
}
.auth-subtitle {
  margin: 2px 0 0; font-size: 13px; color: #6b7a8c;
}

.auth-error {
  background: #fef2f2; color: #991b1b;
  padding: 10px 14px; border-radius: 8px;
  margin-bottom: 18px; font-size: 14px;
  border-left: 3px solid #dc2626;
}

.auth-field {
  display: block; margin-bottom: 14px;
}
.auth-field > span {
  display: block; font-size: 12px; font-weight: 600;
  color: #6b7a8c; text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.auth-field input {
  display: block; width: 100%;
  padding: 11px 14px;
  font-size: 15px; color: #1a2b42;
  background: #f6f8fa;
  border: 1px solid #e1e6eb;
  border-radius: 8px;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.auth-field input:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}
.auth-field input::placeholder { color: #b3bdc9; }

.auth-button {
  width: 100%;
  margin-top: 10px; padding: 12px 16px;
  font-family: inherit; font-size: 15px; font-weight: 600;
  color: #ffffff;
  background: linear-gradient(180deg, #1f3556 0%, #16243d 100%);
  border: 0; border-radius: 8px; cursor: pointer;
  transition: filter 0.15s, transform 0.05s;
}
.auth-button:hover { filter: brightness(1.12); }
.auth-button:active { transform: translateY(1px); filter: brightness(0.95); }
.auth-button:disabled { opacity: 0.6; cursor: not-allowed; }

.auth-footnote {
  margin: 22px 0 0;
  font-size: 12px; color: #8b97a7; text-align: center;
}
