.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs);
  transition: background 0.5s ease;
  background: linear-gradient(135deg, #e0f2fe 0%, #fae8ff 50%, #fce7f3 100%);
}

.auth-card {
  width: 100%;
  max-width: 450px;
  border-radius: 16px;
  padding: var(--space-l);
  transition: all 0.5s ease;
  background: var(--color-white);
  box-shadow: 0 var(--space-xs) var(--space-s) rgba(0, 0, 0, 0.1);
}

.auth-header {
  text-align: center;
  margin-bottom: var(--space-m);
}

.auth-header h1 {
  font-size: var(--step-4);
  font-weight: bold;
  margin-bottom: var(--space-2xs);
  transition: color 0.3s ease;
}

.auth-header p {
  transition: color 0.3s ease;
  color: #6b7280;
}

.form-group {
  margin-bottom: var(--space-s);
}

.form-group label {
  display: block;
  font-size: var(--step-0);
  font-weight: 500;
  margin-bottom: var(--space-2xs);
  transition: color 0.3s ease;
  color: #374151;
}

.form-group.inline-label label {
    display: inline;
    vertical-align: text-bottom;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: var(--space-xs);
  top: 50%;
  transform: translateY(-50%);
  width: var(--space-s);
  height: var(--space-s);
  stroke-width: 2;
  fill: none;
  transition: stroke 0.3s ease;
  stroke: #9ca3af;
}

.form-input {
  width: 100%;
  padding: var(--space-2xs) var(--space-2xs) var(--space-2xs) var(--space-l);
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: var(--step-0);
  transition: all 0.3s ease;
  outline: none;
  background: white;
  color: #1f2937;
}

.form-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-with-toggle {
  padding-right: var(--space-l);
}

.toggle-password {
  position: absolute;
  right: var(--space-xs);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-password svg {
  width: var(--space-s);
  height: var(--space-s);
  stroke-width: 2;
  fill: none;
  transition: stroke 0.3s ease;
  stroke: #9ca3af;
}

.forgot-password {
  text-align: right;
  margin-bottom: var(--space-s);
}

.forgot-password button {
  background: none;
  border: none;
  font-size: var(--step-0);
  cursor: pointer;
  transition: color 0.3s ease;
  color: #2563eb;
}

.submit-btn {
  width: 100%;
  padding: var(--space-2xs);
  border-radius: 8px;
  border: none;
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--color-white);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 var(--space-2xs) var(--space-xs) rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #9333ea 100%);
  transform: scale(1.02);
}

.toggle-auth {
  text-align: center;
  margin-top: var(--space-m);
  font-size: var(--step-0);
  color: #6b7280;
}

.toggle-auth > * {
  margin-bottom: var(--space-2xs);
}

.toggle-auth button {
  background: none;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
  color: #2563eb;
}

.error-explanation {
  color: red;
}

.dev-quick-sign-in {
  margin-block-start: var(--space-m);
  border-top: var(--border-thin) solid var(--color-grey);
  padding-top: var(--space-s);
}

.dev-quick-sign-in-btn {
  display: block;
  width: 100%;
  margin-block-start: var(--space-3xs);
  padding: var(--space-3xs) var(--space-2xs);
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: var(--color-white);
  color: #374151;
  font-size: var(--step-0);
  cursor: pointer;
  transition: all 0.2s ease;
}

.dev-quick-sign-in-btn:hover {
  border-color: var(--color-vowls);
  color: var(--color-vowls);
}
