/* Trikona Auth – Login Form (light card, yellow accent, LinkedIn button) */
:root {
  /* Typography & colors */
  --tri-font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --tri-text: #111827;                 /* gray-900 */
  --tri-muted: #6b7280;                /* gray-500 */
  --tri-surface: #ffffff;
  --tri-border: #f3f4f6;               /* gray-100 */

  /* Inputs */
  --tri-input: #ffffff;
  --tri-input-border: #d1d5db;         /* gray-300 */
  --tri-input-border-focus: #ffc000;

  /* Brand accents */
  --tri-primary: #ffc000;              /* yellow */
  --tri-primary-hover: #eab308;        /* yellow-500-ish */

  /* Effects */
  --tri-shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);

  /* Social: LinkedIn */
  --tri-li-blue: #0A66C2;
  --tri-li-blue-hover: #06539b;

  /* Layout helpers for fixed headers (tweak to your theme) */
  --site-header-h: 72px;               /* height of your sticky/fixed site header */
  --wp-adminbar-h-desktop: 32px;       /* WordPress admin bar (>= 783px) */
  --wp-adminbar-h-mobile: 46px;        /* WordPress admin bar (< 783px) */
}

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--tri-font);
  background: #fff;
  color: var(--tri-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ====== Card container ====== */
.tri-wrap {
  position: relative;
  max-width: 28rem;
  width: 100%;
  /* Push below sticky/fixed header (and keep some vertical breathing room) */
  margin: calc(var(--site-header-h) + 24px) auto min(8vh, 64px);
  padding: 2.5rem;                     /* p-10 */
  background: var(--tri-surface);
  border: 1px solid var(--tri-border);
  border-radius: 1rem;                  /* rounded-2xl */
  box-shadow: var(--tri-shadow-lg);
  text-align: center;
  z-index: 1;                           /* keep above background visuals */
}

/* Add admin-bar offset if logged in */
.admin-bar .tri-wrap {
  margin-top: calc(var(--site-header-h) + var(--wp-adminbar-h-desktop) + 24px);
}
@media (max-width: 782px) {
  .admin-bar .tri-wrap {
    margin-top: calc(var(--site-header-h) + var(--wp-adminbar-h-mobile) + 24px);
  }
}

/* Improve scroll-to behavior with sticky headers (anchors/focus) */
html { scroll-padding-top: calc(var(--site-header-h) + var(--wp-adminbar-h-desktop)); }
@media (max-width: 782px) {
  html { scroll-padding-top: calc(var(--site-header-h) + var(--wp-adminbar-h-mobile)); }
}

.tri-wrap h1 {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 .25rem 0;
}

.tri-muted {
  margin-top: .5rem;
  margin-bottom: 1.25rem;
  color: var(--tri-muted);
  font-size: .95rem;
}

/* Style an anchor within tri-block as LinkedIn button */
.tri-block a,
.tri-btn-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .75rem 1rem;
  border-radius: .5rem;
  background: var(--tri-li-blue);
  text-decoration: none;
  transition: background-color .15s ease, transform .1s ease, box-shadow .15s ease;
  box-shadow: 0 8px 18px rgba(10,102,194,.18);
  /* keep text white in all states */
  color: #fff;
}

