.tb-auth-main {
  box-sizing: border-box;
  min-height: calc(100vh - 150px);
  padding: 210px 18px 82px;
  background:
    radial-gradient(circle at 12% 20%, rgba(237, 28, 36, 0.08), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(37, 99, 235, 0.10), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #f3f6fb 100%);
  overflow-x: hidden;
}

html:has(.tb-auth-main),
body:has(.tb-auth-main) {
  overflow-x: hidden;
}

.tb-auth-main *,
.tb-auth-main *::before,
.tb-auth-main *::after {
  box-sizing: border-box;
}

.tb-auth-shell {
  width: min(100%, 1420px);
  max-width: calc(100vw - 36px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(650px, 1.06fr) minmax(430px, 0.72fr);
  gap: 38px;
  align-items: stretch;
  direction: ltr;
}

.tb-auth-shell--register {
  width: min(100%, 1420px);
  grid-template-columns: minmax(640px, 0.96fr) minmax(450px, 0.68fr);
  gap: 44px;
  align-items: stretch;
}

.tb-auth-shell--login {
  width: min(100%, 1580px);
  grid-template-columns: minmax(695px, 0.95fr) minmax(500px, 0.70fr);
  gap: 58px;
  align-items: stretch;
}

.tb-auth-card,
.tb-auth-visual {
  direction: rtl;
}

.tb-auth-card {
  width: 100%;
  margin: 0;
  padding: 46px 48px;
  border: 1px solid rgba(207, 216, 230, 0.9);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(10, 17, 40, 0.12);
  text-align: right;
  align-self: center;
}

.tb-auth-card--wide {
  width: 100%;
}

.tb-auth-shell--register .tb-auth-card--wide {
  max-width: 500px;
  justify-self: start;
  align-self: stretch;
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tb-auth-card--login {
  max-width: 545px;
  justify-self: start;
  min-height: 620px;
  padding: 52px 46px 42px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tb-auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0a1128, #2458d8);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.20);
}

.tb-auth-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.tb-auth-title {
  margin: 0;
  color: #0a1128;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.tb-auth-subtitle {
  margin: 10px auto 30px;
  max-width: 430px;
  color: #667085;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
  text-align: center;
}

.tb-auth-subtitle strong {
  color: #ed1c24;
}

.tb-auth-form {
  display: grid;
  gap: 20px;
}

.tb-auth-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tb-auth-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.tb-auth-field--full,
.tb-auth-actions,
.tb-auth-notice {
  grid-column: 1 / -1;
}

.tb-auth-label {
  color: #0a1128;
  font-size: 14px;
  font-weight: 900;
}

.tb-auth-input-wrap {
  position: relative;
}

.tb-auth-input-wrap > i {
  position: absolute;
  top: 50%;
  right: 18px;
  color: #98a2b3;
  transform: translateY(-50%);
  pointer-events: none;
}

.tb-auth-input-wrap--password .tb-auth-input {
  padding-left: 54px;
}

.tb-auth-password-toggle {
  position: absolute;
  top: 50%;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #667085;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.tb-auth-password-toggle:hover,
.tb-auth-password-toggle:focus-visible,
.tb-auth-password-toggle[aria-pressed="true"] {
  border-color: rgba(237, 28, 36, .18);
  background: rgba(237, 28, 36, .07);
  color: #ed1c24;
  outline: none;
}

.tb-auth-password-toggle i {
  font-size: 16px;
  pointer-events: none;
}

.tb-auth-input {
  width: 100%;
  height: 58px;
  padding: 0 48px 0 18px;
  border: 1px solid #dfe5ef;
  border-radius: 18px;
  background: #fff;
  color: #0a1128;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.tb-auth-input::placeholder {
  color: #98a2b3;
  font-weight: 700;
}

.tb-auth-input:focus {
  border-color: #ed1c24;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(237, 28, 36, 0.08);
}

.tb-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #667085;
  font-size: 14px;
  font-weight: 800;
}

.tb-auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.tb-auth-check input,
.tb-auth-terms input {
  width: 17px;
  height: 17px;
  accent-color: #ed1c24;
}

.tb-auth-link,
.tb-auth-switch a,
.tb-auth-terms a {
  color: #ed1c24;
  font-weight: 900;
  text-decoration: none;
}

.tb-auth-button {
  width: 100%;
  height: 62px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(135deg, #ed1c24, #bd0008);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 18px 32px rgba(237, 28, 36, 0.24);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.tb-auth-button:hover {
  transform: translateY(-1px);
  filter: saturate(1.06);
  box-shadow: 0 22px 38px rgba(237, 28, 36, 0.28);
}

.tb-auth-secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  border: 1px solid #dfe5ef;
  border-radius: 16px;
  background: #fff;
  color: #0a1128;
  font-weight: 900;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.tb-auth-secondary-button:hover {
  border-color: rgba(237, 28, 36, 0.35);
  transform: translateY(-1px);
}

.tb-auth-secondary-button i {
  color: #22c55e;
  font-size: 18px;
}

.tb-auth-switch {
  margin: 20px 0 0;
  color: #667085;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.tb-auth-terms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #0a1128;
  font-size: 14px;
  font-weight: 800;
}

.tb-auth-notice {
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 800;
  text-align: center;
}

.tb-auth-notice--error {
  border: 1px solid #fee2e2;
  background: #fff1f2;
  color: #dc2626;
}

.tb-auth-notice--success {
  border: 1px solid #dcfce7;
  background: #f0fdf4;
  color: #16a34a;
}

.tb-auth-visual {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border: 1px solid rgba(207, 216, 230, 0.85);
  border-radius: 32px;
  background:
    radial-gradient(circle at 18% 12%, rgba(237, 28, 36, 0.08), transparent 27%),
    radial-gradient(circle at 88% 22%, rgba(37, 99, 235, 0.12), transparent 31%),
    #fff;
  box-shadow: 0 28px 85px rgba(10, 17, 40, 0.10);
}

.tb-auth-visual::before {
  content: "";
  position: absolute;
  inset: 24px 24px auto auto;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.45);
}

.tb-auth-visual::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 32px;
  width: 210px;
  height: 210px;
  background-image: radial-gradient(rgba(148, 163, 184, 0.34) 1.3px, transparent 1.3px);
  background-size: 18px 18px;
  opacity: .75;
}

.tb-auth-visual-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 54px 58px 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tb-auth-visual-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  margin-bottom: 18px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff1f2;
  color: #ed1c24;
  font-size: 14px;
  font-weight: 900;
}

.tb-auth-visual-title {
  max-width: 610px;
  margin: 0 0 18px;
  color: #0a1128;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 950;
  line-height: 1.22;
}

.tb-auth-login-title {
  max-width: 690px;
  margin-bottom: 26px;
  text-align: center;
}

.tb-auth-login-title span {
  display: inline;
}

.tb-auth-login-title strong {
  display: inline-block;
}

.tb-auth-visual-title strong {
  color: #ed1c24;
}

.tb-auth-visual-text {
  max-width: 590px;
  margin: 0 0 28px;
  color: #667085;
  font-size: 17px;
  font-weight: 700;
  line-height: 2;
}

.tb-auth-shell--register .tb-auth-visual {
  min-height: 720px;
}

.tb-auth-shell--register .tb-auth-visual-inner {
  padding: 42px 52px 38px;
}

.tb-auth-register-title {
  max-width: 620px;
  margin: 0 auto 14px;
  text-align: center;
  font-size: clamp(31px, 3vw, 44px);
  line-height: 1.18;
}

.tb-auth-register-title span {
  display: block;
}

.tb-auth-register-title strong {
  display: inline-block;
  color: #ed1c24;
}

.tb-auth-shell--register .tb-auth-visual-kicker {
  margin-inline: auto;
}

.tb-auth-shell--register .tb-auth-visual-text {
  max-width: 560px;
  margin: 0 auto 22px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.9;
}

.tb-auth-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin-bottom: 26px;
}

