
/* TML My Account Theme v1.0.3 */
:root {
  --tml-navy: #071f3d;
  --tml-navy-2: #0a2a50;
  --tml-blue: #0b72e7;
  --tml-blue-2: #176fe5;
  --tml-text: #16233b;
  --tml-muted: #68758a;
  --tml-border: #e8edf3;
  --tml-bg: #f6f8fb;
  --tml-white: #fff;
  --tml-green: #21b573;
  --tml-orange: #f3a51a;
  --tml-red: #e5484d;
  --tml-shadow: 0 8px 28px rgba(20, 42, 72, .07);
  --tml-radius: 14px;
}

.tml-account,
.tml-account * { box-sizing: border-box; }

.tml-account {
  /* Break out of the Elementor/WooCommerce content container so the
     account experience can use the full viewport while retaining a
     1900px design ceiling. */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1900px, 100vw);
  max-width: 1900px;
  margin-inline: 0;
  background: var(--tml-bg);
  color: var(--tml-text);
  font-family: inherit;
  line-height: 1.45;
  overflow: clip;
}

.tml-account a { text-decoration: none; }
.tml-account img { max-width: 100%; }

/* Global My Account frame: navbar, body and footer share the same 1900px ceiling. */
.tml-account__frame {
  width: 100%;
  max-width: 1900px;
  margin-inline: auto;
}

.tml-account__navbar {
  width: 100%;
  max-width: 1900px;
  margin-inline: auto;
  position: relative;
  z-index: 20;
}

.tml-account__body {
  width: 100%;
  max-width: 1900px;
  margin-inline: auto;
}

.tml-account__footer {
  width: 100%;
  max-width: 1900px;
  margin-inline: auto;
}

/* The shortcode containers are intentionally allowed to fill the plugin frame. */
.tml-account__navbar,
.tml-account__body,
.tml-account__footer,
.tml-account__frame {
  box-sizing: border-box;
}


/* Hero */
.tml-account-hero {
  position: relative;
  min-height: 164px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 26, 52, .98) 0%, rgba(5, 33, 66, .91) 45%, rgba(6, 35, 68, .78) 100%),
    linear-gradient(135deg, #061d38, #0c315b);
}
.tml-account-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 45%, rgba(255,255,255,.08) 0 1px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: .18;
  pointer-events: none;
}
.tml-account-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1800px, calc(100% - 80px));
  min-height: 164px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.tml-account-hero h1 {
  margin: 0 0 5px;
  color: #fff !important;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: .02em;
}
.tml-account-hero p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}
.tml-account-hero__eyebrow {
  display: none;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  opacity: .75;
}