/* keep text white across all link states (order matters: LVHA) */
.tri-block a:link,
.tri-btn-linkedin:link { color: #fff; }
.tri-block a:visited,
.tri-btn-linkedin:visited { color: #fff; }
.tri-block a:hover,
.tri-btn-linkedin:hover {
  color: #fff;                          /* prevent blue on hover */
  background: var(--tri-li-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(10,102,194,.20);
}
.tri-block a:active,
.tri-btn-linkedin:active { color: #fff; }

/* ensure any nested elements inherit white text */
.tri-btn-linkedin * ,
.tri-block a * { color: inherit; }

/* accessible focus */
.tri-block a:focus-visible,
.tri-btn-linkedin:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(10,102,194,.25), 0 8px 18px rgba(10,102,194,.18);
}

/* REMOVED the icon: previously added via ::before — no icon now */
/* (intentionally left out to satisfy “remove the in logo” requirement) */

/* ====== Fallback (admin-enabled) ====== */
.tri-fallback { text-align: left; }

.tri-hr {
  border: 0;
  height: 1px;
  background: #eee;
  margin: 1.5rem 0;
}

/* ====== Fields ====== */
.tri-field { margin-bottom: 1rem; }

.tri-field label {
  display: block;
  font-weight: 600;
  margin-bottom: .25rem;
  color: #374151; /* gray-700 */
}

.tri-field input {
  width: 100%;
  padding: .625rem .75rem;
  border: 1px solid var(--tri-input-border);
  border-radius: .5rem;
  background: var(--tri-input);
  color: #1f2937;                /* gray-800 */
  font-size: .95rem;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.tri-field input::placeholder { color: rgba(17,24,39,.55); }

/* Positioning only */
.tri-pass-wrap { position: relative; }
#triPass { padding-right: 2.25rem; } /* make room for the icon */

/* Password toggle eye icon - plain, no background/border */
.tri-pass-toggle {
  position: absolute;
  right: .5rem;
  top: 50%;
  transform: translateY(-15%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .25rem;
  border: none !important;
  outline: none !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  line-height: 0;
  cursor: pointer;
  color: #6b7280;
  transition: opacity .15s ease;
}

.tri-pass-toggle:hover {
  opacity: 0.7;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.tri-pass-toggle:focus,
.tri-pass-toggle:focus-visible,
.tri-pass-toggle:active {
  opacity: 0.7;
  background: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.tri-pass-toggle svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
  stroke: currentColor;
  fill: none;
}

/* Kill Chrome autofill yellow */
.tri-field input:-webkit-autofill,
.tri-field input:-webkit-autofill:hover,
.tri-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #111;
  caret-color: #111;
  -webkit-box-shadow: 0 0 0 1000px var(--tri-input) inset !important;
          box-shadow: 0 0 0 1000px var(--tri-input) inset !important;
  transition: background-color 9999s ease-out 0s;
}

/* Errors */
.tri-error {
  color: #d63638;
  font-size: .85rem;
  margin-top: .25rem;
}

/* ====== Remember + Forgot row ====== */
.tri-aux-row {
  display: flex;
  align-items: center;
  justify-content: space-between;   /* remember left, forgot right */
  gap: 12px;
  margin-top: .25rem;
  margin-bottom: .25rem;
}

.tri-remember {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  user-select: none;
  color: #374151; /* gray-700 */
  font-size: .95rem;
}

.tri-remember input {
  width: 1rem;
  height: 1rem;
}

.tri-forgot {
  margin-left: auto;                  /* push to the right */
  font-size: .95rem;
  color: var(--tri-primary);          /* yellow highlight */
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dotted rgba(234,179,8,.45);
}
.tri-forgot:hover { text-decoration: underline; }
.tri-forgot:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,192,0,.25);
  border-radius: .25rem;
}

/* ====== Actions / Buttons ====== */
.tri-actions {
  text-align: center;
  margin-top: 1.25rem;
  width: 100%;
}

.tri-btn {
  display: inline-block;
  padding: .75rem 1.1rem;
  border-radius: .5rem;
  border: none;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.tri-btn-primary {
  background: var(--tri-primary);
  color: #111;
  transition: background-color .15s ease, box-shadow .15s ease, transform .1s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  width: 100%;
}

.tri-actions .tri-btn,
.tri-actions .tri-btn-primary {
  width: 100%;                         /* full width like inputs */
}

.tri-btn-primary:hover {
  color: #000 !important;
  background: var(--tri-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0,0,0,.16);
}
.tri-btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,192,0,.3), 0 8px 18px rgba(0,0,0,.12);
}
.tri-btn-primary:disabled,
.tri-form[aria-busy="true"] .tri-btn-primary,
#triPwLogin[aria-busy="true"] .tri-btn-primary {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

/* ====== Alerts ====== */
.tri-alert {
  margin-top: .75rem;
  font-size: .95rem;
  color: #111827;
  text-align: center;
}

/* ====== Divider ===== */
.divider{
  display:flex;
  align-items:center;
  gap:.75rem;              /* space around the text */
  margin:1.25rem 0;
  text-align:center;
}
.divider::before,
.divider::after{
  content:"";
  flex:1 1 0%;
  height:1px;
  background:#e5e7eb;      /* line color */
}
.divider > span{
  font:600 .9rem/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#6b7280;           /* text color */
  white-space:nowrap;
}

/* ====== Motion/accessibility niceties ====== */
@media (prefers-reduced-motion: reduce) {
  .tri-block a,
  .tri-btn,
  .tri-btn-primary {
    transition: none;
    transform: none;
  }
}

/* ====== Responsive ====== */
@media (max-width: 480px) {
  .tri-wrap {
    margin: calc(var(--site-header-h) + 16px) auto min(3vh, 24px);
    padding: 1.75rem;
  }
  .tri-auth-section {
    padding: 1rem;
  }
  .tri-block a { width: 100%; }
  .tri-aux-row { gap: 8px; }
}

/* ─── Scoped reset (card only) ───────────────────────────── */
.tri-page-shell *, .tri-page-shell *::before, .tri-page-shell *::after {
  box-sizing: border-box;
}

/* ─── Page shell: full-width dark section ────────────────── */
.tri-page-shell {
  width: 100%;
  min-height: calc(100vh - 160px); /* leave room for header/footer */
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  color: #fff;
  position: relative;
}

/* subtle grid texture */
.tri-page-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,180,0,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,180,0,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ─── Card ───────────────────────────────────────────────── */
.tri-wrap {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #0a0a0a;
  border: 1px solid rgba(255,180,0,.28);
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,180,0,.06),
    0 32px 80px rgba(0,0,0,.7),
    0 0 60px rgba(255,180,0,.04) inset;
  animation: cardIn .45s cubic-bezier(.22,1,.36,1) both;
}

@keyframes cardIn {
  from { opacity:0; transform:translateY(18px) scale(.97); }
  to   { opacity:1; transform:translateY(0)   scale(1);   }
}

/* amber top-bar accent */
.tri-wrap::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FFB400 40%, #FF8C00 70%, transparent);
}

