body.auth-page-body {
  min-height: 100vh;
  font-family: var(--default-font);
  background: var(--background-color);
}

.auth-layout {
  min-height: 100vh;
}

.auth-brand-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 3rem;
  background:
    radial-gradient(circle at top left, rgba(91, 141, 239, 0.35), transparent 32%),
    radial-gradient(circle at bottom right, rgba(79, 209, 197, 0.22), transparent 30%),
    linear-gradient(135deg, #0f172a, #1e293b 55%, #243b53);
  color: #fff;
}

.auth-brand-content {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.auth-brand-logo,
.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: inherit;
}

.auth-brand-logo img,
.auth-logo img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.auth-brand-text h2 {
  margin: 1.5rem 0 1rem;
  font-size: clamp(2rem, 3vw, 3.25rem);
  font-weight: 800;
  line-height: 1.05;
}

.auth-brand-text p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  max-width: 32rem;
}

.auth-brand-features {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.auth-brand-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  width: fit-content;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.auth-brand-feature i {
  font-size: 1.3rem;
}

.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  background: var(--background-color);
}

.auth-container {
  width: 100%;
  max-width: 34rem;
}

.auth-logo {
  margin-bottom: 1.75rem;
  color: var(--heading-color);
}

.auth-card {
  padding: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
}

.auth-card-header {
  margin-bottom: 1.5rem;
}

.auth-title {
  margin: 0;
  color: var(--heading-color);
  font-size: 1.9rem;
  font-weight: 800;
}

.auth-subtitle {
  margin: 0.45rem 0 0;
  color: var(--muted-color);
}

.auth-form .form-group {
  margin-bottom: 1.1rem;
}

.auth-form .form-control,
.auth-form .input-group-text,
.auth-form .btn-outline-secondary,
.auth-form .form-select {
  min-height: 48px;
  background: var(--input-bg);
  border-color: var(--input-border);
  color: var(--default-color);
}

.auth-form .btn-outline-secondary:hover {
  background: var(--sidebar-hover-bg);
  color: var(--heading-color);
}

.auth-form .btn-block {
  width: 100%;
  min-height: 48px;
  margin-top: 0.5rem;
}

.auth-link {
  color: var(--accent-color);
  font-weight: 600;
}

.auth-divider {
  position: relative;
  margin: 1.5rem 0;
  text-align: center;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid var(--border-color);
}

.auth-divider span {
  position: relative;
  z-index: 1;
  padding: 0 0.9rem;
  background: var(--card-bg);
  color: var(--muted-color);
  font-size: 0.9rem;
}

.auth-social {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.auth-social .btn {
  min-height: 48px;
}

.auth-footer-text {
  margin: 1.5rem 0 0;
  color: var(--muted-color);
  text-align: center;
}

.footer-centered {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  color: var(--muted-color);
  font-size: 0.9rem;
}

.footer-centered .footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 991.98px) {
  .auth-brand-panel {
    display: none;
  }

  .auth-form-panel {
    min-height: 100vh;
  }
}

@media (max-width: 575.98px) {
  .auth-form-panel {
    padding: 1rem;
  }

  .auth-card {
    padding: 1.35rem;
    border-radius: 1.1rem;
  }

  .auth-social {
    grid-template-columns: 1fr;
  }

  .footer-centered {
    flex-direction: column;
    align-items: flex-start;
  }
}