.tb-auth-login-feature-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 760px;
  gap: 12px;
  margin-bottom: 18px;
}

.tb-auth-register-feature-row {
  width: min(100%, 610px);
  max-width: 610px;
  margin: 0 auto 20px;
  gap: 12px;
}

.tb-auth-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid #e7edf6;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.tb-auth-feature > div {
  min-width: 0;
}

.tb-auth-shell--register .tb-auth-feature {
  min-height: 70px;
  padding: 12px 14px;
  border-radius: 16px;
}

.tb-auth-shell--register .tb-auth-feature i {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
}

.tb-auth-shell--register .tb-auth-feature strong {
  display: block;
  font-size: 12.5px;
  line-height: 1.35;
}

.tb-auth-shell--register .tb-auth-feature span {
  display: block;
  font-size: 11px;
  line-height: 1.55;
}

.tb-auth-login-feature-row .tb-auth-feature {
  min-height: 86px;
  padding: 12px 10px;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: row-reverse;
}

.tb-auth-login-feature-row .tb-auth-feature i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex: 0 0 38px;
}

.tb-auth-login-feature-row .tb-auth-feature strong {
  font-size: 13px;
}

.tb-auth-login-feature-row .tb-auth-feature span {
  font-size: 11.5px;
  line-height: 1.55;
}

