/* mashaer-auth.css */
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 54px rgba(73, 43, 29, 0.12);
  overflow: hidden;
  animation: cardIn 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.auth-header {
  padding: 32px 32px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.auth-header .brand-mark {
  width: 54px;
  height: 54px;
  font-size: 28px;
  border-radius: 12px;
}

.auth-title {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.auth-copy {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.auth-body {
  padding: 16px 32px 32px;
  display: grid;
  gap: 18px;
}

.auth-footer {
  padding: 20px 32px;
  background: var(--surface-muted);
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.auth-footer a {
  color: var(--accent);
  font-weight: 800;
  margin-left: 4px;
  transition: color 160ms ease;
}

.auth-footer a:hover {
  color: var(--accent-strong);
}

.auth-status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto;
}

.auth-status-icon.success { background: var(--success-soft); color: var(--success); }
.auth-status-icon.danger { background: var(--danger-soft); color: var(--danger); }
.auth-status-icon.info { background: var(--info-soft); color: var(--info); }

.auth-status-icon .material-symbols-outlined {
  font-size: 32px;
}

/* Utilities for auth */
.w-full { width: 100%; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-sm { font-size: 12px; color: var(--muted); }
.text-link { color: var(--accent); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }