* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 100%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1c23;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(211, 174, 55, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(211, 174, 55, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(211, 174, 55, 0.06) 0%, transparent 40%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease-in-out infinite;
  font-family: 'Inter', sans-serif;
  padding: 1rem;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #1e2029;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.auth-logo img {
  height: 48px;
  width: auto;
}

.auth-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.auth-subtitle {
  color: #9ca3af;
  font-size: 0.875rem;
  text-align: center;
  margin-bottom: 2rem;
}

.auth-label {
  display: block;
  color: #d1d5db;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.auth-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #272935;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #fff;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}

.auth-input:focus {
  border-color: #d3ae37;
  box-shadow: 0 0 0 3px rgba(211, 174, 55, 0.15);
}

.auth-input::placeholder {
  color: #6b7280;
}

.auth-field {
  margin-bottom: 1.25rem;
}

.auth-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #d3ae37, #b8952e);
  color: #1a1c23;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  margin-top: 0.5rem;
}

.auth-btn:hover {
  opacity: 0.9;
}

.auth-btn:active {
  transform: scale(0.98);
}

.auth-checkbox-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.auth-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9ca3af;
  font-size: 0.8125rem;
  cursor: pointer;
}

.auth-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #d3ae37;
  cursor: pointer;
}

.auth-link {
  color: #d3ae37;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.auth-link:hover {
  opacity: 0.8;
}

.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-footer span {
  color: #6b7280;
  font-size: 0.8125rem;
}

.auth-error {
  color: #f87171;
  font-size: 0.75rem;
  margin-top: 0.375rem;
}

.auth-status {
  background: rgba(211, 174, 55, 0.1);
  border: 1px solid rgba(211, 174, 55, 0.2);
  color: #d3ae37;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