/* Main shell */
.tml-account__shell {
  width: min(1800px, calc(100% - 80px));
  margin: 24px auto 64px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.tml-account__sidebar {
  background: var(--tml-white);
  border: 1px solid var(--tml-border);
  border-radius: var(--tml-radius);
  box-shadow: var(--tml-shadow);
  padding: 16px;
  position: sticky;
  top: 24px;
}

.tml-account-profile {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 5px 16px;
}
.tml-avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  overflow: hidden;
  background: #eaf3ff;
  display: grid;
  place-items: center;
}
.tml-avatar img,
.tml-avatar .avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tml-account-profile__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.tml-account-profile__copy strong {
  font-size: 13px;
  line-height: 1.25;
}
.tml-account-profile__copy span {
  color: var(--tml-muted);
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tml-account-menu {
  display: grid;
  gap: 3px;
}
.tml-account-menu__item {
  min-height: 43px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  color: #465266;
  font-size: 12px;
  font-weight: 600;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.tml-account-menu__item:hover {
  background: #f3f7fc;
  color: var(--tml-blue);
}
.tml-account-menu__item.is-active {
  color: #fff;
  background: linear-gradient(135deg, #1176e8, #0b64d5);
  box-shadow: 0 6px 14px rgba(11, 114, 231, .20);
}
.tml-account-menu__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: grid;
  place-items: center;
}
.tml-account-menu__icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tml-account-menu__badge {
  min-width: 20px;
  height: 20px;
  margin-left: auto;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: #0b72e7;
  font-size: 10px;
}
.tml-account-menu__item.is-active .tml-account-menu__badge {
  background: rgba(255,255,255,.22);
}
.tml-account-menu__item--logout {
  margin-top: 7px;
  color: var(--tml-red);
  border-top: 1px solid var(--tml-border);
  border-radius: 0 0 8px 8px;
  padding-top: 8px;
  min-height: 50px;
}
.tml-account-mobile-menu-toggle { display: none; }

/* Main cards */
.tml-account__main { min-width: 0; }
.tml-welcome-card,
.tml-panel,
.tml-stat,
.tml-action-card,
.tml-support-banner {
  border: 1px solid var(--tml-border);
  background: var(--tml-white);
  box-shadow: var(--tml-shadow);
}

.tml-welcome-card {
  min-height: 150px;
  padding: 23px 28px;
  border-radius: var(--tml-radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}
.tml-welcome-card__copy {
  min-width: 0;
  max-width: 64%;
}
.tml-welcome-card__copy > span {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}
.tml-welcome-card__copy h2 {
  margin: 0 0 8px;
  color: var(--tml-text);
  font-size: clamp(22px, 2.2vw, 27px);
  line-height: 1.15;
  font-weight: 800;
}
.tml-welcome-card__copy p {
  max-width: 490px;
  margin: 0;
  color: #566276;
  font-size: 12px;
  line-height: 1.65;
}
.tml-welcome-card__visual {
  width: 32%;
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.tml-welcome-card__visual img {
  width: min(250px, 100%);
  height: 120px;
  object-fit: contain;
}
.tml-machine-placeholder {
  width: 180px;
  height: 100px;
  border-radius: 10px;
  background: linear-gradient(145deg, #e8edf2, #aeb8c2);
  display: grid;
  place-items: center;
  color: #5a6673;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
}

/* Stats */
.tml-stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.tml-stat {
  min-width: 0;
  padding: 15px 13px;
  border-radius: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--tml-text);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tml-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20, 42, 72, .10);
}
.tml-stat__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.tml-stat__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tml-stat--blue .tml-stat__icon { background: #e6f1ff; color: #0871e7; }
.tml-stat--orange .tml-stat__icon { background: #fff2d8; color: #ed9700; }
.tml-stat--green .tml-stat__icon { background: #e0f7ec; color: #19a86b; }
.tml-stat__content {
  min-width: 0;
  display: grid;
  gap: 1px;
}
.tml-stat__label {
  color: #68758a;
  font-size: 10px;
  line-height: 1.3;
}
.tml-stat__content strong {
  font-size: 20px;
  line-height: 1.15;
}
.tml-stat__link {
  margin-top: 5px;
  color: var(--tml-blue);
  font-size: 9px;
  font-weight: 700;
}

/* Panels / orders */
.tml-panel {
  margin-top: 14px;
  border-radius: var(--tml-radius);
  overflow: hidden;
}
.tml-panel__header {
  min-height: 54px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--tml-border);
}
.tml-panel__header h2,
.tml-section-title h2 {
  margin: 0;
  color: var(--tml-text) !important;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
}
.tml-panel__header a {
  color: var(--tml-blue);
  font-size: 10px;
  font-weight: 700;
}
.tml-orders { width: 100%; }
.tml-order {
  min-width: 0;
  min-height: 76px;
  padding: 10px 18px;
  display: grid;
  grid-template-columns: minmax(250px, 1.5fr) 125px 125px 90px 105px;
  align-items: center;
  gap: 10px;
  color: var(--tml-text);
  border-bottom: 1px solid var(--tml-border);
  transition: background .15s ease;
}
.tml-order:last-child { border-bottom: 0; }
.tml-order:hover { background: #fbfdff; }
.tml-order__product {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tml-order__thumb {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 8px;
  background: #f3f5f7;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.tml-order__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tml-order__name {
  min-width: 0;
  display: grid;
  gap: 1px;
}
.tml-order__name strong {
  color: var(--tml-blue);
  font-size: 10px;
}
.tml-order__name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
}
.tml-order__name small {
  color: var(--tml-muted);
  font-size: 9px;
}
.tml-order__date,
.tml-order__total {
  font-size: 10px;
}
.tml-order__total { font-weight: 800; }
.tml-order__status { text-align: center; }
.tml-status {
  display: inline-flex;
  min-height: 23px;
  padding: 0 9px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
}
.tml-status--success { color: #158a57; background: #e3f6eb; }
.tml-status--warning { color: #a96800; background: #fff1d2; }
.tml-status--info { color: #1264b6; background: #e2efff; }
.tml-status--danger { color: #c72d35; background: #ffe5e7; }
.tml-status--neutral { color: #667085; background: #eef1f5; }
.tml-order__action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 7px;
  color: var(--tml-blue);
  font-size: 9px;
  font-weight: 700;
}
.tml-order__action b { font-size: 14px; }
.tml-empty {
  padding: 32px 18px;
  color: var(--tml-muted);
  text-align: center;
  font-size: 13px;
}

/* Quick actions */
.tml-quick-actions { margin-top: 20px; }
.tml-section-title { margin-bottom: 10px; }
.tml-quick-actions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.tml-action-card {
  min-height: 92px;
  padding: 14px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tml-text);
  transition: transform .18s ease, box-shadow .18s ease;
}
.tml-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(20, 42, 72, .10);
}
.tml-action-card__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #edf5ff;
  color: var(--tml-blue);
}
.tml-action-card__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tml-action-card__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.tml-action-card__copy strong { font-size: 11px; }
.tml-action-card__copy small {
  color: var(--tml-muted);
  font-size: 9px;
  line-height: 1.4;
}
.tml-action-card > b {
  margin-left: auto;
  color: var(--tml-blue);
  font-size: 15px;
}

/* Support */
.tml-support-banner {
  position: relative;
  min-height: 145px;
  margin-top: 20px;
  padding: 22px 24px 22px 170px;
  border: 0;
  border-radius: var(--tml-radius);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 50%, rgba(25, 116, 221, .20), transparent 34%),
    linear-gradient(115deg, #061d3a, #092d57);
}
.tml-support-banner::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.05) 0 2px, transparent 2.5px);
  background-size: 24px 24px;
  opacity: .25;
}
.tml-support-banner__person {
  position: absolute;
  left: 22px;
  bottom: 0;
  width: 120px;
  height: 132px;
  border-radius: 70px 70px 0 0;
  background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.04));
}
.tml-support-banner__copy {
  position: relative;
  z-index: 2;
  max-width: 54%;
}
.tml-support-banner__copy h2 {
  margin: 0 0 6px;
  color: #fff !important;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
}
.tml-support-banner__copy p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  line-height: 1.55;
}
.tml-support-banner__actions {
  position: absolute;
  z-index: 3;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 8px;
  width: 170px;
}
.tml-btn {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
}
.tml-btn--whatsapp {
  color: #fff;
  background: #12bd68;
}
.tml-btn--outline {
  color: #fff;
  border: 1px solid rgba(255,255,255,.75);
  background: transparent;
}

/* Endpoint */
.tml-endpoint-panel { min-height: 300px; }
.tml-panel__header--endpoint { min-height: 76px; }
.tml-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--tml-blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
}
.tml-panel__header--endpoint h2 { font-size: 22px; }
.tml-back-account { white-space: nowrap; }
.tml-endpoint-content {
  padding: 20px;
}
.tml-endpoint-content .woocommerce-info,
.tml-endpoint-content .woocommerce-message,
.tml-endpoint-content .woocommerce-error {
  margin: 0 0 16px !important;
}

