body {
    margin: 0;
    font-family: "Tajawal", sans-serif;
    background: linear-gradient(120deg, rgb(196 43 41), rgba(191, 161, 129, 0.2)), radial-gradient(circle at top, rgba(255, 255, 255, 0.2), transparent), var(--gradient-secondary);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0px;
    color: var(--text-dark);
}

.auth-shell {
  width: 100%;
  gap: 30px;
  align-items: stretch;
}

.auth-brand {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 24px;
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.auth-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

.auth-brand-content {
  position: relative;
  z-index: 1;
}

.auth-brand img {
  width: 140px;
  margin-bottom: 20px;
}

.auth-brand h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.auth-brand p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 24px;
}

.auth-brand .stats {
  gap: 15px 0;
}

.auth-brand .stat {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 14px;
  padding: 10px;
  text-align: center;
  height: 100%;
}

.auth-brand .stat strong {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.auth-card {
  background: white;
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  background: #f7f7f9;
  border-radius: 999px;
  padding: 6px;
  margin-bottom: 24px;
}

.auth-tabs button {
  border: none;
  border-radius: 999px;
  padding: 10px;
  font-weight: 600;
  color: var(--text-light);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-tabs button.active {
  background: var(--brand-primary);
  color: white;
  box-shadow: var(--shadow-light);
}

.auth-form {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}

.auth-form.active {
  display: block;
}

.form-floating > label {
  right: auto;
  left: auto;
}

.auth-form .form-control,
.auth-form .form-select {
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
}

.auth-form .form-control:focus,
.auth-form .form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.2rem rgba(196, 43, 41, 0.1);
}

.auth-submit {
  margin-top: 16px;
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-weight: 600;
  background: var(--gradient-primary);
  color: white;
  transition: transform 0.2s ease;
}

.auth-submit:hover {
  transform: translateY(-2px);
}

.auth-divider {
  text-align: center;
  margin: 20px 0;
  color: var(--text-light);
}

.social-login button {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: var(--brand-primary);
    color: white;
    box-shadow: var(--shadow-light);
    padding: 10px 14px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}
.social-login button:hover {
  background: var(--brand-primary);
  color: white;
}
.auth-meta {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.auth-meta a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


