/*
 * Quark 2 — user customizations
 *
 * This file is safe to edit. It is loaded last so anything here overrides
 * theme.css without having to mark rules !important.
 */

/* Blades' base stylesheet turns on `hyphens: auto` for all body text. Browsers
   that actually ship a hyphenation dictionary for the page's language will
   mid-word break headlines and short marketing copy wherever they see fit,
   which reads as broken rather than typeset. Disable it site-wide. */
body {
  hyphens: none;
}

/* Compact header/inline buttons (Cabinet, Logout, Forgot, Magic link) —
   Blades/Pico only style real buttons/[role=button] elements, but their
   default sizing is meant for full form fields, not a header bar. */
[role="button"].nav-button {
  --pico-form-element-spacing-vertical: 0.4rem;
  --pico-form-element-spacing-horizontal: 0.9rem;
  width: auto;
  margin: 0;
  font-size: 0.9rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.user-cabinet-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.login-status-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.login-status-wrapper .login-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.login-status-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--q2-text-strong);
  white-space: nowrap;
}
.login-status-name:hover {
  text-decoration: underline;
}

/* Login page: Remember Me + Forgot on one row, Login button below */
.login-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.login-options-row .form-data.rememberme {
  margin-bottom: 0;
}
.login-options-row .form-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.login-options-row .form-input-wrapper input[type="checkbox"] {
  width: 1.5em;
  height: 1.5em;
  flex-shrink: 0;
}
.login-options-row .form-input-wrapper label {
  margin-bottom: 0;
}
