[x-cloak] {
  display: none;
}

#thx-affiliate-main,
#thx-affiliate-main * {
  box-sizing: border-box;
}

#thx-affiliate-main {
  width: 100%;
  overflow: visible;
}

#thx-affiliate-main :is(a, button, input, select) {
  touch-action: manipulation;
}

#thx-affiliate-main :is(h1, h2, h3, h4, h5, h6, p, form) {
  margin-top: 0;
  margin-bottom: 0;
}

#thx-affiliate-main :is(h1, h2, h3, h4, h5, h6) {
  color: inherit;
  width: auto;
  opacity: 1;
  text-rendering: optimizeLegibility;
  text-transform: none;
}

#thx-affiliate-main h1 {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

#thx-affiliate-main h2 {
  color: #020617;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 2.25rem;
}

#thx-affiliate-main .thx-auth-card > nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.375rem;
}

#thx-affiliate-main .thx-auth-card > nav > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  margin: 0;
  line-height: 1.25rem;
  text-align: center;
  text-transform: none;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-tab {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25rem;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-tab:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #0f172a;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-tab.is-active,
#thx-affiliate-main.thx-auth-portal .thx-auth-tab[aria-current="page"] {
  background: #fff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 12px -8px rgba(15, 23, 42, 0.45);
  color: #0b5d47;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-tab:focus-visible {
  box-shadow: 0 0 0 4px rgba(11, 93, 71, 0.15);
  outline: none;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-showcase h1 {
  color: #fff;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-security-note,
#thx-affiliate-main.thx-auth-portal .thx-auth-desktop-copy,
#thx-affiliate-main.thx-auth-portal .thx-auth-showcase {
  display: none;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-visual {
  position: relative;
  margin: 1.75rem 0 1.5rem;
  padding: 0.5rem 2.5rem 1.5rem 0;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-visual::before {
  position: absolute;
  inset: 12% 8% 2% 4%;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  content: "";
  filter: blur(28px);
  transform: rotate(2deg);
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card {
  position: relative;
  width: 100%;
  padding: 1.25rem;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(230, 176, 71, 0.14),
      transparent 34%
    ),
    #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 1.5rem;
  box-shadow: 0 28px 60px -28px rgba(3, 42, 31, 0.72);
  color: #0f172a;
  transform: rotate(-1deg);
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card::after {
  position: absolute;
  top: -3rem;
  right: -3rem;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(11, 93, 71, 0.1);
  border-radius: 999px;
  content: "";
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__header,
#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__link,
#thx-affiliate-main.thx-auth-portal .thx-auth-member-float,
#thx-affiliate-main.thx-auth-portal .thx-auth-benefits > div {
  display: flex;
  align-items: center;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__header {
  position: relative;
  z-index: 1;
  gap: 0.75rem;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__logo {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  background: #0b5d47;
  border-radius: 0.875rem;
  box-shadow: 0 10px 22px -12px rgba(11, 93, 71, 0.7);
  color: #f2bf55;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__logo svg,
#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__link-icon svg,
#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__copy svg,
#thx-affiliate-main.thx-auth-portal .thx-auth-member-float svg,
#thx-affiliate-main.thx-auth-portal .thx-auth-benefits svg {
  width: 1.15rem;
  height: 1.15rem;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__eyebrow,
#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__header strong,
#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__stats span,
#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__stats strong,
#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__link span,
#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__link strong,
#thx-affiliate-main.thx-auth-portal .thx-auth-member-float small,
#thx-affiliate-main.thx-auth-portal .thx-auth-member-float strong {
  display: flex;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__eyebrow {
  color: #94a3b8;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1rem;
  text-transform: uppercase;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__header strong {
  color: #064e3b;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25rem;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__status {
  display: inline-flex;
  min-height: 1.75rem;
  align-items: center;
  gap: 0.375rem;
  margin-left: auto;
  padding: 0.25rem 0.65rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  color: #047857;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1rem;
  white-space: nowrap;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__status i {
  width: 0.4rem;
  height: 0.4rem;
  background: #10b981;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__stats > div {
  padding: 0.85rem;
  background: #f8fafc;
  border: 1px solid #e8eef1;
  border-radius: 0.875rem;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__stats span,
#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__link span {
  color: #64748b;
  font-size: 0.625rem;
  line-height: 1rem;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__stats strong {
  margin-top: 0.25rem;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 750;
  line-height: 1rem;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__link {
  gap: 0.65rem;
  min-width: 0;
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: #f0fdf7;
  border: 1px solid #ccecdf;
  border-radius: 0.875rem;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__link-icon,
#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__copy {
  display: flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #d9ebe4;
  border-radius: 0.625rem;
  color: #0b5d47;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__link > div {
  min-width: 0;
  flex: 1 1 auto;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-card__link strong {
  margin-top: 0.125rem;
  overflow: hidden;
  color: #0b5d47;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-float {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  gap: 0.65rem;
  min-width: 11.5rem;
  padding: 0.75rem;
  background: #fff9e9;
  border: 1px solid rgba(242, 191, 85, 0.5);
  border-radius: 1rem;
  box-shadow: 0 18px 38px -22px rgba(15, 23, 42, 0.75);
  color: #0f172a;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-float > span {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  background: #f2bf55;
  border-radius: 0.75rem;
  color: #064e3b;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-float small {
  color: #92701d;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.875rem;
  text-transform: uppercase;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-member-float strong {
  color: #3f2f09;
  font-size: 0.6875rem;
  font-weight: 750;
  line-height: 1rem;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-benefits > div {
  gap: 0.5rem;
  min-width: 0;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.875rem;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-benefits > div > span {
  display: flex;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.625rem;
  color: #f2bf55;
}

#thx-affiliate-main.thx-auth-portal .thx-auth-benefits strong {
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 0.875rem;
}

#thx-affiliate-main .thx-auth-card form.mt-8 {
  margin-top: 2rem;
}

#thx-affiliate-main .thx-auth-card form.space-y-5 {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

#thx-affiliate-main .thx-auth-card form.space-y-5 > * {
  margin-top: 0;
  margin-bottom: 0;
}

#thx-affiliate-main .thx-dashboard-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

#thx-affiliate-main .thx-dashboard-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

#thx-affiliate-main.thx-dashboard .thx-dashboard-content > section,
#thx-affiliate-main.thx-dashboard .thx-dashboard-content > div > section {
  padding: 1rem;
  border-radius: 1.25rem;
}

#thx-affiliate-main.thx-dashboard .thx-member-summary {
  position: relative;
  z-index: 2;
}

#thx-affiliate-main.thx-dashboard .thx-member-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

#thx-affiliate-main.thx-dashboard .thx-member-identity {
  min-width: 0;
}

#thx-affiliate-main.thx-dashboard .thx-member-status-popover {
  position: relative;
  width: max-content;
  max-width: calc(100% - 3.5rem);
  margin: 0.75rem 0 0 3.5rem;
}

#thx-affiliate-main.thx-dashboard .thx-member-status-trigger {
  display: inline-flex;
  min-height: 1.875rem;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.25rem 0.7rem;
  background: #ecfdf5;
  border-color: #a7f3d0;
  border-width: 1px;
  border-style: solid;
  border-radius: 999px;
  box-shadow: none;
  color: #065f46;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1rem;
  text-transform: none;
  cursor: help;
}

#thx-affiliate-main.thx-dashboard
  .thx-member-status-trigger[data-status="pending_activation"] {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

#thx-affiliate-main.thx-dashboard
  .thx-member-status-trigger[data-status="expired"] {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

#thx-affiliate-main.thx-dashboard
  .thx-member-status-trigger[data-status="suspended"] {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

#thx-affiliate-main.thx-dashboard .thx-member-status-trigger:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

#thx-affiliate-main.thx-dashboard .thx-member-status-dot {
  width: 0.4rem;
  height: 0.4rem;
  flex: 0 0 auto;
  background: currentColor;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

#thx-affiliate-main.thx-dashboard .thx-member-benefit-tooltip {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -3.5rem;
  z-index: 20;
  width: 15rem;
  max-width: calc(100vw - 3rem);
  padding: 0.75rem;
  visibility: hidden;
  background: #fff;
  border: 1px solid #dbe5e1;
  border-radius: 0.75rem;
  box-shadow: 0 16px 36px -18px rgba(15, 23, 42, 0.55);
  color: #475569;
  opacity: 0;
  transform: translateY(-0.25rem);
  transition:
    opacity 150ms ease,
    transform 150ms ease,
    visibility 150ms ease;
}

#thx-affiliate-main.thx-dashboard .thx-member-benefit-tooltip::before {
  position: absolute;
  top: -0.3rem;
  left: 4.75rem;
  width: 0.6rem;
  height: 0.6rem;
  background: #fff;
  border-top: 1px solid #dbe5e1;
  border-left: 1px solid #dbe5e1;
  content: "";
  transform: rotate(45deg);
}

#thx-affiliate-main.thx-dashboard .thx-member-benefit-tooltip strong,
#thx-affiliate-main.thx-dashboard .thx-member-benefit-tooltip span {
  display: block;
}

#thx-affiliate-main.thx-dashboard .thx-member-benefit-tooltip strong {
  margin-bottom: 0.25rem;
  color: #0b5d47;
  font-size: 0.75rem;
}

#thx-affiliate-main.thx-dashboard .thx-member-benefit-tooltip span {
  font-size: 0.75rem;
  line-height: 1.25rem;
}

#thx-affiliate-main.thx-dashboard
  .thx-member-status-popover:is(:hover, :focus-within)
  .thx-member-benefit-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

#thx-affiliate-main.thx-dashboard .thx-account-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.375rem;
}

#thx-affiliate-main.thx-dashboard .thx-account-nav-link {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 4.25rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0.5rem 0.25rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  color: #64748b;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 0.9rem;
  text-align: center;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

#thx-affiliate-main.thx-dashboard .thx-account-nav-link svg {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
}

#thx-affiliate-main.thx-dashboard .thx-account-nav-link:hover {
  background: #f1f5f9;
  color: #0f172a;
}

#thx-affiliate-main.thx-dashboard .thx-account-nav-link.is-active,
#thx-affiliate-main.thx-dashboard .thx-account-nav-link[aria-current="page"] {
  background: #eaf8f1;
  border-color: #bcebd5;
  color: #0b5d47;
  box-shadow: inset 0 -2px 0 #0b5d47;
}

#thx-affiliate-main .thx-dashboard aside nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#thx-affiliate-main .thx-dashboard aside nav > a {
  margin: 0;
}

