/* Generated by render_config.py — docs portal login */
.qv-docs-auth {
  position: relative;
  margin-left: 0.35rem;
}

.qv-docs-auth__button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}

.qv-docs-auth__button:hover,
.qv-docs-auth__button[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.16);
}

.qv-docs-auth__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 9rem;
  background: #0f1a24;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.35rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  padding: 0.35rem 0;
  z-index: 5;
}

.qv-docs-auth__menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.85rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.875rem;
  cursor: pointer;
}

.qv-docs-auth__menu button:hover {
  background: rgba(15, 156, 241, 0.18);
}

.qv-docs-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 14, 20, 0.55);
}

.qv-docs-auth-modal[hidden] {
  display: none;
}

.qv-docs-auth-modal__panel {
  width: min(24rem, calc(100vw - 2rem));
  background: #fff;
  color: #212121;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

[data-md-color-scheme="slate"] .qv-docs-auth-modal__panel {
  background: #2e3039;
  color: rgba(255, 255, 255, 0.9);
}

.qv-docs-auth-modal__panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.qv-docs-auth-modal__panel p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: #616161;
}

[data-md-color-scheme="slate"] .qv-docs-auth-modal__panel p {
  color: rgba(255, 255, 255, 0.68);
}

.qv-docs-auth-modal__panel label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.qv-docs-auth-modal__panel input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #cfd8dc;
  border-radius: 0.25rem;
  font-size: 0.9375rem;
  box-sizing: border-box;
}

.qv-docs-auth-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

.qv-docs-auth-modal__actions button {
  padding: 0.5rem 0.9rem;
  border-radius: 0.25rem;
  border: 1px solid transparent;
  font-size: 0.875rem;
  cursor: pointer;
}

.qv-docs-auth-modal__cancel {
  background: transparent;
  border-color: #cfd8dc;
  color: inherit;
}

.qv-docs-auth-modal__submit {
  background: #0f9cf1;
  color: #fff;
}

.qv-docs-auth-modal__error {
  margin: 0 0 0.75rem;
  color: #c62828;
  font-size: 0.8125rem;
}

.qv-docs-auth-injected {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  margin-top: 0.45rem;
  padding-top: 0.45rem;
}