/* ─── Header ─────────────────────────────────────────────── */
.tri-header {
  padding: 2rem 2rem 0;
}

.tri-wrap h1 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: .35rem;
}

.tri-muted {
  font-size: .9rem;
  color: #bdbdbd;
  margin-bottom: 0;
}

/* ─── Body ───────────────────────────────────────────────── */
.tri-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tri-auth-section {
  position: relative;
  width: 100%;
  padding: 1.15rem;
  border-radius: 1.1rem;
}

.tri-auth-section-head {
  margin-bottom: 0.9rem;
  text-align: left;
}

.tri-auth-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.tri-auth-section h2 {
  margin: 0.65rem 0 0.25rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.tri-auth-section p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #a8b0bd;
}

.tri-auth-section-linkedin {
  margin-top: 1.25rem;
  background:
    linear-gradient(135deg, rgba(10,102,194,.18), rgba(10,102,194,.045)),
    rgba(255,255,255,.025);
  border: 1px solid rgba(10,102,194,.42);
  box-shadow: 0 16px 34px rgba(10,102,194,.10);
}

.tri-auth-section-linkedin .tri-auth-kicker {
  background: rgba(10,102,194,.22);
  color: #a9d3ff;
}

.tri-auth-section-password {
  background: rgba(255,255,255,.035);
  border: 1px dashed rgba(255,180,0,.34);
}

.tri-auth-section-password .tri-auth-kicker {
  background: rgba(255,180,0,.13);
  color: #ffd679;
}

/* ─── LinkedIn button ────────────────────────────────────── */
.tri-block { width: 100%; }

.tri-btn-linkedin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  width: 100%;
  padding: .9rem 1.25rem;
  border-radius: .875rem;
  background: rgba(10,102,194,.1);
  border: 1px solid rgba(10,102,194,.4);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .2s;
  position: relative;
  overflow: hidden;
}

.tri-btn-linkedin::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,102,194,.12);
  opacity: 0;
  transition: opacity .25s;
}

.tri-btn-linkedin:hover { border-color: #0A66C2; background: rgba(10,102,194,.2); }
.tri-btn-linkedin:hover::before { opacity: 1; }
.tri-btn-linkedin:active { transform: scale(.98); }

/* LinkedIn icon placeholder (rendered by shortcode) */
.tri-btn-linkedin svg,
.tri-btn-linkedin img { width: 22px; height: 22px; border-radius: 6px; }

/* ─── Divider ────────────────────────────────────────────── */
.divider {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0.25rem 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.08);
}

.divider span {
  padding: 0 .75rem;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #bdbdbd;
  white-space: nowrap;
}

.tri-divider-label {
  display: block;
  font-size: .75rem;
  color: #bdbdbd;
  text-align: center;
  margin-bottom: 1rem;
}

/* ─── Form fields ────────────────────────────────────────── */
.tri-fallback { width: 100%; }