#thx-affiliate-main .thx-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

#thx-affiliate-main.thx-dashboard aside h2 {
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: #fff;
}

#thx-affiliate-main.thx-dashboard section h2 {
  font-size: 1.5rem;
  line-height: 2rem;
}

#thx-affiliate-main.thx-dashboard :is(h1, h2).mt-2 {
  margin-top: 0.5rem;
}

#thx-affiliate-main .thx-dashboard-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

#thx-affiliate-main .thx-dashboard-form > * {
  margin-top: 0;
  margin-bottom: 0;
}

#thx-affiliate-main .thx-dashboard-form button[type="submit"] {
  max-width: 20rem;
}

#thx-affiliate-main .thx-list-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
}

#thx-affiliate-main .thx-filter-field label {
  display: block;
  margin: 0 0 0.5rem;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1rem;
}

#thx-affiliate-main .thx-list-filters :is(input, select) {
  height: 2.75rem;
  min-height: 2.75rem;
  font-size: 0.875rem;
}

#thx-affiliate-main .thx-search-control {
  position: relative;
}

#thx-affiliate-main .thx-search-control input[type="search"] {
  padding-right: 5.5rem;
}

#thx-affiliate-main
  .thx-search-control
  input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

#thx-affiliate-main
  .thx-search-control
  :is(.thx-search-clear, .thx-search-submit) {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  padding: 0;
  border-radius: 0.6rem;
  color: #64748b;
  transform: translateY(-50%);
}

