/* Auth screens: constrain app logo so it stays inside the card */
.panel-body > .brand-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}

.panel-body > .brand-logo img {
  max-width: min(200px, 100%);
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.content-wrapper.auth .brand-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.25rem;
}

.content-wrapper.auth .brand-logo img {
  max-width: min(200px, 100%);
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Auth pages: make clickable elements clearly interactive */
a[href],
button,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="reset"],
label[for],
.btn,
.auth-link,
.dz-message {
  cursor: pointer;
}

button:disabled,
input:disabled,
.btn.disabled,
.btn[disabled],
[aria-disabled="true"] {
  cursor: not-allowed !important;
}

.password-field-wrap {
  position: relative;
}

.password-field-wrap .input-field {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text-muted, #7a8899);
  font-size: 18px;
  line-height: 1;
}

.password-toggle:hover:not(:disabled),
.password-toggle:focus:not(:disabled) {
  color: var(--text-primary, #1a2332);
  outline: none;
}

.password-toggle:focus-visible:not(:disabled) {
  color: var(--accent, #0ea472);
}

.password-toggle:disabled {
  opacity: 0.4;
  color: var(--text-muted, #7a8899);
}
