/* BYSOINS PRO - Auth shared theme */
:root {
  --auth-brand: #130e0a;
  --auth-brand-soft: #ece6dc;
  --auth-surface: #ffffff;
  --auth-page: #f5f5f4;
  --auth-border: #d6d3d1;
  --auth-muted: #6b7280;
}

body.auth-page {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--auth-page);
  color: #111827;
}

.auth-card {
  background: var(--auth-surface);
  border: 1px solid #e7e5e4;
  border-radius: 1rem;
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.35);
}

.auth-subtitle {
  color: var(--auth-muted);
}

.auth-link {
  color: var(--auth-brand);
}

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

.auth-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.auth-input:focus {
  outline: none;
  border-color: #a8a29e;
  box-shadow: 0 0 0 3px rgba(120, 113, 108, 0.22);
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  min-height: 2.75rem;
  padding: 0.7rem 1rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.05s ease;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(120, 113, 108, 0.22);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-primary {
  background-color: #1c1917;
  color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
  background-color: #57534e;
}

.btn-secondary {
  background-color: transparent;
  color: #44403c;
  border: 2px solid var(--auth-border);
}

.btn-secondary:hover:not(:disabled) {
  background-color: #f5f5f4;
  border-color: #a8a29e;
}

.btn-ghost {
  background-color: transparent;
  color: #57534e;
  border: 1px solid transparent;
}

.btn-ghost:hover:not(:disabled) {
  background-color: #f5f5f4;
}

.btn-sm {
  min-height: 2.35rem;
  padding: 0.5rem 0.8rem;
  font-size: 0.82rem;
}

.auth-security-note {
  color: #57534e;
}

.auth-divider {
  border-top: 1px solid #e5e7eb;
}