#thx-affiliate-main .thx-search-control .thx-search-clear {
  right: 2.65rem;
}

#thx-affiliate-main .thx-search-control .thx-search-submit {
  right: 0.35rem;
  background: #0b5d47;
  color: #fff;
}

#thx-affiliate-main
  .thx-search-control
  :is(.thx-search-clear, .thx-search-submit):hover {
  background: #e2e8f0;
  color: #0b5d47;
}

#thx-affiliate-main .thx-search-control .thx-search-submit:hover {
  background: #08715a;
  color: #fff;
}

#thx-affiliate-main .thx-search-control .thx-search-clear[hidden] {
  display: none;
}

#thx-affiliate-main .thx-search-control button svg {
  width: 1rem;
  height: 1rem;
}

#thx-affiliate-main .thx-order-table-wrap {
  width: 100%;
  margin-top: 1rem;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
}

#thx-affiliate-main .thx-order-table {
  width: 100%;
  min-width: 780px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  color: #334155;
  font-size: 0.875rem;
}

#thx-affiliate-main .thx-product-table {
  min-width: 720px;
}

#thx-affiliate-main .thx-product-cell {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  min-width: 0;
}

#thx-affiliate-main .thx-product-thumbnail {
  display: block;
  flex: 0 0 3.5rem;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
}