/* Make native WooCommerce endpoint UI blend into the theme */
.tml-endpoint-content form,
.tml-endpoint-content table,
.tml-endpoint-content .woocommerce-MyAccount-content > p,
.tml-endpoint-content .woocommerce-MyAccount-content > h3 {
  font-size: 13px;
}
.tml-endpoint-content input,
.tml-endpoint-content select,
.tml-endpoint-content textarea {
  border: 1px solid #dfe6ee !important;
  border-radius: 8px !important;
  min-height: 42px;
}
.tml-endpoint-content button,
.tml-endpoint-content .button {
  border-radius: 8px !important;
  background: var(--tml-blue) !important;
  color: #fff !important;
  border: 0 !important;
}


/* WooCommerce validation / notice feedback */
.tml-account-notices {
  width: 100%;
  margin: 0 0 18px;
}
.tml-account-notices:empty { display: none; }
.tml-account-notices ul.woocommerce-error,
.tml-account-notices ul.woocommerce-message,
.tml-account-notices ul.woocommerce-info {
  margin: 0 0 14px !important;
  padding: 13px 16px 13px 42px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}
.tml-account-notices ul.woocommerce-error {
  background: #fff3f3 !important;
  border-color: #f1b7b7 !important;
  color: #b42318 !important;
}
.tml-account-notices ul.woocommerce-message {
  background: #effaf3 !important;
  border-color: #b7e4c7 !important;
  color: #147a43 !important;
}
.tml-account-notices ul.woocommerce-info {
  background: #eef6ff !important;
  border-color: #b9d7f7 !important;
  color: #155fa0 !important;
}
.tml-login__card .tml-form-validation-error {
  display: block;
  margin: -6px 0 14px;
  padding: 11px 13px;
  border: 1px solid #f1b7b7;
  border-radius: 9px;
  background: #fff3f3;
  color: #b42318;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 600;
}
.tml-login__card .tml-field-error {
  border-color: #d92d20 !important;
  box-shadow: 0 0 0 3px rgba(217,45,32,.08) !important;
}

