input[type="range"] {
  width: 100%;
  max-width: 320px;
  height: 28px;
}

/* The nav bar, mobile drawer and page frame live in pixeltron.css. */

#brightness,
#default_interval {
  width: 100%;
  max-width: 320px;
  margin: 0.5rem 0 0;
}

.auto-login-indicator {
  display: inline-block;
  margin-right: 0.3rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.auto-login-warning-banner {
  background: var(--cherry);
  color: var(--on-cherry);
  padding: 1rem;
  text-align: center;
  font-weight: 700;
  border: var(--border-bold) solid var(--ink);
  border-radius: var(--radius-0);
  box-shadow: var(--shadow-pixel);
  margin-bottom: 1.5rem;
}

.auto-login-warning-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.auto-login-warning-icon {
  font-size: 1.2rem;
}

.auto-login-warning-subtext {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--on-cherry-muted);
}

/* Authenticator (passkey) icons */
.authenticator-icon-container {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.authenticator-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.auth-icon-light {
  display: block;
}

.auth-icon-dark {
  display: none;
}

[data-theme="dark"] .auth-icon-light {
  display: none;
}

[data-theme="dark"] .auth-icon-dark {
  display: block;
}

.authenticator-entry {
  display: flex;
  align-items: center;
  gap: 10px;
}