#thx-affiliate-main .thx-product-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

#thx-affiliate-main .thx-product-cell strong a {
  color: #0f172a;
  font-weight: 700;
}

#thx-affiliate-main .thx-product-cell strong a:hover {
  color: #0b5d47;
}

#thx-affiliate-main .thx-product-price,
#thx-affiliate-main .thx-commission-amount {
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
}

#thx-affiliate-main .thx-commission-amount {
  color: #92400e;
}

#thx-affiliate-main .thx-affiliate-link-actions {
  min-width: 178px;
}

#thx-affiliate-main .thx-create-affiliate-link,
#thx-affiliate-main .thx-copy-affiliate-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  padding: 0 0.9rem;
  background: #0b5d47;
  border: 1px solid #0b5d47;
  border-radius: 0.7rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1rem;
  white-space: nowrap;
  transition:
    background-color 150ms,
    border-color 150ms,
    opacity 150ms;
}

#thx-affiliate-main .thx-create-affiliate-link:hover,
#thx-affiliate-main .thx-copy-affiliate-link:hover {
  background: #08715a;
  border-color: #08715a;
}

#thx-affiliate-main
  :is(.thx-create-affiliate-link, .thx-copy-affiliate-link):disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

#thx-affiliate-main .thx-link-requirement {
  display: block;
  margin-top: 0.4rem;
  color: #b45309;
  font-size: 0.6875rem;
  line-height: 1rem;
}

#thx-affiliate-main .thx-affiliate-link-row > td,
#thx-affiliate-main .thx-order-table .thx-affiliate-link-row:hover > td {
  background: #f0fdf4;
  border-bottom: 1px solid #bbf7d0;
}

#thx-affiliate-main .thx-product-table tbody tr,
#thx-affiliate-main .thx-product-table tbody tr:hover,
#thx-affiliate-main .thx-affiliate-link-row,
#thx-affiliate-main .thx-affiliate-link-row * {
  transform: none;
  transition: none;
}

#thx-affiliate-main
  .thx-affiliate-link-row
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) {
  height: 2.25rem;
  min-height: unset;
}

#thx-affiliate-main .thx-copy-affiliate-link span {
  margin: 0 !important;
}

#thx-affiliate-main .thx-generated-link {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}

#thx-affiliate-main .thx-generated-link-value {
  flex: 1 1 auto;
  min-width: 0;
}

#thx-affiliate-main .thx-generated-link-value > span {
  display: block;
  margin: 0 0 0.4rem;
  color: #166534;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1rem;
  text-transform: uppercase;
}

#thx-affiliate-main .thx-generated-link-value input[readonly] {
  height: 2.25rem;
  min-height: 2.25rem;
  cursor: text;
  background: #fff;
  border-color: #bbf7d0;
  color: #14532d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
}

#thx-affiliate-main .thx-copy-affiliate-link {
  flex: 0 0 auto;
  height: 2.25rem;
  background: #fff;
  border-color: #86efac;
  color: #166534;
}

#thx-affiliate-main .thx-copy-affiliate-link:hover {
  background: #dcfce7;
  border-color: #4ade80;
  color: #14532d;
}

#thx-affiliate-main .thx-copy-affiliate-link > span {
  margin: 0;
}

