/* Account auth — login & register card */

body.tc-account-guest-page,
body.tc-account-guest-page #main.tc-account-auth-page {
  background: #fff;
}

.tc-account-auth-page .tc-auth-wrap {
  min-height: calc(100vh - 220px);
  padding: 48px 20px 72px;
  background: #fff;
}

.tc-auth {
  width: min(520px, 100%);
  margin: 0 auto;
}

.tc-auth__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
  text-decoration: none;
}

.tc-auth__logo .site-logo__image,
.tc-auth__logo img,
.tc-auth__logo .custom-logo {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(320px, 88vw) !important;
  max-height: 112px !important;
  object-fit: contain;
}

.tc-auth__logo .site-logo__emblem {
  width: 56px;
  height: 56px;
}

.tc-auth__logo .site-logo__text {
  font-size: 34px;
}

.tc-auth__logo .site-logo__sub {
  font-size: 11px;
}

.tc-auth__card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
  padding: 34px 42px 30px;
}

.tc-auth__title {
  margin: 0 0 28px;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
  color: #2f3640;
}

.tc-auth__form .form-row,
.tc-auth__form p.form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  clear: none !important;
}

.tc-auth__form label:not(.tc-auth__terms):not(.tc-auth__remember) {
  display: none;
}

.tc-auth__form .woocommerce-error,
.tc-auth__form .woocommerce-message {
  margin-bottom: 16px;
}

.tc-auth__form.woocommerce-form-login,
.tc-auth__form.woocommerce-form-register {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.tc-auth__fieldset {
  margin: 0;
  padding: 0 0 20px;
  border: 0;
  border-bottom: 1px solid #e3e3e3;
}

.tc-auth__fieldset .tc-auth__meta {
  margin: 18px 0 0;
}


.tc-auth__field {
  position: relative;
  margin-bottom: 22px;
}

.tc-auth__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 0;
}

.tc-auth__row .tc-auth__field {
  margin-bottom: 22px;
}

.tc-auth__input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #c7c7c7;
  border-radius: 0;
  background: transparent;
  padding: 10px 0 12px;
  font-size: 15px;
  color: #2f3640;
  box-shadow: none;
}

.tc-auth__input::placeholder {
  color: #9aa0a6;
}

.tc-auth__input:focus {
  outline: none;
  border-bottom-color: var(--red, #0b8796);
}

.tc-auth__field--password .tc-auth__input {
  padding-right: 42px;
}

.tc-auth__password-toggle {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #9aa0a6;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tc-auth__password-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.tc-auth__password-toggle.is-visible {
  color: var(--red, #0b8796);
}

.tc-auth__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 0;
  font-size: 13px;
}

.tc-auth__remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5f6368;
  cursor: pointer;
}

.tc-auth__remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--red, #0b8796);
}

.tc-auth__link {
  color: #5f6368;
  text-decoration: none;
}

.tc-auth__link:hover {
  color: var(--red, #0b8796);
}

.tc-auth__terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #5f6368;
  cursor: pointer;
}

.tc-auth__terms input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--red, #0b8796);
}

.tc-auth__terms a {
  color: #2f3640;
  text-decoration: underline;
}

.tc-auth__actions {
  margin: 28px 0 0;
  padding: 0;
  clear: both;
  position: relative;
  z-index: 1;
}

.tc-auth__form .woocommerce-form-login__submit,
.tc-auth__form .woocommerce-form-register__submit,
.tc-auth .woocommerce-button.button.tc-auth__submit,
.tc-auth__submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  height: auto !important;
  margin: 0 !important;
  padding: 14px 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--red, #0b8796) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  box-sizing: border-box;
  float: none !important;
  position: static !important;
  top: auto !important;
  transform: none !important;
  cursor: pointer;
  transition: background 0.15s ease;
}

