/* Native HTML auth fields for Flutter Web – Bitwarden / password-manager autofill */
:root {
  --lq-auth-surface: #121212;
  --lq-auth-on-surface: #eaeaea;
  --lq-auth-label: #bfc4cf;
  --lq-auth-hint: rgba(234, 234, 234, 0.5);
  --lq-auth-border: rgba(191, 196, 207, 0.65);
  --lq-auth-border-focus: #2fd7ff;
  --lq-auth-button-bg: #2e84ff;
  --lq-auth-button-fg: #ffffff;
  --lq-auth-button-disabled: rgba(46, 132, 255, 0.45);
  --lq-auth-radius: 10px;
  --lq-auth-field-gap: 14px;
  --lq-auth-submit-gap: 24px;
}

.lq-native-auth-form {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--lq-auth-field-gap);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.lq-native-auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lq-native-auth-field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--lq-auth-label);
}

.lq-native-auth-field input {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 16px 14px 14px;
  border-radius: var(--lq-auth-radius);
  border: 1.25px solid var(--lq-auth-border);
  background: var(--lq-auth-surface);
  color: var(--lq-auth-on-surface);
  font-size: 16px;
  line-height: 1.25;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lq-native-auth-field input::placeholder {
  color: var(--lq-auth-hint);
}

.lq-native-auth-field input:focus {
  border-color: var(--lq-auth-border-focus);
  box-shadow: 0 0 0 1px var(--lq-auth-border-focus);
}

.lq-native-auth-field input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.lq-native-auth-field input:-webkit-autofill,
.lq-native-auth-field input:-webkit-autofill:hover,
.lq-native-auth-field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--lq-auth-surface) inset;
  -webkit-text-fill-color: var(--lq-auth-on-surface);
  caret-color: var(--lq-auth-on-surface);
  transition: background-color 5000s ease-in-out 0s;
}

.lq-native-auth-submit-wrap {
  margin-top: calc(var(--lq-auth-submit-gap) - var(--lq-auth-field-gap));
}

.lq-native-auth-submit {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 14px 24px;
  border: none;
  border-radius: var(--lq-auth-radius);
  background: var(--lq-auth-button-bg);
  color: var(--lq-auth-button-fg);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.lq-native-auth-submit:hover:not(:disabled) {
  filter: brightness(1.06);
}

.lq-native-auth-submit:disabled {
  background: var(--lq-auth-button-disabled);
  cursor: not-allowed;
}

.lq-native-auth-submit:focus-visible {
  outline: 2px solid var(--lq-auth-border-focus);
  outline-offset: 2px;
}