#thx-affiliate-main .thx-order-table th,
#thx-affiliate-main .thx-order-table td {
  padding: 1rem;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: middle;
}

#thx-affiliate-main .thx-order-table th {
  background: #f8fafc;
  color: #64748b;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1rem;
  text-transform: uppercase;
}

#thx-affiliate-main .thx-order-table tbody tr:last-child td {
  border-bottom: 0;
}

#thx-affiliate-main .thx-order-table tbody tr:hover td {
  background: #fbfdfc;
}

#thx-affiliate-main .thx-order-table td:first-child strong,
#thx-affiliate-main .thx-order-table td:first-child span {
  display: block;
}

#thx-affiliate-main .thx-order-table td:first-child strong {
  color: #0f172a;
  font-size: 0.875rem;
}

#thx-affiliate-main .thx-order-table td:first-child span {
  margin-top: 0.25rem;
  color: #94a3b8;
  font-size: 0.75rem;
}

#thx-affiliate-main .thx-order-products {
  display: block;
  max-width: 290px;
  color: #475569;
  line-height: 1.5;
}

#thx-affiliate-main .thx-referral-customer {
  display: block;
  margin-top: 0.3rem;
  color: #94a3b8;
  font-size: 0.75rem;
  line-height: 1.25rem;
}

#thx-affiliate-main .thx-referral-refund,
#thx-affiliate-main .thx-referral-refund-amount {
  display: block;
  margin-top: 0.3rem;
  color: #b45309;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1rem;
}

#thx-affiliate-main .thx-referral-refund-amount {
  color: #b91c1c;
}

#thx-affiliate-main .thx-order-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.65rem;
  border-width: 1px;
  border-style: solid;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1rem;
  white-space: nowrap;
}

#thx-affiliate-main .thx-pagination {
  margin-top: 1rem;
}

#thx-affiliate-main .thx-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

#thx-affiliate-main .thx-pagination ul.page-numbers > li {
  margin: 0;
  padding: 0;
  border: 0;
}

#thx-affiliate-main .thx-pagination .page-numbers :is(a, span),
#thx-affiliate-main .thx-pagination :is(a.page-numbers, span.page-numbers) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0 0.75rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  color: #475569;
  font-size: 0.8125rem;
  font-weight: 700;
}

#thx-affiliate-main
  .thx-pagination
  :is(a.page-numbers:hover, span.page-numbers.current) {
  background: #0b5d47;
  border-color: #0b5d47;
  color: #fff;
}

#thx-affiliate-main .thx-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

#thx-affiliate-main input[readonly] {
  cursor: not-allowed;
  background: #f8fafc;
  color: #64748b;
}

#thx-affiliate-main h1.mt-7,
#thx-affiliate-main p.mt-7 {
  margin-top: 1.75rem;
}

#thx-affiliate-main p.mt-5 {
  margin-top: 1.25rem;
}

#thx-affiliate-main p.mt-3 {
  margin-top: 0.75rem;
}

#thx-affiliate-main p.mt-2 {
  margin-top: 0.5rem;
}

#thx-affiliate-main p.mt-1 {
  margin-top: 0.25rem;
}

#thx-affiliate-main p.mb-3 {
  margin-bottom: 0.75rem;
}

#thx-affiliate-main
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
#thx-affiliate-main select,
#thx-affiliate-main textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 3rem;
  min-height: 3rem;
  margin: 0;
  padding: 0 1rem;
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  color: #020617;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.5rem;
  text-transform: none;
  transition:
    border-color 150ms,
    box-shadow 150ms,
    background-color 150ms;
}

#thx-affiliate-main input[type="password"],
#thx-affiliate-main input[x-model="password"],
#thx-affiliate-main input[x-model="passwordConfirm"] {
  padding-right: 3.5rem;
}

#thx-affiliate-main
  input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):focus,
#thx-affiliate-main select:focus,
#thx-affiliate-main textarea:focus {
  background: #fff;
  border-color: #0b5d47;
  box-shadow: 0 0 0 4px rgba(11, 93, 71, 0.15);
  color: #020617;
  opacity: 1;
  outline: none;
}