.tb-auth-feature i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
}

.tb-auth-feature strong {
  display: block;
  color: #0a1128;
  font-size: 15px;
  font-weight: 900;
}

.tb-auth-feature span {
  color: #667085;
  font-size: 13px;
  font-weight: 700;
}

.tb-auth-dashboard {
  position: relative;
  max-width: 660px;
  min-height: 250px;
  padding: 20px 22px;
  border: 1px solid #e7edf6;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(10, 17, 40, 0.10);
}

.tb-auth-dashboard-shot {
  width: min(100%, 760px);
  max-width: 760px;
  min-height: 300px;
  margin: 0 auto 18px;
  padding: 18px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.98)),
    radial-gradient(circle at 42% 64%, rgba(237,28,36,.08), transparent 38%);
}

.tb-auth-register-shot {
  width: min(100%, 650px);
  max-width: 650px;
  min-height: 265px;
  margin-bottom: 16px;
  padding: 14px;
  grid-template-columns: 90px 1fr;
  gap: 13px;
  border-radius: 22px;
}

.tb-auth-shot-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  padding: 14px 10px;
  border-radius: 20px;
  background: #0a1128;
}

.tb-auth-shot-sidebar img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 4px;
}

.tb-auth-shot-sidebar > span {
  width: 56px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}

.tb-auth-shot-sidebar > span.active {
  height: 32px;
  background: #ed1c24;
}

.tb-auth-shot-nav {
  width: 100%;
  min-height: 30px;
  padding: 7px 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  border-radius: 10px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}

.tb-auth-shot-nav i {
  width: 14px;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.78);
}

.tb-auth-shot-nav.active {
  color: #fff;
  background: #ed1c24;
  border-color: rgba(237,28,36,.75);
  box-shadow: 0 10px 24px rgba(237,28,36,.28);
}

.tb-auth-shot-nav.active i {
  color: #fff;
}

.tb-auth-shot-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tb-auth-shot-greeting {
  padding: 12px 16px;
  border-radius: 16px;
  background: #f8fafc;
  color: #0a1128;
  font-size: 14px;
  font-weight: 900;
}

.tb-auth-shot-panels {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
  align-items: stretch;
}

.tb-auth-shot-panel {
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #eef3fa;
  box-shadow: 0 14px 28px rgba(10,17,40,.05);
}

.tb-auth-shot-panel strong {
  display: block;
  margin-bottom: 9px;
  color: #0a1128;
  font-size: 12px;
  font-weight: 900;
}

.tb-auth-shot-panel div:not(.tb-auth-donut):not(.tb-auth-donut-legend) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid #f1f5f9;
  color: #64748b;
  font-size: 10.5px;
  font-weight: 800;
}