#triPwLogin { display: flex; flex-direction: column; gap: 0.75rem; }

.tri-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.tri-field label {
  font-size: .82rem;
  font-weight: 500;
  color: #d1d5db;
  margin-left: .25rem;
}

.tri-field input[type="email"],
.tri-field input[type="password"],
.tri-field input[type="text"] {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .75rem;
  padding: .75rem 1rem .75rem 2.85rem;
  color: #fff;
  font-size: .92rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}

.tri-field input:focus {
  border-color: #FFB400;
  box-shadow: 0 0 0 2px rgba(255,180,0,.18);
}

.tri-field input::placeholder { color: #bdbdbd; }

/* icon inside field */
.tri-field-icon {
  position: relative;
}

.tri-field-icon .field-icon {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #4b5563;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.tri-field-icon .field-icon svg { width: 18px; height: 18px; stroke-width: 1.8; }

/* password wrapper */
.tri-pass-wrap { position: relative; }
.tri-pass-wrap .tri-field-icon { display: contents; }

.tri-pass-toggle {
  position: absolute;
  right: .85rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #4b5563;
  padding: .25rem;
  display: flex;
  align-items: center;
  transition: color .2s;
  margin-top: 1.1rem; /* offset for label height */
}

.tri-pass-toggle:hover { color: #FFB400; }
.tri-pass-toggle svg { width: 18px; height: 18px; stroke-width: 1.8; }

/* error text */
.tri-error {
  font-size: .75rem;
  color: #f87171;
  margin-left: .25rem;
  margin-top: .1rem;
}

/* ─── Remember / Forgot row ──────────────────────────────── */
.tri-aux-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
}

.tri-remember {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  color: #9ca3af;
  user-select: none;
}

.tri-remember input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #FFB400;
  border-radius: 4px;
  cursor: pointer;
}

.tri-forgot, .tri-link {
  color: #FFB400;
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}
.tri-forgot:hover, .tri-link:hover { color: #FF8C00; }

/* ─── Primary submit button ──────────────────────────────── */
.tri-actions { width: 100%; }

.tri-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .9rem 1.5rem;
  border-radius: .875rem;
  background: #FFB400;
  border: none;
  color: #000;
  font-size: 1rem;
  font-weight: 600 !important;
  cursor: pointer;
  letter-spacing: -.01em;
  position: relative;
  overflow: hidden;
  transition: color .3s;
}

/* slide-fill hover (matches SlideFillButton) */
.tri-btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(-101%);
  z-index: -1;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}

.tri-btn-primary:hover { color: #000 !important; }
.tri-btn-primary:hover::after { transform: translateX(0); }
.tri-btn-primary span { position: relative; z-index: 1; }
.tri-btn-primary:active { transform: scale(.98); }

/* ─── Alert / feedback ───────────────────────────────────── */
.tri-alert {
  font-size: .82rem;
  padding: .5rem .75rem;
  border-radius: .5rem;
  min-height: 0;
  transition: all .25s;
}
.tri-alert:not(:empty) {
  background: rgba(248,113,113,.1);
  border: 1px solid rgba(248,113,113,.25);
  color: #f87171;
}

/* ─── reCAPTCHA field ────────────────────────────────────── */
#tri-recaptcha { margin-top: .25rem; }

/* ─── Scrollbar (WebKit) — scoped ───────────────────────── */
.tri-page-shell ::-webkit-scrollbar { width: 6px; }
.tri-page-shell ::-webkit-scrollbar-track { background: #0a0a0a; }
.tri-page-shell ::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }

/* ====== ConstruWX login polish pass ======
   Final scoped layer to override the older half-dark/half-light login styles above. */
body.page-template-login-form,
body:has(.tri-wrap) {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,180,0,.16), transparent 30%),
    linear-gradient(180deg, #f4f4f4, #e8e8e8);
}