#thx-affiliate-main input.border-red-500 {
  border-color: #ef4444;
}

#thx-affiliate-main input.border-red-500:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 4px #fee2e2;
}

#thx-affiliate-main input::placeholder,
#thx-affiliate-main textarea::placeholder {
  color: #94a3b8;
  opacity: 1;
}

#thx-affiliate-main input[type="checkbox"],
#thx-affiliate-main input[type="radio"] {
  display: block;
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: #0b5d47;
  background-color: #fff;
  border: 1px solid #cbd5e1;
  box-shadow: none;
}

#thx-affiliate-main input[type="checkbox"].mt-1,
#thx-affiliate-main input[type="radio"].mt-1 {
  margin-top: 0.25rem;
}

#thx-affiliate-main button {
  max-width: none;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  line-height: inherit;
  text-shadow: none;
  text-transform: none;
}

#thx-affiliate-main form button[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 3rem;
  padding: 0 1.25rem;
  background: linear-gradient(135deg, #0b5d47 0%, #08715a 100%);
  border: 1px solid transparent;
  border-radius: 0.75rem;
  box-shadow: 0 12px 24px rgba(11, 93, 71, 0.2);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
  transition:
    background-color 150ms,
    box-shadow 150ms,
    opacity 150ms;
}

#thx-affiliate-main form button[type="submit"]:hover {
  background: linear-gradient(135deg, #063b30 0%, #0b5d47 100%);
  box-shadow: 0 16px 30px rgba(11, 93, 71, 0.28);
  color: #fff;
}

#thx-affiliate-main form button[type="submit"]:focus-visible {
  box-shadow:
    0 0 0 4px rgba(11, 93, 71, 0.25),
    0 12px 24px rgba(11, 93, 71, 0.2);
  outline: none;
}

#thx-affiliate-main form button[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

#thx-affiliate-main form button[type="button"] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0 0.75rem 0.75rem 0;
  box-shadow: none;
  color: #64748b;
}

#thx-affiliate-main form button[type="button"]:hover {
  background: transparent;
  box-shadow: none;
  color: #0b5d47;
}

#thx-affiliate-main form button[type="button"]:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(11, 93, 71, 0.25);
  outline: none;
}

#thx-affiliate-main.thx-dashboard h1 {
  font-size: 1.5rem;
  line-height: 1.875rem;
}

#thx-affiliate-main.thx-dashboard section h2 {
  font-size: 1.25rem;
  line-height: 1.625rem;
}

#thx-affiliate-main.thx-dashboard .thx-income-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#thx-affiliate-main.thx-dashboard .thx-income-grid > article {
  min-width: 0;
  padding: 1rem;
}

#thx-affiliate-main.thx-dashboard .thx-income-grid > article:first-child {
  grid-column: 1 / -1;
}

#thx-affiliate-main.thx-dashboard .thx-withdrawal-stats > div {
  min-width: 0;
  padding: 0.75rem 0.375rem;
  text-align: center;
}

#thx-affiliate-main.thx-dashboard .thx-withdrawal-stats p:first-child {
  font-size: 0.625rem;
  line-height: 0.875rem;
}

#thx-affiliate-main.thx-dashboard .thx-withdrawal-stats p:last-child {
  overflow-wrap: anywhere;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

#thx-affiliate-main.thx-dashboard .thx-withdrawal-modal {
  z-index: 2147483000;
}

#thx-affiliate-main.thx-dashboard .thx-withdrawal-modal .thx-dashboard-form {
  gap: 1rem;
  margin-top: 1rem;
}

#thx-affiliate-main.thx-dashboard .thx-withdrawal-modal label {
  margin-bottom: 0.375rem;
}

#thx-affiliate-main.thx-dashboard
  .thx-withdrawal-modal
  .thx-bank-select-trigger {
  position: static;
  top: auto;
  right: auto;
  bottom: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: auto;
  min-height: 3rem;
  padding: 0.375rem 0.75rem;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  color: #1e293b;
  text-align: left;
}

#thx-affiliate-main.thx-dashboard
  .thx-withdrawal-modal
  .thx-bank-select-trigger:hover {
  background: #fff;
  border-color: #10b981;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  color: #1e293b;
}