.tb-auth-shot-panel em {
  padding: 3px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-style: normal;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.tb-auth-shot-panel small {
  display: inline-block;
  margin-top: 7px;
  color: #2563eb;
  font-size: 9.5px;
  font-weight: 900;
}

.tb-auth-donut {
  width: 54px;
  height: 54px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: conic-gradient(#2563eb 0 42%, #22c55e 42% 70%, #ed1c24 70% 100%);
  position: relative;
}

.tb-auth-donut::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: #fff;
}

.tb-auth-donut-legend {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tb-auth-donut-legend span {
  color: #64748b;
  font-size: 9px;
  font-weight: 900;
}

.tb-auth-shot-list {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
}

.tb-auth-shot-list span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e5e7eb, #f1f5f9);
}

.tb-auth-shot-list span:nth-child(2) {
  width: 76%;
}

.tb-auth-shot-list span:nth-child(3) {
  width: 88%;
}

.tb-auth-shot-list span:nth-child(4) {
  width: 64%;
}

.tb-auth-trust-row {
  width: min(100%, 760px);
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tb-auth-shell--register .tb-auth-shot-sidebar {
  padding: 11px 8px;
  gap: 9px;
  border-radius: 18px;
}

.tb-auth-shell--register .tb-auth-shot-sidebar img {
  width: 36px;
  height: 36px;
}

.tb-auth-shell--register .tb-auth-shot-nav {
  min-height: 28px;
  padding: 7px 8px;
  font-size: 10px;
}

.tb-auth-shell--register .tb-auth-shot-nav i {
  font-size: 10px;
}

.tb-auth-shell--register .tb-auth-shot-body {
  gap: 10px;
}

.tb-auth-shell--register .tb-auth-shot-greeting {
  padding: 10px 14px;
  font-size: 12.5px;
}

.tb-auth-shell--register .tb-auth-dashboard-grid {
  gap: 9px;
  margin-bottom: 0;
}

.tb-auth-shell--register .tb-auth-metric {
  padding: 11px;
  border-radius: 15px;
}

.tb-auth-shell--register .tb-auth-metric span {
  font-size: 10px;
}

.tb-auth-shell--register .tb-auth-metric strong {
  font-size: 20px;
}

.tb-auth-shell--register .tb-auth-shot-panels {
  grid-template-columns: 1fr .9fr 1fr;
  gap: 9px;
}

.tb-auth-shell--register .tb-auth-shot-panel {
  padding: 10px;
  border-radius: 14px;
}

.tb-auth-shell--register .tb-auth-shot-panel strong {
  font-size: 10.5px;
  margin-bottom: 6px;
}

.tb-auth-shell--register .tb-auth-shot-panel div:not(.tb-auth-donut):not(.tb-auth-donut-legend) {
  padding: 5px 0;
  font-size: 8.5px;
}

.tb-auth-shell--register .tb-auth-shot-panel em {
  font-size: 7.5px;
  padding-inline: 5px;
}

.tb-auth-shell--register .tb-auth-donut {
  width: 44px;
  height: 44px;
}

.tb-auth-shell--register .tb-auth-donut::after {
  inset: 11px;
}

.tb-auth-shell--register .tb-auth-donut-legend span,
.tb-auth-shell--register .tb-auth-shot-panel small {
  font-size: 8px;
}

.tb-auth-shell--register .tb-auth-trust-row {
  width: min(100%, 650px);
  max-width: 650px;
  gap: 12px;
}

.tb-auth-shell--register .tb-auth-trust-card {
  min-height: 62px;
  padding: 12px 14px;
}

.tb-auth-shell--register .tb-auth-trust-card i {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
}

.tb-auth-trust-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 18px;
  border: 1px solid #e7edf6;
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 32px rgba(10, 17, 40, 0.07);
}

.tb-auth-trust-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #eff6ff;
  color: #2563eb;
  flex: 0 0 42px;
}

.tb-auth-trust-card strong {
  display: block;
  color: #0a1128;
  font-size: 14px;
  font-weight: 950;
}

.tb-auth-trust-card span {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.tb-auth-dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.tb-auth-dashboard-top strong {
  color: #0a1128;
  font-size: 16px;
}

.tb-auth-dashboard-status {
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #16a34a;
  font-size: 12px;
  font-weight: 900;
}

.tb-auth-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.tb-auth-metric {
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
}

.tb-auth-metric span {
  display: block;
  color: #98a2b3;
  font-size: 12px;
  font-weight: 800;
}

.tb-auth-metric strong {
  display: block;
  margin-top: 8px;
  color: #0a1128;
  font-size: 24px;
  font-weight: 950;
}

.tb-auth-chart {
  height: 84px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.10), rgba(237, 28, 36, 0.10)),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(148, 163, 184, .18) 59px 60px);
  position: relative;
  overflow: hidden;
}

.tb-auth-chart::before {
  content: "";
  position: absolute;
  inset: 42px 26px 24px 24px;
  border-top: 5px solid #ed1c24;
  border-right: 5px solid #2563eb;
  border-radius: 60% 40% 0 0;
  transform: skewX(-18deg);
}

.tb-auth-shell--login .tb-auth-visual {
  min-height: 620px;
  border-radius: 34px;
}

.tb-auth-shell--login .tb-auth-visual-inner {
  padding: 48px 64px 38px;
  justify-content: center;
}

.tb-auth-shell--login .tb-auth-login-title {
  max-width: 790px;
  margin: 0 auto 24px;
  font-size: clamp(32px, 2.45vw, 46px);
  line-height: 1.2;
  letter-spacing: 0;
}

.tb-auth-shell--login .tb-auth-login-title strong {
  margin: 0 7px 0 0;
}

.tb-auth-shell--login .tb-auth-login-feature-row {
  width: min(100%, 820px);
  max-width: 820px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 auto 22px;
}

.tb-auth-shell--login .tb-auth-login-feature-row .tb-auth-feature {
  min-height: 64px;
  padding: 10px 12px;
  border-radius: 18px;
  text-align: right;
  justify-content: space-between;
  flex-direction: row-reverse;
  box-shadow: 0 10px 24px rgba(10, 17, 40, 0.05);
  gap: 9px;
}

.tb-auth-shell--login .tb-auth-login-feature-row .tb-auth-feature i {
  width: 40px;
  height: 40px;
  flex-basis: 40px;
  border-radius: 14px;
}