.tc-auth__form .woocommerce-form-login__submit:hover,
.tc-auth__form .woocommerce-form-register__submit:hover,
.tc-auth .woocommerce-button.button.tc-auth__submit:hover,
.tc-auth__submit:hover {
  background: var(--red-dark, #075b66) !important;
  color: #fff !important;
}

.tc-auth__form .g-recaptcha,
.tc-auth__form .woocommerce-login-form__captcha {
  margin: 20px 0 0;
}

.tc-auth__divider {
  margin: 26px 0 18px;
  text-align: center;
  font-size: 13px;
  color: #9aa0a6;
}

.tc-auth__social {
  display: grid;
  gap: 12px;
}

.tc-auth__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid #d7d7d7;
  border-radius: 4px;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.tc-auth__social-btn:hover {
  border-color: #b8b8b8;
  color: #111827;
}

.tc-auth__social-btn--facebook {
  border-color: #cfd9f2;
}

.tc-auth__social-btn--google {
  border-color: #dadce0;
}

.tc-auth__social-btn .nsl-button,
.tc-auth__social-btn .nsl-button-default {
  all: unset;
  display: inline;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.tc-auth__social-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.tc-auth__social-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

.tc-auth__social-setup {
  margin: 0;
  padding: 12px 14px;
  border: 1px dashed #d7d7d7;
  border-radius: 6px;
  background: #fafafa;
  font-size: 12px;
  line-height: 1.5;
  color: #6b7280;
  text-align: center;
}

.tc-auth__social-setup a {
  color: var(--red, #0b8796);
  font-weight: 600;
}

.tc-auth__switch {
  margin: 18px 0 0;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

.tc-auth__switch a {
  color: var(--red, #0b8796);
  font-weight: 600;
  text-decoration: underline;
}

/* Woo notices & recaptcha inside card */
.tc-auth .woocommerce-notices-wrapper {
  margin-bottom: 18px;
}

.tc-auth .woocommerce-error,
.tc-auth .woocommerce-info,
.tc-auth .woocommerce-message {
  margin: 0 0 16px;
  font-size: 13px;
}

.tc-auth .g-recaptcha {
  margin: 0 0 18px;
  transform-origin: left top;
}

/* Logged-in dashboard */
body.tc-account-dash-page .tc-dash-wrap,
body.tc-account-dash-page .tc-system-wrap {
  padding: 28px 0 72px;
  background: #fff;
}

body.tc-account-dash-page .tc-system-card {
  background: transparent;
  padding: 0;
}

body.tc-account-dash-page .woocommerce {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

body.tc-account-dash-page .woocommerce::before,
body.tc-account-dash-page .woocommerce::after {
  display: none !important;
}

.tc-dash,
body.tc-account-dash-page .tc-dash {
  width: 100%;
  max-width: 100%;
}

body.tc-account-dash-page .woocommerce-MyAccount-content,
.tc-dash__content {
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
  padding: 24px;
  min-height: 420px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.tc-account-dash-page .woocommerce-MyAccount-content > p:first-of-type {
  display: none;
}

.tc-dash__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13px;
  color: #6b7280;
}

.tc-dash__breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}

.tc-dash__breadcrumb a:hover {
  color: var(--red, #0b8796);
}

.tc-dash__layout {
  display: grid !important;
  grid-template-columns: 320px minmax(0, 1fr) !important;
  gap: 24px;
  align-items: start;
  width: 100%;
}

.tc-dash__sidebar {
  display: grid;
  gap: 16px;
  grid-column: 1;
  width: 320px !important;
  min-width: 320px !important;
  max-width: 320px !important;
  flex: 0 0 320px;
}

.tc-dash__content,
body.tc-account-dash-page .woocommerce-MyAccount-content.tc-dash__content {
  grid-column: 2;
  min-width: 0;
}

/* Fără clase WooCommerce pe nav — evită width:30% din plugin */
.tc-dash-nav {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box;
}

.tc-dash-nav ul {
  display: block !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tc-dash-nav li {
  float: none !important;
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.tc-account-dash-page .woocommerce-MyAccount-navigation {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.tc-account-dash-page .woocommerce-MyAccount-navigation ul,
body.tc-account-dash-page .woocommerce-MyAccount-navigation li {
  float: none !important;
  display: block !important;
  width: 100% !important;
}

.tc-dash-home,
.tc-dash-home__top,
.tc-dash-welcome,
.tc-dash-quick {
  min-width: 0;
}

.tc-dash-profile,
.tc-dash-support,
.tc-dash-nav,
.tc-dash__content,
.tc-dash-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.05);
}

.tc-dash-profile {
  padding: 22px 20px;
  text-align: center;
}

.tc-dash-profile__avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.tc-dash-profile__image {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.tc-dash-profile__name {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: #1f2937;
}

.tc-dash-profile__email {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  word-break: break-word;
}

.tc-dash-support {
  padding: 18px 20px;
}

.tc-dash-support__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
}

.tc-dash-support__text {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.5;
  color: #6b7280;
}

.tc-dash-support__link {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red, #0b8796);
  text-decoration: none;
}

.tc-dash-support__link:hover {
  text-decoration: underline;
}

.tc-dash-nav {
  padding: 10px 0;
}

.tc-dash-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tc-dash-nav li a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100% !important;
  min-height: 44px;
  padding: 10px 20px 10px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #374151;
  text-decoration: none;
  border-left: 3px solid transparent;
  white-space: nowrap;
  box-sizing: border-box;
}

.tc-dash-nav li a > span:last-child {
  flex: 0 1 auto;
}

.tc-dash-nav li.is-active a,
.tc-dash-nav li a:hover {
  color: var(--red, #0b8796);
  background: #fff5f6;
  border-left-color: var(--red, #0b8796);
}

.tc-dash-nav__icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tc-dash-nav__icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.tc-dash-nav__icon svg path[fill],
.tc-dash-nav li .tc-dash-nav__icon svg path[d*="12 20"] {
  fill: currentColor;
  stroke: none;
}

.tc-dash-nav__item--logout {
  margin-top: 8px;
  border-top: 1px solid #f1f5f9;
}

.tc-dash__content {
  padding: 24px;
  min-height: 420px;
  min-width: 0;
}

.tc-dash-home__top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(200px, 0.8fr);
  gap: 18px;
  margin-bottom: 18px;
}

.tc-dash-card {
  padding: 22px 24px;
  min-width: 0;
}

.tc-dash-card__title,
.tc-dash-panel__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
}

.tc-dash-card__head,
.tc-dash-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.tc-dash-card__head {
  margin-bottom: 0;
}

.tc-dash-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--red, #0b8796);
  text-decoration: none;
}

.tc-dash-welcome__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.tc-dash-welcome__text {
  margin: 8px 0 0;
  font-size: 14px;
  color: #6b7280;
}

.tc-dash-welcome__edit {
  font-size: 13px;
  font-weight: 600;
  color: var(--red, #0b8796);
  text-decoration: none;
  white-space: nowrap;
}

.tc-dash-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.tc-dash-quick__btn {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 88px;
  min-width: 0;
  width: 100%;
  padding: 10px 8px;
  border-radius: 4px;
  background: var(--red, #0b8796);
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  float: none !important;
  position: relative !important;
  box-sizing: border-box;
  transition: background 0.15s ease;
}

.tc-dash-quick__btn span:last-child {
  display: block;
  max-width: 100%;
}

.tc-dash-quick__btn:hover {
  background: var(--red-dark, #075b66);
  color: #fff;
}

.tc-dash-quick__icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.tc-dash-quick__icon svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  stroke-width: 1.8;
  fill: none;
}

.tc-dash-quick__icon svg path[fill],
.tc-dash-quick__btn .tc-dash-quick__icon svg path[d*="12 20"] {
  fill: #fff;
  stroke: none;
}

.tc-dash-home__stats {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tc-dash-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 14px 16px;
  border-radius: 4px;
  color: #fff;
}

.tc-dash-stat__label {
  margin: 0 0 4px;
  font-size: 12px;
  opacity: 0.92;
}

.tc-dash-stat__value {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.tc-dash-stat--dark { background: #2f3640; }
.tc-dash-stat--blue { background: #1e3a5f; }
.tc-dash-stat--green { background: #1f6b45; }
.tc-dash-stat--red { background: var(--red, #0b8796); }

.tc-dash-promos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.tc-dash-promo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 120px;
  padding: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, #8f1824 0%, var(--red, #0b8796) 100%);
  color: #fff;
  text-decoration: none;
}

.tc-dash-promo strong {
  font-size: 16px;
  line-height: 1.3;
}

.tc-dash-promo__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.tc-dash-promo__cta {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
}

.tc-dash-table-wrap {
  overflow-x: auto;
}

.tc-dash-table {
  width: 100%;
  border-collapse: collapse;
}

.tc-dash-table th,
.tc-dash-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
  font-size: 13px;
}

.tc-dash-table th {
  color: #6b7280;
  font-weight: 600;
  background: #fafafa;
}

.tc-dash-table tbody tr:nth-child(even) {
  background: #fcfcfc;
}

.tc-dash-table__view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #4b5563;
  text-decoration: none;
}

.tc-dash-table__view:hover {
  background: #e8f8fa;
  color: var(--red, #0b8796);
}

.tc-dash-table__view svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.tc-dash-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #f3f4f6;
  color: #374151;
}

.tc-dash-status--completed {
  background: #e8f7ef;
  color: #166534;
}

.tc-dash-status--processing,
.tc-dash-status--on-hold,
.tc-dash-status--pending {
  background: #fff7e8;
  color: #9a6700;
}

.tc-dash-status--cancelled,
.tc-dash-status--failed,
.tc-dash-status--refunded {
  background: #fef2f2;
  color: #0b8796;
}

.tc-dash-empty {
  padding: 28px 12px;
  text-align: center;
  color: #6b7280;
}

.tc-dash-empty__btn,
.tc-dash__content .button,
.tc-dash__content .woocommerce-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--red, #0b8796) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.tc-dash-panel__desc {
  margin: 6px 0 0;
  font-size: 14px;
  color: #6b7280;
}

.tc-dash-panel__head--solo {
  margin-bottom: 20px;
}

.tc-dash__content .woocommerce-EditAccountForm .form-row,
.tc-dash__content .woocommerce-address-fields .form-row,
.tc-dash__content .woocommerce-MyAccount-paymentMethods .form-row {
  float: none !important;
  width: 100% !important;
  margin-bottom: 16px;
}

.tc-dash__content .woocommerce-EditAccountForm input.input-text,
.tc-dash__content .woocommerce-EditAccountForm select,
.tc-dash__content .woocommerce-address-fields input.input-text,
.tc-dash__content .woocommerce-address-fields select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0 12px;
}

.tc-account-profile__section {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.tc-account-profile__section legend {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  color: #2f3640;
}

.tc-account-profile__hint {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
}

.tc-account-profile__fields .form-row-first,
.tc-account-profile__fields .form-row-last {
  width: calc(50% - 8px) !important;
  display: inline-block;
  vertical-align: top;
}

.tc-account-profile__fields .form-row-first {
  margin-right: 16px !important;
}

.tc-account-profile__actions {
  margin-top: 8px;
}

.tc-account-profile__actions .tc-auth__submit {
  width: auto;
  min-width: 220px;
}

body.tc-account-pf .tc-account-profile .tric-company-field {
  display: none !important;
}

body.tc-account-pj .tc-account-profile .tric-company-field {
  display: block;
}

.tc-account-profile .tric-cui-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.tc-account-profile .tric-checkout-cui-button {
  min-height: 44px;
  border-radius: 6px;
  background: #2f3640;
  color: #fff;
  border: 0;
  padding: 0 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.tc-account-profile .tric-cui-status {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

.tc-account-profile .tric-cui-status.is-success {
  color: #1f6b45;
}

.tc-account-profile .tric-cui-status.is-error {
  color: var(--red, #0b8796);
}

.tc-account-profile .tric-cui-status.is-loading {
  color: #6b7280;
}

.tc-dash__content .woocommerce-MyAccount-content > p:first-child {
  display: none;
}

.tc-dash__content .woocommerce-pagination {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 1100px) {
  .tc-dash-home__top {
    grid-template-columns: 1fr;
  }

  .tc-dash-home__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .tc-dash-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .tc-dash__layout {
    grid-template-columns: 1fr !important;
  }

  .tc-dash__sidebar {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .tc-dash__content,
  body.tc-account-dash-page .woocommerce-MyAccount-content.tc-dash__content {
    grid-column: 1;
  }

  .tc-dash-nav li a {
    white-space: normal;
  }

  .tc-dash-promos {
    grid-template-columns: 1fr;
  }

  .tc-dash-quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.tc-account-dash-page .tc-dash-wrap {
    padding: 18px 0 48px;
  }

  .tc-dash__content,
  .tc-dash-card {
    padding: 18px 16px;
  }

  .tc-dash-home__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tc-dash-welcome__head {
    flex-direction: column;
  }

  .tc-account-profile__fields .form-row-first,
  .tc-account-profile__fields .form-row-last {
    width: 100% !important;
    display: block;
    margin-right: 0 !important;
  }

  .tc-account-profile__actions .tc-auth__submit {
    width: 100%;
  }

  .tc-dash-table thead {
    display: none;
  }

  .tc-dash-table tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    background: #fff;
  }

  .tc-dash-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #f3f4f6;
  }

  .tc-dash-table td::before {
    content: attr(data-title);
    font-weight: 700;
    color: #6b7280;
  }

  .tc-dash-table td:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  .tc-account-auth-page .tc-auth-wrap {
    padding: 28px 16px 48px;
  }

  .tc-auth__logo .site-logo__image,
  .tc-auth__logo img,
  .tc-auth__logo .custom-logo {
    max-width: min(280px, 90vw) !important;
    max-height: 96px !important;
  }

  .tc-auth__card {
    padding: 28px 22px 24px;
  }

  .tc-auth__title {
    font-size: 30px;
  }

  .tc-auth .woocommerce-button.button.tc-auth__submit,
  .tc-auth__submit {
    padding: 14px 20px !important;
    font-size: 11px !important;
  }

  .tc-auth__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .tc-auth__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