#thx-affiliate-main.thx-dashboard
  .thx-withdrawal-modal
  .thx-bank-select-trigger:focus-visible {
  border-color: #059669;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
  outline: none;
}

#thx-affiliate-main.thx-dashboard
  .thx-withdrawal-modal
  .thx-bank-select-trigger:disabled {
  cursor: not-allowed;
  background: #f1f5f9;
  color: #94a3b8;
}

#thx-affiliate-main.thx-dashboard
  .thx-withdrawal-modal
  .thx-bank-select-search {
  height: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.75rem 0 2.5rem;
  background: #f8fafc;
  font-size: 0.875rem;
}

#thx-affiliate-main.thx-dashboard
  .thx-withdrawal-modal
  .thx-bank-select-option {
  position: static;
  top: auto;
  right: auto;
  bottom: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: auto;
  min-height: 3.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  box-shadow: none;
  color: #0f172a;
  text-align: left;
}

#thx-affiliate-main.thx-dashboard
  .thx-withdrawal-modal
  .thx-bank-select-option:hover,
#thx-affiliate-main.thx-dashboard
  .thx-withdrawal-modal
  .thx-bank-select-option:focus-visible {
  background: #ecfdf5;
  border-color: #d1fae5;
  box-shadow: none;
  color: #0f172a;
  outline: none;
}

@media (min-width: 480px) and (max-width: 639px) {
  #thx-affiliate-main .thx-list-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #thx-affiliate-main .thx-filter-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  #thx-affiliate-main.thx-dashboard .thx-order-table-wrap {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  #thx-affiliate-main.thx-dashboard .thx-order-table,
  #thx-affiliate-main.thx-dashboard .thx-order-table tbody,
  #thx-affiliate-main.thx-dashboard .thx-order-table tr,
  #thx-affiliate-main.thx-dashboard .thx-order-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  #thx-affiliate-main.thx-dashboard .thx-order-table {
    border-collapse: separate;
  }

  #thx-affiliate-main.thx-dashboard .thx-order-table thead {
    display: none;
  }

  #thx-affiliate-main.thx-dashboard .thx-order-table tbody tr {
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    box-shadow: 0 8px 24px -22px rgba(15, 23, 42, 0.65);
  }

  #thx-affiliate-main.thx-dashboard .thx-order-table td {
    display: grid;
    grid-template-columns: 5.75rem minmax(0, 1fr);
    gap: 0.2rem 0.75rem;
    align-items: center;
    padding: 0.7rem 0.75rem;
    border-bottom: 1px solid #eef2f7;
    text-align: right;
  }

  #thx-affiliate-main.thx-dashboard .thx-order-table td::before {
    grid-row: 1 / span 8;
    align-self: center;
    color: #64748b;
    content: attr(data-label);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1rem;
    text-align: left;
    text-transform: uppercase;
  }

  #thx-affiliate-main.thx-dashboard .thx-order-table td > * {
    grid-column: 2;
    justify-self: end;
    max-width: 100%;
    text-align: right;
  }

  #thx-affiliate-main.thx-dashboard .thx-order-table td:last-child {
    border-bottom: 0;
  }

  #thx-affiliate-main.thx-dashboard
    .thx-order-table
    td[data-mobile-full="true"] {
    display: block;
    text-align: left;
  }

  #thx-affiliate-main.thx-dashboard
    .thx-order-table
    td[data-mobile-full="true"]::before {
    display: none;
  }

  #thx-affiliate-main.thx-dashboard
    .thx-order-table
    td[data-mobile-full="true"]
    > * {
    max-width: none;
    text-align: left;
  }

  #thx-affiliate-main.thx-dashboard .thx-product-table tbody {
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    box-shadow: 0 8px 24px -22px rgba(15, 23, 42, 0.65);
  }

  #thx-affiliate-main.thx-dashboard .thx-product-table tbody tr {
    margin: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #thx-affiliate-main.thx-dashboard .thx-product-cell {
    align-items: flex-start;
  }

  #thx-affiliate-main.thx-dashboard .thx-product-thumbnail {
    flex-basis: 3rem;
    width: 3rem;
    height: 3rem;
  }

  #thx-affiliate-main.thx-dashboard .thx-affiliate-link-actions button {
    min-height: 2.75rem;
  }

  #thx-affiliate-main.thx-dashboard .thx-order-products {
    max-width: 100%;
  }

  #thx-affiliate-main.thx-dashboard .thx-pagination ul.page-numbers {
    justify-content: center;
  }
}

