/* The Client portal page: one card to go to a portal's own sign-in by its name, one card for someone who does not know
   the name. */
.pt-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; max-width: 1040px; margin-inline: auto; text-align: left; }
.pt-card { padding: clamp(26px, 3vw, 44px); border-radius: 28px; background: var(--card); }
.pt-card h2 { font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; }
.pt-card p { margin-top: 14px; color: var(--soft); text-wrap: pretty; }
.pt-card p a { color: #fff; text-underline-offset: 3px; overflow-wrap: anywhere; }
.pt-form { margin-top: 22px; }
.pt-form label { display: block; margin-bottom: 8px; font-size: 14px; color: var(--soft); }
/* The name and the rest of the address read as one line: the field, then the part that never changes. */
.pt-field { display: flex; align-items: center; min-height: 58px; border-radius: 16px; border: 1px solid #6e6e6e; background: #000; overflow: hidden; }
.pt-field:focus-within { outline: 2px solid #fff; outline-offset: 2px; border-color: transparent; }
.pt-field input { flex: 1 1 auto; min-width: 0; width: 100%; min-height: 56px; padding: 14px 4px 14px 18px; border: 0; background: none; color: #fff; font: inherit; font-size: 17px; outline: none; }
.pt-field input::placeholder { color: #8a8a8a; }
.pt-field span { flex: none; padding-right: 18px; font-size: 17px; color: #a6a6a6; white-space: nowrap; }
.pt-form .pt-hint { margin-top: 12px; font-size: 14px; line-height: 1.55; }
/* The function sends a name it cannot use back here, to this line. */
.pt-form .pt-error { display: none; margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: #2a1414; color: #ffd9d6; font-size: 14.5px; }
.pt-form .pt-error:target { display: block; }
.pt-form .sx-btn { margin-top: 24px; }
@media (max-width: 860px) {
  .pt-grid { grid-template-columns: minmax(0, 1fr); max-width: 620px; }
}
@media (max-width: 420px) {
  .pt-field input, .pt-field span { font-size: 16px; }
  .pt-field input { padding-left: 14px; }
  .pt-field span { padding-right: 14px; }
}