/* V1.0.16 — Cloudflare Turnstile Deferred Execution */
.tml-turnstile {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  margin: 2px 0 16px;
  overflow: hidden;
}
.tml-turnstile:empty {
  display: none;
}
.tml-turnstile .cf-turnstile {
  max-width: 100%;
}

/* Account page cleanup for common themes */
.tml-my-account-page .woocommerce-notices-wrapper { display: block !important; }
.tml-my-account-page .woocommerce-MyAccount-navigation,
.tml-my-account-page .woocommerce-MyAccount-content { width: auto; float: none; }
.tml-my-account-page .woocommerce { width: 100%; }

/* Tablet */
@media (max-width: 1100px) {
  .tml-account__shell {
    grid-template-columns: 215px minmax(0, 1fr);
    gap: 16px;
  }
  .tml-order {
    grid-template-columns: minmax(220px, 1.5fr) 100px 110px 80px 85px;
    padding-inline: 12px;
  }
  .tml-order__action span { display: none; }
}

/* Tablet/mobile */
@media (max-width: 820px) {
  .tml-account-hero { min-height: 140px; }
  .tml-account-hero__inner { min-height: 140px; }
  .tml-account__shell {
    display: block;
    width: min(100% - 28px, 680px);
    margin-top: 14px;
  }
  .tml-account__sidebar {
    position: relative;
    top: auto;
    margin-bottom: 14px;
    padding: 10px;
  }
  .tml-account-profile { padding: 4px 4px 10px; }
  .tml-account-mobile-menu-toggle {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--tml-border);
    border-radius: 9px;
    color: var(--tml-text);
    background: #fafcff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
  }
  .tml-chevron { transition: transform .18s ease; }
  .tml-account-mobile-menu-toggle[aria-expanded="true"] .tml-chevron { transform: rotate(180deg); }
  .tml-account-menu {
    display: none;
    margin-top: 8px;
  }
  .tml-account-menu.is-open { display: grid; }
  .tml-account-menu__item { min-height: 42px; }
  .tml-welcome-card { padding: 20px; }
  .tml-welcome-card__copy { max-width: 62%; }
  .tml-welcome-card__visual { width: 34%; }
  .tml-stats { gap: 9px; }
  .tml-stat { padding: 12px 10px; }
  .tml-stat__label { font-size: 9px; }
  .tml-stat__content strong { font-size: 18px; }
  .tml-stat__link { display: none; }
  .tml-order {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    grid-template-areas:
      "product date total status"
      "product action action action";
    padding: 12px;
    row-gap: 6px;
  }
  .tml-order__product { grid-area: product; }
  .tml-order__date { grid-area: date; font-size: 9px; text-align: right; }
  .tml-order__total { grid-area: total; font-size: 9px; text-align: right; }
  .tml-order__status { grid-area: status; }
  .tml-order__action { grid-area: action; justify-content: flex-end; }
  .tml-order__action span { display: inline; }
  .tml-quick-actions__grid { grid-template-columns: 1fr; }
  .tml-action-card { min-height: 68px; }
  .tml-support-banner {
    padding: 20px 18px 20px 125px;
    min-height: 150px;
  }
  .tml-support-banner__person { left: 10px; width: 100px; }
  .tml-support-banner__copy { max-width: 100%; padding-right: 145px; }
  .tml-support-banner__actions { width: 130px; right: 12px; }
}

