body.auth-body {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  position: relative;
  overflow-x: hidden;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}

.google-btn:hover {
  background: #f8fafc;
  border-color: #4285f4;
  box-shadow: 0 2px 8px rgba(66,133,244,0.15);
}

.google-btn img, .google-btn svg {
  width: 20px;
  height: 20px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 500;
}

.auth-container {
  max-width: 480px;
  width: 100%;
  margin: auto;
  padding: 32px;
  position: relative;
  z-index: 1;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.auth-decor-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
}

.auth-decor-orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 70%);
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.auth-decor-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 70%);
  bottom: -50px;
  left: -50px;
  animation: float 10s ease-in-out infinite reverse;
}

.invalid-feedback {
  display: none;
  font-size: 12px;
  color: #ef4444;
  margin-top: 6px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.auth-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  padding: 40px;
  border: 1px solid #e2e8f0;
}

.auth-brand {
  text-align: center;
  margin-bottom: 32px;
}

.auth-brand-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  margin: 0 auto 16px;
}

.auth-brand h1 {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 4px;
  letter-spacing: -0.5px;
}

.auth-brand p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.auth-form-group {
  margin-bottom: 20px;
}

.auth-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.auth-form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  color: #1e293b;
  transition: all 0.2s ease;
  font-family: inherit;
}

.auth-form-control::placeholder {
  color: #94a3b8;
}

.auth-form-control:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.auth-form-control.is-invalid {
  border-color: #ef4444;
  background: #fef2f2;
}

.auth-form-control.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.auth-form-control.is-valid {
  border-color: #10b981;
  background: #f0fdf4;
}

.auth-form-control.is-valid:focus {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.auth-form-control.is-invalid + .invalid-feedback {
  display: block;
}

.auth-input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  font-size: 16px;
  pointer-events: none;
}

.auth-input-icon-wrapper .auth-form-control {
  padding-left: 42px;
}

.auth-password-wrapper {
  position: relative;
  display: flex;
}

.auth-toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 16px;
  transition: color 0.2s;
}

.auth-toggle-password:hover {
  color: #2563eb;
}

.auth-btn {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-btn-primary {
  background: #2563eb;
  color: #fff;
}

.auth-btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.auth-btn-primary.loading {
  opacity: 0.8;
  pointer-events: none;
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 24px 0;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e2e8f0;
}

.auth-divider::after {
  content: attr(data-text);
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 0 12px;
}

.auth-links {
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

.auth-links a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
}

.auth-links a:hover {
  text-decoration: underline;
}

.auth-footer {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 32px;
}

.lang-selector {
  position: relative;
  margin-right: 4px;
}

.lang-current {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.lang-current:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  z-index: 999;
  min-width: 150px;
}

.lang-dropdown.show {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s;
}

.lang-option:last-child {
  border-bottom: none;
}

.lang-option:hover {
  background: #f8fafc;
}

.lang-option.active {
  color: #2563eb;
  font-weight: 600;
}

.step-item.active .step-circle {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.step-item.active .step-label {
  color: #2563eb;
}

.reg-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.password-strength-bar.active {
  background-color: #ef4444;
}

.password-strength-bar.active.weak {
  background-color: #ef4444;
}

.password-strength-bar.active.medium {
  background-color: #f59e0b;
}

.password-strength-bar.active.strong {
  background-color: #10b981;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@media (max-width: 480px) {
  .auth-container {
    padding: 16px;
  }
  .auth-card {
    padding: 24px;
  }
  .auth-btn {
    font-size: 13px;
    padding: 10px 14px;
  }
}
@media (max-width: 390px) {
  .auth-container { padding: 12px; }
  .auth-card { padding: 18px; }
  .auth-btn { font-size: 12px; padding: 8px 12px; }
}