.tb-auth-shell--login .tb-auth-login-feature-row .tb-auth-feature strong {
  display: block;
  max-width: 100%;
  font-size: 12.5px;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.tb-auth-shell--login .tb-auth-login-feature-row .tb-auth-feature span {
  display: block;
  max-width: 100%;
  font-size: 11.5px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.tb-auth-shell--login .tb-auth-dashboard-shot {
  width: min(100%, 820px);
  max-width: 820px;
  height: 318px;
  min-height: 0;
  margin: 0 auto 16px;
  padding: 16px;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  border-radius: 22px;
}

.tb-auth-shell--login .tb-auth-shot-sidebar {
  padding: 12px 9px;
  gap: 10px;
  border-radius: 18px;
}

.tb-auth-shell--login .tb-auth-shot-sidebar img {
  width: 38px;
  height: 38px;
}

.tb-auth-shell--login .tb-auth-shot-nav {
  min-height: 30px;
  padding: 7px 9px;
  font-size: 10.5px;
}

.tb-auth-shell--login .tb-auth-shot-nav i {
  font-size: 10.5px;
}

.tb-auth-shell--login .tb-auth-shot-sidebar > span {
  width: 46px;
  height: 8px;
}

.tb-auth-shell--login .tb-auth-shot-sidebar > span.active {
  height: 28px;
}

.tb-auth-shell--login .tb-auth-shot-body {
  gap: 10px;
}

.tb-auth-shell--login .tb-auth-shot-greeting {
  padding: 10px 14px;
  font-size: 13px;
}

.tb-auth-shell--login .tb-auth-dashboard-grid {
  gap: 10px;
  margin-bottom: 0;
}

.tb-auth-shell--login .tb-auth-metric {
  padding: 12px;
  border-radius: 16px;
}

.tb-auth-shell--login .tb-auth-metric strong {
  font-size: 22px;
}

.tb-auth-shell--login .tb-auth-shot-panels {
  grid-template-columns: 1fr .9fr 1fr;
  gap: 10px;
}

.tb-auth-shell--login .tb-auth-shot-panel {
  padding: 11px;
}

.tb-auth-shell--login .tb-auth-shot-panel strong {
  font-size: 11.5px;
}

.tb-auth-shell--login .tb-auth-shot-panel div:not(.tb-auth-donut):not(.tb-auth-donut-legend) {
  font-size: 9.5px;
}

.tb-auth-shell--login .tb-auth-shot-panel em {
  font-size: 8.5px;
  padding-inline: 6px;
}

.tb-auth-shell--login .tb-auth-chart {
  height: 78px;
}

.tb-auth-shell--login .tb-auth-shot-list {
  gap: 8px;
  padding: 12px;
}

.tb-auth-shell--login .tb-auth-trust-row {
  width: min(100%, 820px);
  max-width: 820px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tb-auth-shell--login .tb-auth-trust-card {
  min-height: 68px;
  padding: 13px 16px;
  justify-content: center;
}

@media (max-width: 1420px) {
  .tb-auth-shell--login {
    grid-template-columns: minmax(640px, .92fr) minmax(460px, .68fr);
    gap: 34px;
  }

  .tb-auth-shell--login .tb-auth-visual-inner {
    padding-right: 42px;
    padding-left: 42px;
  }

  .tb-auth-shell--login .tb-auth-login-title {
    font-size: clamp(30px, 2.7vw, 42px);
  }
}

@media (max-width: 1180px) {
  .tb-auth-shell,
  .tb-auth-shell--register {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .tb-auth-card {
    order: 1;
  }

  .tb-auth-visual {
    order: 2;
    min-height: auto;
  }
}

@media (max-width: 1023px) {
  .tb-auth-main {
    min-height: calc(100vh - 80px);
    padding-top: 118px;
  }
}

@media (max-width: 767px) {
  .tb-auth-main {
    padding-right: 16px;
    padding-left: 16px;
  }

  .tb-auth-shell,
  .tb-auth-shell--register {
    max-width: calc(100vw - 32px);
    gap: 22px;
  }

  .tb-auth-card {
    width: 100%;
    padding: 30px 20px;
    border-radius: 24px;
  }

  .tb-auth-title {
    font-size: 28px;
  }

  .tb-auth-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .tb-auth-grid,
  .tb-auth-feature-grid,
  .tb-auth-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .tb-auth-input {
    height: 54px;
    border-radius: 15px;
  }

  .tb-auth-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .tb-auth-visual-inner {
    padding: 30px 22px;
  }

  .tb-auth-visual-title {
    font-size: 28px;
  }

  .tb-auth-visual-text {
    font-size: 14px;
  }
}