/* Small mobile */
@media (max-width: 560px) {
  .tml-account-hero__inner,
  .tml-account__shell { width: min(100% - 20px, 520px); }
  .tml-account-hero { min-height: 118px; }
  .tml-account-hero__inner { min-height: 118px; }
  .tml-account-hero h1 { font-size: 29px; }
  .tml-account-hero p { font-size: 11px; }
  .tml-welcome-card { min-height: 140px; padding: 17px; }
  .tml-welcome-card__copy { max-width: 66%; }
  .tml-welcome-card__copy h2 { font-size: 20px; }
  .tml-welcome-card__copy p { font-size: 10px; }
  .tml-welcome-card__visual { width: 30%; min-height: 90px; }
  .tml-welcome-card__visual img { height: 85px; }
  .tml-machine-placeholder { width: 100px; height: 70px; font-size: 8px; }
  .tml-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tml-stat { min-height: 72px; }
  .tml-order {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "product status"
      "product date"
      "product total"
      "action action";
  }
  .tml-order__status { align-self: end; }
  .tml-order__date,
  .tml-order__total { text-align: right; }
  .tml-order__action { margin-top: 2px; }
  .tml-panel__header { padding-inline: 14px; }
  .tml-panel__header > a { font-size: 9px; }
  .tml-support-banner {
    padding: 18px;
    min-height: 220px;
  }
  .tml-support-banner__person {
    width: 75px;
    height: 90px;
    left: 15px;
    bottom: 0;
  }
  .tml-support-banner__copy {
    max-width: none;
    padding: 0 0 90px 82px;
  }
  .tml-support-banner__copy h2 { font-size: 14px; }
  .tml-support-banner__copy p { font-size: 9px; }
  .tml-support-banner__actions {
    left: 18px;
    right: 18px;
    bottom: 14px;
    top: auto;
    transform: none;
    width: auto;
    grid-template-columns: 1fr 1fr;
  }
  .tml-btn { min-height: 34px; padding-inline: 8px; font-size: 9px; }
  .tml-endpoint-content { padding: 14px; }
}


