/* Shared customer, staff and password-reset presentation. */
.tq-auth .authPage,
.tq-auth .authPage * {
  box-sizing: border-box;
}

.tq-auth .authPage {
  max-width: 1128px;
  margin: 0 auto;
  padding: 46px 24px 64px;
  color: var(--tq-ink, #243642);
}

.tq-auth .authWrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas: "intro intro" "form notes";
  gap: 32px 64px;
  align-items: start;
}

.tq-auth .authIntro {
  grid-area: intro;
  max-width: 790px;
}

.tq-auth .kicker {
  margin: 0 0 10px;
  color: var(--tq-blue, #1177b8);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tq-auth .authIntro h1 {
  margin: 0 0 16px;
  color: var(--tq-navy, #13374e);
  font: 400 clamp(30px, 3.5vw, 42px)/1.18 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}

.tq-auth .lead {
  margin: 0;
  max-width: 72ch;
  color: var(--tq-muted, #60727d);
  font-size: 16px;
  line-height: 1.75;
}

.tq-auth .authForm {
  grid-area: form;
  min-width: 0;
  padding-top: 24px;
  border-top: 1px solid var(--tq-rule, #dce5ea);
}

.tq-auth .cardTitle {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 9px;
}

.tq-auth .cardTitle h2 {
  margin: 0;
  color: var(--tq-navy, #13374e);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
}

.tq-auth .subtle,
.tq-auth .helpItemText {
  margin: 0;
  color: var(--tq-muted, #60727d);
  font-size: 14px;
  line-height: 1.7;
}

.tq-auth .form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.tq-auth .field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.tq-auth .label {
  color: var(--tq-ink, #243642);
  font-size: 14px;
  font-weight: 600;
}

.tq-auth .inputWrap {
  position: relative;
  min-width: 0;
}

.tq-auth .inputIcon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tq-muted, #60727d);
  pointer-events: none;
}

.tq-auth .input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 11px 13px 11px 40px;
  border: 1px solid #b6c8d3;
  border-radius: 5px;
  background: #fff;
  color: var(--tq-ink, #243642);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.tq-auth .input::placeholder { color: #566b78; opacity: 1; }
.tq-auth .input:focus { border-color: var(--tq-blue, #1177b8); }
.tq-auth .authPage :focus-visible { outline: 3px solid #a06412; outline-offset: 3px; }

.tq-auth .row,
.tq-auth .rowLinks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}

.tq-auth .check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--tq-muted, #60727d);
  font-size: 14px;
  cursor: pointer;
}

.tq-auth .check input {
  margin: 0;
  width: 17px;
  height: 17px;
  accent-color: var(--tq-blue, #1177b8);
}

.tq-auth .link {
  color: var(--tq-blue, #1177b8);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.tq-auth .link:hover { color: #095e97; }

.tq-auth .btnPrimary,
.tq-auth .btnSecondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--tq-blue, #1177b8);
  border-radius: 5px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.tq-auth .btnPrimary {
  background: var(--tq-blue, #1177b8);
  color: #fff;
}

.tq-auth .btnPrimary:hover { background: #095e97; border-color: #095e97; color: #fff; }
.tq-auth .btnSecondary { background: #fff; color: var(--tq-blue, #1177b8); border-color: var(--tq-rule, #dce5ea); }
.tq-auth .btnSecondary:hover { background: var(--tq-wash, #f5f8fa); border-color: var(--tq-blue, #1177b8); }

.tq-auth .authNotes {
  grid-area: notes;
  min-width: 0;
  padding: 24px 0 0 30px;
  border-top: 1px solid var(--tq-rule, #dce5ea);
  border-left: 1px solid var(--tq-rule, #dce5ea);
}

.tq-auth .helpGrid { display: grid; gap: 22px; }
.tq-auth .helpItemTitle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  color: var(--tq-navy, #13374e);
  font-size: 14px;
  font-weight: 600;
}

.tq-auth .helpItemTitle i { color: var(--tq-blue, #1177b8); }
.tq-auth .footNote,
.tq-auth .helpLine,
.tq-auth .badge {
  margin: 0;
  color: var(--tq-muted, #60727d);
  font-size: 13px;
  line-height: 1.7;
}

.tq-auth .authNotes .footNote,
.tq-auth .authNotes .badge,
.tq-auth .rowLinks { margin-top: 22px; }
.tq-auth .badge i { margin-right: 6px; }

.tq-auth .alert,
.tq-auth .success {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px solid #dfb2b2;
  border-radius: 5px;
  background: #fff5f5;
  color: #832929;
  font-size: 14px;
  line-height: 1.6;
}

.tq-auth .alert i,
.tq-auth .success i { flex: 0 0 auto; }
.tq-auth .success { border-color: #a8caba; background: #f2faf6; color: #236046; }

@media (max-width: 760px) {
  .tq-auth .authPage { padding: 32px 20px 44px; }
  .tq-auth .authWrap { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "notes"; gap: 28px; }
  .tq-auth .authIntro h1 { font-size: 32px; }
  .tq-auth .authNotes { padding: 24px 0 0; border-left: 0; }
  .tq-auth .authForm { padding-top: 24px; }
}
