.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a56db 0%, #1e3a5f 100%);
}

.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
}

.logo {
  text-align: center;
  margin-bottom: 2rem;
}

.logo h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 2px;
}

.logo p {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.logoImage {
  max-width: 180px;
  max-height: 64px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}

.field input {
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  transition: border-color 0.15s;
}

.field input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.field input:disabled {
  background: var(--color-bg);
  color: var(--color-text-muted);
}

.field small {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.button {
  padding: 0.75rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.15s;
  margin-top: 0.5rem;
}

.button:hover:not(:disabled) {
  background: var(--color-primary-hover);
}

.button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.error {
  background: color-mix(in srgb, var(--color-error) 10%, var(--color-bg-card));
  color: var(--color-error);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  border: 1px solid color-mix(in srgb, var(--color-error) 25%, transparent);
}

.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0 1rem;
  gap: 0.75rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.divider span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ssoButton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.75rem;
  background: var(--color-bg-card);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.ssoButton:hover {
  background: var(--color-bg);
  border-color: var(--color-text-muted);
}

.ssoButton svg {
  flex-shrink: 0;
}
