body {
  margin: 0;
  background: #0a0e1a;
  color: #e8edf7;
  font-family: 'IBM Plex Sans Arabic', 'Segoe UI', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}
a { color: #22d3ee; text-decoration: none; }
a:hover { text-decoration: underline; }

.auth-wrapper {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}
.auth-card {
  background: linear-gradient(145deg, rgba(17,34,64,.5), rgba(11,17,32,.3));
  border: 1px solid rgba(245,158,11,.08);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,.3), transparent);
}
.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}
.auth-logo a {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
}
.auth-logo a span { color: #f59e0b; }
.auth-logo p {
  color: #64748b;
  font-size: 14px;
  margin: 6px 0 0;
}

.auth-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #cbd5e1;
}
.form-group input {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  color: #e8edf7;
  outline: none;
  transition: .25s;
  font-family: inherit;
}
.form-group input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245,158,11,.08);
}
.form-group input::placeholder { color: #475569; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  font-weight: 600;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0a0e1a;
  padding: 13px 28px;
  font-size: 16px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,.2); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.btn-ghost {
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(255,255,255,.08);
  padding: 11px 24px;
  font-size: 14px;
}
.btn-ghost:hover { border-color: rgba(245,158,11,.3); color: #f59e0b; }

.btn-sm { padding: 9px 18px; font-size: 13px; }

.alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.6;
}
.alert-error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.15); color: #fca5a5; }
.alert-success { background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.15); color: #6ee7b7; }
.alert-info { background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.15); color: #93c5fd; }

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #64748b;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 14px;
  margin-bottom: 20px;
}
.back-link:hover { color: #f59e0b; text-decoration: none; }