@media (min-width: 640px) {
  #thx-affiliate-main.thx-auth-portal .thx-auth-security-note {
    display: flex;
  }

  #thx-affiliate-main.thx-auth-portal .thx-auth-desktop-copy {
    display: block;
  }

  #thx-affiliate-main h1,
  #thx-affiliate-main h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  #thx-affiliate-main .thx-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #thx-affiliate-main .thx-list-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #thx-affiliate-main .thx-filter-search {
    grid-column: 1 / -1;
  }

  #thx-affiliate-main.thx-dashboard .thx-dashboard-content > section,
  #thx-affiliate-main.thx-dashboard .thx-dashboard-content > div > section {
    padding: 1.5rem;
  }

  #thx-affiliate-main.thx-dashboard .thx-withdrawal-stats > div {
    padding: 0.75rem 1rem;
    text-align: left;
  }

  #thx-affiliate-main.thx-dashboard .thx-withdrawal-stats p:first-child {
    font-size: 0.75rem;
    line-height: 1rem;
  }

  #thx-affiliate-main.thx-dashboard .thx-withdrawal-stats p:last-child {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (max-width: 639px) {
  #thx-affiliate-main .thx-generated-link {
    align-items: stretch;
    flex-direction: column;
  }

  #thx-affiliate-main .thx-copy-affiliate-link {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  #thx-affiliate-main h1 {
    font-size: 42px;
    line-height: 1.25;
  }

  #thx-affiliate-main.thx-auth-portal .thx-auth-panel {
    border-right: 1px solid #eef2f7;
  }

  #thx-affiliate-main.thx-auth-portal .thx-auth-showcase {
    display: flex;
    flex-direction: column;
  }

  #thx-affiliate-main.thx-auth-portal .thx-auth-showcase h1 {
    font-size: 2.75rem;
    line-height: 1.12;
  }

  #thx-affiliate-main.thx-auth-portal .thx-auth-card {
    max-width: 26rem;
  }

  #thx-affiliate-main .thx-dashboard-shell {
    grid-template-columns: 18rem minmax(0, 1fr);
    gap: 1.5rem;
  }

  #thx-affiliate-main.thx-dashboard .thx-account-nav {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
  }

  #thx-affiliate-main.thx-dashboard .thx-account-nav-link {
    min-height: 2.75rem;
    justify-content: flex-start;
    flex-direction: row;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.25rem;
    text-align: left;
  }

  #thx-affiliate-main.thx-dashboard .thx-account-nav-link.is-active,
  #thx-affiliate-main.thx-dashboard .thx-account-nav-link[aria-current="page"] {
    box-shadow: inset 3px 0 0 #0b5d47;
  }

  #thx-affiliate-main .thx-product-table {
    width: 100%;
    min-width: 100%;
    table-layout: fixed;
  }

  #thx-affiliate-main .thx-product-table th:nth-child(1) {
    width: 40%;
  }

  #thx-affiliate-main .thx-product-table th:nth-child(2) {
    width: 13%;
  }

  #thx-affiliate-main .thx-product-table th:nth-child(3) {
    width: 10%;
  }

  #thx-affiliate-main .thx-product-table th:nth-child(4) {
    width: 17%;
  }

  #thx-affiliate-main .thx-product-table th:nth-child(5) {
    width: 20%;
  }

  #thx-affiliate-main .thx-list-filters {
    grid-template-columns: minmax(220px, 1.6fr) minmax(150px, 1fr) minmax(
        170px,
        1fr
      );
    align-items: end;
  }

  #thx-affiliate-main .thx-filter-search {
    grid-column: auto;
  }
}

@media (min-width: 1280px) {
  #thx-affiliate-main.thx-auth-portal .thx-auth-showcase h1 {
    font-size: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #thx-affiliate-main *,
  #thx-affiliate-main *::before,
  #thx-affiliate-main *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}