.tri-wrap {
  width: min(100% - 32px, 440px);
  max-width: 440px;
  margin: calc(var(--site-header-h) + 28px) auto 52px;
  padding: 26px 28px 30px;
  overflow: hidden;
  border: 1px solid #111;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 112%, rgba(255,180,0,.13), transparent 44%),
    linear-gradient(180deg, #fff, #f7f7f7);
  box-shadow:
    0 28px 70px rgba(0,0,0,.22),
    0 0 28px rgba(255,180,0,.16),
    inset 0 0 0 1px rgba(255,255,255,.7);
  color: #111;
  text-align: center;
}

.tri-wrap::before {
  display: none;
}

.tri-login-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.tri-login-brand img {
  display: block;
  width: min(250px, 72vw);
  max-height: 70px;
  object-fit: contain;
}

.tri-wrap h1 {
  display: block;
  margin: 0 0 6px;
  color: #111;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.tri-muted {
  margin: 0 0 18px;
  color: #454545;
  font-size: 15px;
  line-height: 1.5;
}

.tri-auth-section {
  width: 100%;
  padding: 18px;
  border-radius: 16px;
  text-align: left;
}

.tri-auth-section-head {
  margin: 0 0 14px;
}

.tri-auth-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}

.tri-auth-section h2 {
  display: block;
  margin: 10px 0 5px;
  color: #111;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.tri-auth-section p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.45;
}

.tri-auth-section-linkedin {
  margin: 0 0 16px;
  border: 1px solid rgba(10,102,194,.22);
  background: linear-gradient(180deg, rgba(10,102,194,.07), rgba(10,102,194,.025));
  box-shadow: 0 16px 34px rgba(10,102,194,.09);
}

.tri-auth-section-linkedin .tri-auth-kicker {
  background: #0a66c2;
  color: #fff;
}

.tri-auth-section-password {
  border: 1px solid rgba(17,17,17,.18);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,180,0,.14);
}

.tri-auth-section-password .tri-auth-kicker {
  background: #111;
  color: #ffb400;
}

.tri-block {
  width: 100%;
}

.tri-block a,
.tri-btn-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid #0a66c2;
  border-radius: 12px;
  background: #0a66c2;
  color: #fff !important;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(10,102,194,.24);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.tri-block a:hover,
.tri-btn-linkedin:hover {
  background: #084f98;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(10,102,194,.3);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}

.divider::before,
.divider::after {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(17,17,17,.24), transparent);
  content: "";
}

.divider > span {
  color: #555;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.tri-fallback {
  width: 100%;
  text-align: left;
}

#triPwLogin {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tri-field {
  margin: 0;
}

.tri-field label {
  display: block;
  margin: 0 0 6px;
  color: #191919;
  font-size: 13px;
  font-weight: 800;
}

.tri-field input[type="email"],
.tri-field input[type="password"],
.tri-field input[type="text"] {
  width: 100%;
  min-height: 46px;
  padding: 10px 42px 10px 13px;
  border: 1px solid rgba(17,17,17,.22);
  border-radius: 11px;
  background: #f7f7f7;
  color: #111;
  font-size: 15px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.tri-field input:focus {
  border-color: #ffb400;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,180,0,.2);
}

.tri-pass-wrap {
  position: relative;
}

.tri-pass-toggle {
  position: absolute;
  right: 10px;
  top: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  color: #333;
  cursor: pointer;
  transform: none;
}

.tri-pass-toggle:hover,
.tri-pass-toggle:focus {
  color: #111;
}

.tri-aux-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.tri-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #444;
  font-size: 13px;
}

.tri-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #ffb400;
}

.tri-forgot,
.tri-link {
  color: #111;
  border-bottom: 1px dotted rgba(255,180,0,.75);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.tri-forgot:hover,
.tri-link:hover {
  color: #9a6c00;
}

#tri-recaptcha {
  margin-top: 2px;
}

.tri-actions {
  width: 100%;
  margin-top: 2px;
}

.tri-btn-primary,
.tri-actions .tri-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  border: 0;
  border-radius: 12px;
  background: #ffb400;
  color: #111 !important;
  font-size: 15px;
  font-weight: 900 !important;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(255,180,0,.28);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.tri-btn-primary:hover {
  background: #ffc42e;
  color: #111 !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(255,180,0,.34);
}

.tri-alert:not(:empty) {
  margin-top: 4px;
  border: 1px solid rgba(214,54,56,.25);
  border-radius: 10px;
  background: rgba(214,54,56,.08);
  color: #9b1c1f;
}

@media (max-width: 480px) {
  .tri-wrap {
    width: min(100% - 24px, 440px);
    margin-top: calc(var(--site-header-h) + 18px);
    padding: 22px 18px 24px;
  }

  .tri-login-brand img {
    width: min(230px, 74vw);
  }

  .tri-wrap h1 {
    font-size: 25px;
  }

  .tri-auth-section {
    padding: 15px;
  }

  .tri-auth-section h2 {
    font-size: 21px;
  }
}