/* Login / logged-out account */
.tml-account--logged-out {
  background: var(--tml-bg);
}
.tml-account--logged-out .tml-account-hero--login {
  min-height: 150px;
}
.tml-account--logged-out .tml-account-hero--login .tml-account-hero__inner {
  min-height: 150px;
}
.tml-login {
  width: 100%;
  background: var(--tml-bg);
  padding: 44px 0 72px;
}
.tml-login__shell {
  width: min(1120px, calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 24px;
  align-items: stretch;
}
.tml-login__intro {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  padding: 44px 42px;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(40,139,255,.25), transparent 32%),
    linear-gradient(145deg, #061b36 0%, #082b53 58%, #0b3c70 100%);
  box-shadow: 0 16px 42px rgba(10, 35, 70, .12);
}
.tml-login__intro::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -100px;
  bottom: -130px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255,255,255,.025), 0 0 0 70px rgba(255,255,255,.018);
}
.tml-login__intro > * {
  position: relative;
  z-index: 1;
}
.tml-login__intro-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}
.tml-login__intro h2 {
  margin: 30px 0 12px;
  color: #fff !important;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
  font-weight: 800;
}
.tml-login__intro p {
  max-width: 430px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.75;
}
.tml-login__intro-points {
  display: grid;
  gap: 13px;
  margin-top: 34px;
}
.tml-login__intro-points span {
  color: rgba(255,255,255,.92);
  font-size: 13px;
  font-weight: 600;
}
.tml-login__card {
  min-width: 0;
  padding: 38px 40px;
  border: 1px solid var(--tml-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--tml-shadow);
}
.tml-login__card .u-columns,
.tml-login__card .col2-set {
  display: block;
  width: 100%;
  margin: 0;
}
.tml-login__card .u-column1,
.tml-login__card .u-column2,
.tml-login__card .col-1,
.tml-login__card .col-2 {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
}
.tml-login__card .u-column2,
.tml-login__card .col-2 {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--tml-border);
}
.tml-login__card h2 {
  margin: 0 0 22px;
  color: var(--tml-text) !important;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 800;
}
.tml-login__card form.login,
.tml-login__card form.register {
  margin: 0;
  padding: 0;
  border: 0;
}
.tml-login__card form.login p.form-row,
.tml-login__card form.register p.form-row {
  margin: 0 0 16px;
  padding: 0;
}
.tml-login__card form.login label,
.tml-login__card form.register label {
  display: block;
  margin: 0 0 7px;
  color: var(--tml-text);
  font-size: 12px;
  font-weight: 700;
}
.tml-login__card form.login input.input-text,
.tml-login__card form.login input[type="text"],
.tml-login__card form.login input[type="password"],
.tml-login__card form.register input.input-text,
.tml-login__card form.register input[type="text"],
.tml-login__card form.register input[type="email"],
.tml-login__card form.register input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #dce3ec;
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: var(--tml-text);
  font-size: 13px;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.tml-login__card form.login input.input-text:focus,
