.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-bg);
  position: relative;
  overflow: hidden;
  padding: 16px;
}
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.shape-1 {
  width: 380px;
  height: 380px;
  background: rgba(200, 149, 108, 0.22);
  top: -100px;
  left: -100px;
  animation: floatShape 8s ease-in-out infinite;
}
.shape-2 {
  width: 280px;
  height: 280px;
  background: rgba(168, 113, 74, 0.16);
  bottom: -50px;
  right: -50px;
  animation: floatShape 10s ease-in-out infinite reverse;
}
.shape-3 {
  width: 180px;
  height: 180px;
  background: rgba(212, 149, 106, 0.12);
  top: 50%;
  left: 60%;
  animation: floatShape 12s ease-in-out infinite;
}
@keyframes floatShape {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.05);
  }
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--glass-shadow);
  padding: 44px 40px;
  position: relative;
  z-index: 1;
  animation: scaleIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (max-width: 480px) {
  .auth-card {
    padding: 30px 20px;
    border-radius: 20px;
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.auth-logo {
  text-align: center;
  margin-bottom: 26px;
}
.auth-logo-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 10px;
  box-shadow: 0 8px 28px rgba(200, 149, 108, 0.45);
  animation: iconFloat 3s ease-in-out infinite;
}
@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.auth-logo-title {
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.auth-logo-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.auth-title {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 4px;
}
.auth-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.role-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.role-opt {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 11px 6px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-card);
}
.role-opt:hover {
  background: rgba(200, 149, 108, 0.08);
  border-color: var(--primary-light);
}
.role-opt.active {
  background: rgba(200, 149, 108, 0.14);
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(200, 149, 108, 0.2);
}
.role-opt .r-icon {
  font-size: 20px;
  margin-bottom: 4px;
  display: block;
}
.role-opt .r-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}
.role-opt.active .r-name {
  color: var(--primary);
}
.btn-login {
  width: 100%;
  padding: 12px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(200, 149, 108, 0.4);
}
.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 149, 108, 0.6);
}
.btn-login:active {
  transform: translateY(0);
}
.demo-box {
  background: rgba(200, 149, 108, 0.07);
  border: 1px solid rgba(200, 149, 108, 0.18);
  border-radius: var(--border-radius-sm);
  padding: 11px 13px;
  margin-top: 14px;
}
.demo-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 5px;
}
.demo-row {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 2px;
}
.theme-btn-auth {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-secondary);
  transition: var(--transition);
  z-index: 10;
}
.theme-btn-auth:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.err-msg {
  display: none;
  background: rgba(217, 112, 104, 0.1);
  border: 1px solid rgba(217, 112, 104, 0.3);
  border-radius: 10px;
  padding: 9px 13px;
  font-size: 13px;
  color: var(--danger);
  margin-bottom: 14px;
}
