/* Account screens share the portal's restrained palette and locally vendored Tabler. */
.ymk-auth {
  --tblr-primary: #6254b7;
  --tblr-primary-rgb: 98, 84, 183;
  --tblr-link-color: #584b82;
  --tblr-link-hover-color: #493390;
  background: #f6f7fa;
  color: #292a38;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
/* Auto margins centre short screens and collapse for long forms without clipping. */
.ymk-auth .page-center { flex: 1 0 auto; min-height: 100svh; justify-content: flex-start; }
.ymk-auth .ymk-auth-container { flex: 0 0 auto; margin-block: auto; }
.ymk-auth-footer { flex: 0 0 auto; }
.ymk-auth-container { width: 100%; max-width: 30rem; padding-inline: 20px; }
.ymk-auth-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 28px; color: #292a38; font-size: 18px; font-weight: 600; text-decoration: none; }
.ymk-auth-brand .avatar { width: 38px; height: 38px; border-radius: 10px; background: #292a38 !important; }
.ymk-auth-brand small { display: block; color: #686d7d; font-size: 12px; font-weight: 400; }
.ymk-auth-card { border: 1px solid #e5e6ee; border-radius: 12px; box-shadow: 0 4px 20px rgba(41, 42, 56, .035); }
.ymk-auth-card .card-body { padding: 32px; }
.ymk-auth-heading { margin-bottom: 24px; }
.ymk-auth-eyebrow { color: #686d7d; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 8px; }
.ymk-auth h1 { font-size: 26px; font-weight: 600; line-height: 1.25; letter-spacing: -.5px; margin: 0 0 12px; overflow-wrap: anywhere; }
.ymk-auth-description { color: #626677; font-size: 14px; }
.ymk-auth-description p:last-child { margin-bottom: 0; }
.ymk-auth .form-label { font-size: 14px; font-weight: 500; }
.ymk-auth .form-control, .ymk-auth .form-select { min-height: 44px; border-radius: 7px; font-size: 15px; }
.ymk-auth .form-control:focus { border-color: #6254b7; box-shadow: 0 0 0 3px rgba(98, 84, 183, .12); }
.ymk-auth .form-hint, .ymk-auth .invalid-feedback { font-size: 13px; line-height: 1.5; }
.ymk-auth .form-hint ul { padding-left: 18px; margin-bottom: 0; }
.ymk-auth .btn { min-height: 44px; padding: 10px 16px; font-size: 14px; border-radius: 7px; white-space: normal; }
.ymk-auth .btn-primary { --tblr-btn-bg: #6254b7; --tblr-btn-border-color: #6254b7; --tblr-btn-hover-bg: #5146a3; --tblr-btn-hover-border-color: #5146a3; --tblr-btn-active-bg: #5146a3; }
.ymk-auth .form-footer { margin-top: 24px; }
.ymk-auth-links { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 24px; }
.ymk-auth-links a { text-underline-offset: 3px; }
.ymk-auth-links .btn-link { padding: 0; min-height: 32px; }
.ymk-auth-note { padding: 12px 14px; margin-bottom: 20px; border-radius: 7px; background: #f0edf8; color: #514677; font-size: 13px; }
.ymk-auth-footer { padding: 0 16px 24px; text-align: center; color: #686d7d; font-size: 12px; }
.ymk-auth .ymk-feedback-body, .ymk-auth-description { overflow-wrap: anywhere; }
.ymk-auth-register { max-width: 44rem; }
@media (max-width: 575.98px) {
  .ymk-auth-container { padding-inline: 16px; }
  .ymk-auth-card .card-body { padding: 24px 20px; }
  .ymk-auth-brand { margin-bottom: 24px; }
  .ymk-auth h1 { font-size: 24px; }
  .ymk-auth .form-control, .ymk-auth .form-select { font-size: 16px; }
}