.tml-login__card form.login input[type="text"]:focus,
.tml-login__card form.login input[type="password"]:focus,
.tml-login__card form.register input.input-text:focus,
.tml-login__card form.register input[type="text"]:focus,
.tml-login__card form.register input[type="email"]:focus,
.tml-login__card form.register input[type="password"]:focus {
  border-color: #0b72e7;
  box-shadow: 0 0 0 3px rgba(11,114,231,.10);
}
.tml-login__card .woocommerce-form-login__rememberme {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--tml-muted) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}
.tml-login__card .woocommerce-form-login__rememberme input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--tml-blue);
}
.tml-login__card .woocommerce-form-login__submit,
.tml-login__card .woocommerce-form-register__submit {
  width: 100%;
  min-height: 48px;
  margin: 4px 0 0;
  padding: 0 18px;
  border: 0 !important;
  border-radius: 9px;
  background: linear-gradient(135deg, #1176e8, #0b64d5) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(11,114,231,.18);
  cursor: pointer;
}
.tml-login__card .woocommerce-LostPassword {
  margin: 13px 0 0 !important;
  text-align: center;
}
.tml-login__card .woocommerce-LostPassword a {
  color: var(--tml-blue) !important;
  font-size: 11px;
  font-weight: 700;
}
.tml-login__card .woocommerce-privacy-policy-text,
.tml-login__card .woocommerce-form-register__submit + * {
  color: var(--tml-muted);
  font-size: 10px;
  line-height: 1.6;
}
.tml-login__card .woocommerce-form__label-for-checkbox {
  margin-bottom: 0 !important;
}
.tml-login__card .woocommerce-password-strength,
.tml-login__card .woocommerce-password-hint {
  font-size: 10px;
}
.tml-login__card .woocommerce-error,
.tml-login__card .woocommerce-message,
.tml-login__card .woocommerce-info {
  margin: 0 0 18px;
  border-radius: 9px;
  font-size: 12px;
}

@media (max-width: 900px) {
  .tml-login__shell {
    grid-template-columns: 1fr;
    width: min(720px, calc(100% - 40px));
  }
  .tml-login__intro {
    min-height: auto;
    padding: 32px;
  }
  .tml-login__intro-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .tml-login__card {
    padding: 32px;
  }
}

@media (max-width: 600px) {
  .tml-login {
    padding: 24px 0 44px;
  }
  .tml-login__shell {
    width: calc(100% - 28px);
    gap: 14px;
  }
  .tml-login__intro {
    padding: 26px 22px;
    border-radius: 13px;
  }
  .tml-login__intro h2 {
    margin-top: 22px;
    font-size: 27px;
  }
  .tml-login__intro p {
    font-size: 12px;
  }
  .tml-login__intro-points {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 22px;
  }
  .tml-login__intro-points span {
    font-size: 11px;
  }
  .tml-login__card {
    padding: 26px 20px;
    border-radius: 13px;
  }
  .tml-login__card h2 {
    font-size: 22px;
  }
  .tml-account--logged-out .tml-account-hero--login,
  .tml-account--logged-out .tml-account-hero--login .tml-account-hero__inner {
    min-height: 130px;
  }
}


/* V1.0.4 — WooCommerce lost-password endpoint */
.tml-login__shell--single {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}
.tml-login--lost-password .tml-login__card {
  max-width: 720px;
  margin: 0 auto;
}
.tml-login__lost-intro {
  margin: 0 0 24px;
  text-align: center;
}
.tml-login__lost-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #eaf3ff;
  color: var(--tml-blue);
  font-size: 25px;
  font-weight: 800;
}
.tml-login__lost-intro h2 {
  margin-bottom: 9px;
}
.tml-login__lost-intro p {
  max-width: 540px;
  margin: 0 auto;
  color: var(--tml-muted);
  font-size: 13px;
  line-height: 1.65;
}
.tml-login--lost-password .woocommerce-ResetPassword {
  margin: 0;
}
.tml-login--lost-password .woocommerce-ResetPassword p.form-row {
  margin-bottom: 16px;
}
.tml-login--lost-password .woocommerce-ResetPassword .form-row-first,
.tml-login--lost-password .woocommerce-ResetPassword .form-row-last {
  float: none;
  width: 100%;
}
.tml-login--lost-password .woocommerce-ResetPassword .woocommerce-Button {
  width: 100%;
  min-height: 48px;
  margin-top: 4px;
  border: 0 !important;
  border-radius: 9px;
  background: linear-gradient(135deg, #1176e8, #0b64d5) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(11,114,231,.18);
}
.tml-login__back {
  margin: 20px 0 0;
  text-align: center;
}
.tml-login__back a {
  color: var(--tml-blue) !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

/* V1.0.5 — Actual WooCommerce reset-password form */
.tml-login--reset-password .tml-login__card {
  max-width: 620px;
  margin: 0 auto;
  padding: 42px 44px;
}

.tml-login--reset-password .tml-login__lost-intro {
  margin-bottom: 28px;
}

.tml-login__reset-icon {
  background: #e3f6eb !important;
  color: #19a86b !important;
}

.tml-login--reset-password .woocommerce-ResetPassword {
  margin: 0;
  padding: 0;
}

.tml-login--reset-password .woocommerce-ResetPassword > p:first-child {
  margin: 0 0 22px;
  padding: 12px 14px;
  border: 1px solid #e4edf8;
  border-radius: 9px;
  background: #f7fbff;
  color: #566276;
  font-size: 12px;
  line-height: 1.6;
}

.tml-login--reset-password .woocommerce-ResetPassword p.form-row {
  float: none;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
}

.tml-login--reset-password .woocommerce-ResetPassword p.form-row label {
  display: block;
  margin: 0 0 7px;
  color: var(--tml-text);
  font-size: 12px;
  font-weight: 700;
}

.tml-login--reset-password .woocommerce-ResetPassword input.input-text,
.tml-login--reset-password .woocommerce-ResetPassword input[type="password"] {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #dce3ec !important;
  border-radius: 9px !important;
  outline: none;
  background: #fff !important;
  color: var(--tml-text);
  font-size: 13px;
  box-shadow: none !important;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.tml-login--reset-password .woocommerce-ResetPassword input.input-text:focus,
.tml-login--reset-password .woocommerce-ResetPassword input[type="password"]:focus {
  border-color: var(--tml-blue) !important;
  box-shadow: 0 0 0 3px rgba(11,114,231,.10) !important;
}

.tml-login--reset-password .woocommerce-ResetPassword .woocommerce-Button {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  border: 0 !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg, #1176e8, #0b64d5) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(11,114,231,.18);
  cursor: pointer;
}

.tml-login--reset-password .woocommerce-error,
.tml-login--reset-password .woocommerce-message,
.tml-login--reset-password .woocommerce-info {
  margin: 0 0 18px !important;
  border-radius: 9px;
  font-size: 12px;
}

.tml-login--reset-password .tml-login__back {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--tml-border);
}

@media (max-width: 600px) {
  .tml-login--reset-password .tml-login__card {
    width: calc(100% - 28px);
    max-width: none;
    padding: 30px 22px;
  }

  .tml-login--reset-password .tml-login__lost-intro h2 {
    font-size: 22px;
  }
}

/* V1.0.6 — Elementor-safe native WooCommerce lost/reset password fallback. */
body.tml-my-account-page .woocommerce form.woocommerce-ResetPassword,
body.tml-my-account-page .woocommerce .lost_reset_password {
  width: min(620px, calc(100% - 40px)) !important;
  margin: 42px auto !important;
  padding: 42px 44px !important;
  border: 1px solid #e4eaf2 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 18px 50px rgba(20,42,72,.10) !important;
}
body.tml-my-account-page .woocommerce form.woocommerce-ResetPassword > p:first-child,
body.tml-my-account-page .woocommerce .lost_reset_password p:first-child {
  margin: 0 0 26px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #182942 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}
body.tml-my-account-page .woocommerce form.woocommerce-ResetPassword p.form-row,
body.tml-my-account-page .woocommerce .lost_reset_password p.form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}
body.tml-my-account-page .woocommerce form.woocommerce-ResetPassword label,
body.tml-my-account-page .woocommerce .lost_reset_password label {
  display: block !important;
  margin: 0 0 8px !important;
  color: #17233b !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
body.tml-my-account-page .woocommerce form.woocommerce-ResetPassword input.input-text,
body.tml-my-account-page .woocommerce form.woocommerce-ResetPassword input[type="password"],
body.tml-my-account-page .woocommerce .lost_reset_password input.input-text {
  width: 100% !important;
  min-height: 50px !important;
  padding: 0 14px !important;
  border: 1px solid #dce3ec !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: #17233b !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 14px !important;
}
body.tml-my-account-page .woocommerce form.woocommerce-ResetPassword input:focus,
body.tml-my-account-page .woocommerce .lost_reset_password input:focus {
  border-color: #0b72e7 !important;
  box-shadow: 0 0 0 3px rgba(11,114,231,.10) !important;
}
body.tml-my-account-page .woocommerce form.woocommerce-ResetPassword .woocommerce-Button,
body.tml-my-account-page .woocommerce .lost_reset_password .woocommerce-Button {
  width: 100% !important;
  min-height: 50px !important;
  margin-top: 4px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: linear-gradient(135deg,#1176e8,#0b64d5) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 18px rgba(11,114,231,.18) !important;
  cursor: pointer !important;
}
@media (max-width:600px) {
  body.tml-my-account-page .woocommerce form.woocommerce-ResetPassword,
  body.tml-my-account-page .woocommerce .lost_reset_password {
    width: calc(100% - 28px) !important;
    margin: 24px auto !important;
    padding: 26px 20px !important;
    border-radius: 13px !important;
  }
}
