@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --tm-blue: #0064c1;
  --tm-deep: #003463;
  --tm-orange: #f8753a;
  --tm-white: #fff;
  --tm-sand: #f6f8fb;
  --tm-ink: #0e2136;
  --tm-muted: #5b6b7c;
  --tm-line: #e4e9f0;
  --tm-display: "Fraunces", serif;
  --tm-body: "Manrope", sans-serif;
}

/* Base Wrapper for Shortcode */
.tm-auth-page {
  font-family: var(--tm-body);
  color: var(--tm-ink);
  min-height: 80vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    radial-gradient(circle at 14% 15%, rgba(0,100,193,.07), transparent 24%),
    radial-gradient(circle at 88% 80%, rgba(248,117,58,.08), transparent 25%),
    var(--tm-sand);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.tm-auth-page *,
.tm-auth-page *::before,
.tm-auth-page *::after,
#tmForgotModal,
#tmForgotModal * {
  box-sizing: border-box;
}

.tm-auth-page button,
.tm-auth-page input,
.tm-auth-page select,
.tm-auth-page textarea,
#tmForgotModal button,
#tmForgotModal input {
  font: inherit;
}

.tm-auth-page button,
#tmForgotModal button {
  cursor: pointer;
}

.tm-auth-shell {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: minmax(330px, .78fr) minmax(430px, 1fr);
  overflow: hidden;
  border: 1px solid rgba(228, 233, 240, .9);
  border-radius: 30px;
  background: var(--tm-white);
  box-shadow:
    0 35px 90px rgba(0, 52, 99, .13),
    0 8px 22px rgba(14, 33, 54, .05);
}

/* LEFT: COMPACT VISUAL PANEL */
.tm-visual {
  position: relative;
  min-height: 590px;
  padding: 34px;
  overflow: hidden;
  background: var(--tm-deep);
  color: var(--tm-white);
}

.tm-visual::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  right: -185px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow:
    0 0 0 25px rgba(255, 255, 255, .025),
    0 0 0 50px rgba(255, 255, 255, .018);
}

.tm-visual::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  left: -120px;
  bottom: -95px;
  border-radius: 50%;
  background: var(--tm-blue);
  opacity: .72;
}

.tm-visual-top,
.tm-visual-main,
.tm-visual-bottom {
  position: relative;
  z-index: 2;
}

.tm-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tm-orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tm-topline span {
  width: 18px;
  height: 1px;
  background: var(--tm-orange);
}

.tm-visual-main {
  margin-top: 105px;
  max-width: 360px;
}

.tm-visual-kicker {
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tm-visual h1 {
  margin-top: 10px;
  margin-bottom: 0;
  font-family: var(--tm-display);
  font-size: clamp(42px, 5vw, 60px);
  line-height: .98;
  letter-spacing: -.03em;
  font-weight: 600;
  color: #fff;
}

.tm-visual h1 em {
  color: var(--tm-orange);
  font-style: italic;
  font-weight: 500;
}

.tm-visual-copy {
  max-width: 330px;
  margin-top: 16px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .75);
  font-size: 12.5px;
  line-height: 1.72;
}

.tm-experience {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.tm-pill {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 255, 255, .82);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.tm-visual-bottom {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
}

.tm-mini-note {
  max-width: 190px;
  color: rgba(255, 255, 255, .52);
  font-size: 9.5px;
  line-height: 1.55;
}

.tm-dot {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 18px;
  background: rgba(255, 255, 255, .05);
}

/* RIGHT: AUTH */
.tm-form-panel {
  padding: 38px 52px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tm-head {
  margin-bottom: 22px;
}

.tm-head-kicker {
  color: var(--tm-orange);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tm-head h2 {
  margin-top: 8px;
  margin-bottom: 0;
  font-family: var(--tm-display);
  color: var(--tm-deep);
  font-size: 36px;
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -.025em;
}

.tm-head p {
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--tm-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.tm-mode {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 4px;
  width: max-content;
  max-width: 100%;
  background: var(--tm-sand);
  border-radius: 999px;
}

.tm-mode button {
  min-height: 38px;
  padding: 9px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--tm-muted);
  font-size: 11.5px;
  font-weight: 800;
  transition: .2s ease;
}

.tm-mode button.is-active {
  background: var(--tm-white);
  color: var(--tm-deep);
  box-shadow: 0 3px 10px rgba(14, 33, 54, .08);
}

.tm-form-panel .tm-form,
.tm-auth-box .tm-form {
  display: none;
  gap: 12px;
}

.tm-form-panel .tm-form.is-active,
.tm-auth-box .tm-form.is-active {
  display: grid;
}

.tm-google {
  min-height: 46px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--tm-line);
  border-radius: 12px;
  background: var(--tm-white);
  color: var(--tm-ink);
  font-size: 11.8px;
  font-weight: 800;
  box-shadow: 0 5px 15px rgba(14, 33, 54, .035);
  transition: .2s;
  text-decoration: none;
}

.tm-google:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 100, 193, .34);
  box-shadow: 0 10px 20px rgba(14, 33, 54, .07);
}

.tm-google svg {
  width: 18px;
  height: 18px;
}

.tm-or {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8a97a5;
  font-size: 8.8px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tm-or::before,
.tm-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--tm-line);
}

.tm-field {
  display: grid;
  gap: 5px;
}

.tm-label {
  color: var(--tm-muted);
  font-size: 9.7px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tm-req {
  color: var(--tm-orange);
}

.tm-input-wrap {
  position: relative;
}

.tm-input {
  width: 100%;
  min-height: 45px;
  padding: 11px 12px;
  border: 1px solid var(--tm-line);
  border-radius: 10px;
  background: var(--tm-sand);
  color: var(--tm-ink);
  font-size: 12.5px;
  outline: none;
  transition: .2s;
}

.tm-input:focus {
  border-color: var(--tm-blue);
  background: var(--tm-white);
  box-shadow: 0 0 0 3px rgba(0, 100, 193, .07);
}

.tm-input-password {
  padding-right: 42px;
}

.tm-eye {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--tm-muted);
  cursor: pointer;
}

.tm-eye:hover {
  background: rgba(0, 100, 193, .06);
  color: var(--tm-blue);
}

.tm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tm-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--tm-muted);
  font-size: 10.5px;
  cursor: pointer;
}

.tm-check input {
  accent-color: var(--tm-blue);
}

.tm-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--tm-blue);
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.tm-link:hover {
  color: var(--tm-orange);
}

.tm-submit {
  min-height: 47px;
  width: 100%;
  border: 1px solid var(--tm-orange);
  border-radius: 999px;
  background: var(--tm-orange);
  color: var(--tm-white);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(248, 117, 58, .20);
  transition: .2s;
  cursor: pointer;
}

.tm-submit:hover {
  transform: translateY(-2px);
  background: #e4622a;
  border-color: #e4622a;
  box-shadow: 0 14px 26px rgba(248, 117, 58, .27);
}

.tm-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.tm-bottom-note {
  color: #8995a1;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
  margin: 4px 0 0;
}

.tm-switch {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--tm-line);
  text-align: center;
  color: var(--tm-muted);
  font-size: 10.5px;
}

.tm-switch button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--tm-orange);
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
}

.tm-switch button:hover {
  text-decoration: underline;
}

.tm-focusable:focus-visible,
.tm-mode button:focus-visible,
.tm-google:focus-visible,
.tm-submit:focus-visible,
.tm-eye:focus-visible,
.tm-link:focus-visible {
  outline: 2px solid var(--tm-orange);
  outline-offset: 3px;
}

.tm-form.is-register {
  gap: 10px;
}

/* Feedback Notice Banner inside Auth Shell */
.tm-feedback-alert {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tm-feedback-alert.is-error {
  background: #fdf2f2;
  border: 1px solid #f8b4b4;
  color: #9b1c1c;
}

.tm-feedback-alert.is-success {
  background: #f3faf7;
  border: 1px solid #a4e2c6;
  color: #0e6245;
}

/* PREMIUM FORGOT PASSWORD POPUP */
#tmForgotModal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  margin: 0 !important;
  background:
    radial-gradient(circle at 50% 20%, rgba(0, 100, 193, .12), transparent 38%),
    rgba(3, 24, 45, .68) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity .22s ease;
}

#tmForgotModal.is-open {
  display: flex !important;
  opacity: 1;
}

#tmForgotModal .tm-modal-card {
  position: relative !important;
  display: block !important;
  width: min(440px, 100%) !important;
  max-height: min(680px, calc(100dvh - 48px)) !important;
  overflow: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 26px;
  background: rgba(255, 255, 255, .98);
  box-shadow:
    0 40px 100px rgba(0, 31, 61, .30),
    0 12px 30px rgba(0, 31, 61, .12);
  transform: translateY(10px) scale(.985);
  transition: transform .25s cubic-bezier(.2, .8, .2, 1);
  scrollbar-width: thin;
}

#tmForgotModal.is-open .tm-modal-card {
  transform: translateY(0) scale(1);
}

.tm-forgot-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 30px 25px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(248, 117, 58, .28), transparent 27%),
    linear-gradient(135deg, #003463 0%, #005aa9 100%);
}

.tm-forgot-hero::before,
.tm-forgot-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  pointer-events: none;
}

.tm-forgot-hero::before {
  width: 180px;
  height: 180px;
  right: -75px;
  top: -92px;
}

.tm-forgot-hero::after {
  width: 115px;
  height: 115px;
  right: -38px;
  top: -58px;
}

.tm-forgot-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.tm-forgot-icon svg {
  width: 22px;
  height: 22px;
}

.tm-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .7);
  font-size: 28px;
  line-height: 1;
  padding: 4px;
  cursor: pointer;
  z-index: 5;
}

.tm-modal-close:hover {
  color: #fff;
}

#tmForgotModal .tm-modal-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-family: var(--tm-display);
  font-size: 31px;
  line-height: 1.05;
  letter-spacing: -.025em;
}

#tmForgotModal .tm-modal-copy {
  position: relative;
  z-index: 1;
  max-width: 350px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  line-height: 1.65;
}

.tm-forgot-body {
  padding: 26px 30px 30px;
}

#tmForgotModal .tm-forgot-form {
  display: grid !important;
  gap: 14px;
}

#tmForgotModal .tm-label {
  font-size: 9.5px;
}

#tmForgotModal .tm-input {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7f9fc;
  font-size: 12.5px;
}

#tmForgotModal .tm-input:focus {
  border-color: var(--tm-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 100, 193, .08);
}

#tmForgotModal .tm-submit {
  min-height: 49px;
  margin-top: 3px;
  font-size: 12px;
}

.tm-forgot-helper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1px;
  color: #8a96a3;
  font-size: 9.5px;
  line-height: 1.5;
}

.tm-forgot-helper svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.tm-forgot-cancel {
  width: 100%;
  min-height: 42px;
  margin-top: -3px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--tm-muted);
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
}

.tm-forgot-cancel:hover {
  background: #f4f7fa;
  color: var(--tm-deep);
}

.tm-reset-message {
  display: none;
  margin-top: 0;
  padding: 11px 12px;
  border: 1px solid #cde8d8;
  border-radius: 11px;
  background: #f1fbf5;
  color: #247044;
  font-size: 10.5px;
  line-height: 1.55;
}

.tm-reset-message.is-visible {
  display: block;
}

/* ============================================================== */
/* LOGGED-IN CUSTOMER DASHBOARD STYLES                            */
/* ============================================================== */
.tm-dashboard-shell {
  width: min(1040px, 100%);
  background: var(--tm-white);
  border: 1px solid rgba(228, 233, 240, .9);
  border-radius: 28px;
  box-shadow: 0 25px 70px rgba(0, 52, 99, .10);
  overflow: hidden;
}

.tm-dash-hero {
  background: linear-gradient(135deg, var(--tm-deep) 0%, #005aa9 100%);
  color: var(--tm-white);
  padding: 34px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.tm-dash-user {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tm-dash-avatar {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, .25);
  object-fit: cover;
  background: rgba(255, 255, 255, .1);
}

.tm-dash-avatar-fallback {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, .15);
  border: 2px solid rgba(255, 255, 255, .25);
  font-family: var(--tm-display);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}

.tm-dash-info h2 {
  margin: 0;
  font-family: var(--tm-display);
  font-size: 28px;
  color: #fff;
  line-height: 1.1;
}

.tm-dash-sub {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

.tm-dash-nav {
  display: flex;
  background: #f2f5f9;
  padding: 6px;
  border-bottom: 1px solid var(--tm-line);
  overflow-x: auto;
  gap: 6px;
}

.tm-dash-tab {
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--tm-muted);
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tm-dash-tab.is-active {
  background: var(--tm-white);
  color: var(--tm-deep);
  box-shadow: 0 2px 8px rgba(14, 33, 54, .08);
}

.tm-dash-tab.tm-tab-logout {
  margin-left: auto;
  color: #dc2626;
}

.tm-dash-tab.tm-tab-logout:hover {
  background: #fee2e2;
}

.tm-dash-body {
  padding: 34px 40px;
}

.tm-dash-panel {
  display: none;
}

.tm-dash-panel.is-active {
  display: block;
}

.tm-dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.tm-dash-stat {
  padding: 20px;
  background: var(--tm-sand);
  border: 1px solid var(--tm-line);
  border-radius: 16px;
}

.tm-dash-stat-num {
  font-family: var(--tm-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--tm-deep);
  line-height: 1;
}

.tm-dash-stat-label {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--tm-muted);
}

.tm-dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.tm-dash-table th,
.tm-dash-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--tm-line);
}

.tm-dash-table th {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--tm-muted);
  background: var(--tm-sand);
}

.tm-empty-placeholder {
  text-align: center;
  padding: 40px 20px;
  color: var(--tm-muted);
}

.tm-empty-placeholder p {
  margin: 8px 0 16px;
  font-size: 12.5px;
}

/* Tablet */
@media (max-width: 900px) {
  .tm-auth-shell {
    max-width: 620px;
    grid-template-columns: 1fr;
  }

  .tm-visual {
    min-height: 270px;
    padding: 28px 30px;
  }

  .tm-visual-main {
    margin-top: 48px;
    max-width: 520px;
  }

  .tm-visual h1 {
    font-size: 40px;
  }

  .tm-visual-copy {
    max-width: 520px;
    margin-top: 10px;
  }

  .tm-experience {
    margin-top: 18px;
  }

  .tm-visual-bottom {
    position: static;
    margin-top: 25px;
  }

  .tm-form-panel {
    padding: 30px;
  }

  .tm-dash-hero,
  .tm-dash-body {
    padding: 24px;
  }
}

/* Mobile */
@media (max-width: 540px) {
  .tm-auth-page {
    padding: 12px;
  }

  .tm-auth-shell {
    border-radius: 21px;
  }

  .tm-visual {
    min-height: 0;
    padding: 23px 19px 20px;
  }

  .tm-visual-main {
    margin-top: 28px;
  }

  .tm-topline {
    font-size: 8.5px;
  }

  .tm-visual h1 {
    font-size: 30px;
  }

  .tm-visual-copy {
    font-size: 11px;
    line-height: 1.6;
  }

  .tm-experience {
    gap: 7px;
    flex-wrap: wrap;
  }

  .tm-pill {
    padding: 7px 9px;
    font-size: 8px;
  }

  .tm-visual-bottom {
    margin-top: 18px;
  }

  .tm-mini-note {
    max-width: 210px;
  }

  .tm-dot {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .tm-form-panel {
    padding: 23px 18px 20px;
  }

  .tm-head {
    margin-bottom: 18px;
  }

  .tm-head h2 {
    font-size: 30px;
  }

  .tm-head p {
    font-size: 11.5px;
  }

  .tm-mode {
    width: 100%;
  }

  .tm-mode button {
    flex: 1;
  }

  .tm-form {
    gap: 10px;
  }

  #tmForgotModal {
    align-items: flex-end !important;
    padding: 10px !important;
  }

  #tmForgotModal .tm-modal-card {
    width: 100% !important;
    max-height: calc(100dvh - 20px) !important;
    border-radius: 23px;
  }

  .tm-forgot-hero {
    padding: 25px 21px 22px;
  }

  .tm-forgot-body {
    padding: 22px 21px 22px;
  }

  #tmForgotModal .tm-modal-title {
    font-size: 27px;
  }

  #tmForgotModal .tm-modal-copy {
    font-size: 11px;
  }

  .tm-dash-hero,
  .tm-dash-body {
    padding: 18px;
  }
}

@media (max-width: 360px) {
  .tm-visual h1 {
    font-size: 27px;
  }

  .tm-head h2 {
    font-size: 27px;
  }

  .tm-input,
  .tm-google,
  .tm-submit {
    min-height: 44px;
  }

  #tmForgotModal {
    padding: 7px !important;
  }

  #tmForgotModal .tm-modal-card {
    border-radius: 20px;
  }

  .tm-forgot-hero {
    padding: 22px 18px 19px;
  }

  .tm-forgot-body {
    padding: 19px 18px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after,
  #tmForgotModal,
  #tmForgotModal .tm-modal-card {
    transition: none !important;
  }
}

/* ============================================================== */
/* OTP VERIFICATION & MULTI-STEP REGISTRATION STYLES              */
/* ============================================================== */
.tm-reg-step {
  animation: tmFadeStep 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tmFadeStep {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tm-otp-card {
  text-align: center;
  padding: 10px 4px 6px;
}

.tm-otp-icon-wrap {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 100, 193, 0.12), rgba(0, 52, 99, 0.06));
  color: var(--tm-blue);
  border: 1px solid rgba(0, 100, 193, 0.2);
}

.tm-otp-title {
  margin: 0 0 6px;
  font-family: var(--tm-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--tm-deep);
  line-height: 1.2;
}

.tm-otp-copy {
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--tm-muted);
  line-height: 1.55;
}

.tm-otp-email-display {
  color: var(--tm-deep);
  font-weight: 700;
  word-break: break-all;
}

.tm-otp-inputs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.tm-otp-box {
  width: 50px;
  height: 58px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--tm-deep);
  background: var(--tm-sand);
  border: 1.5px solid var(--tm-line);
  border-radius: 14px;
  outline: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(14, 33, 54, 0.03);
}

.tm-otp-box:focus {
  border-color: var(--tm-blue);
  background: var(--tm-white);
  box-shadow: 0 0 0 4px rgba(0, 100, 193, 0.15), 0 4px 12px rgba(0, 100, 193, 0.08);
  transform: translateY(-2px);
}

.tm-otp-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.tm-otp-resend-wrap {
  font-size: 12.5px;
  color: var(--tm-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tm-otp-timer {
  font-weight: 700;
  color: var(--tm-orange);
}

.tm-otp-back-btn {
  font-size: 12px;
  color: var(--tm-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.tm-otp-back-btn:hover {
  color: var(--tm-deep);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .tm-otp-inputs {
    gap: 6px;
  }

  .tm-otp-box {
    width: 40px;
    height: 50px;
    font-size: 20px;
    border-radius: 10px;
  }
}

/* ==========================================================================
   CUSTOMER DASHBOARD: SHARE WITH FRIENDS TAB & CARDS
   ========================================================================== */

.tm-dash-share-overview-card {
  margin-top: 24px;
  background: var(--tm-white);
  border: 1.5px solid var(--tm-line);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: 0 4px 20px rgba(0, 52, 99, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tm-dash-share-overview-card:hover {
  box-shadow: 0 8px 28px rgba(0, 52, 99, 0.08);
}

.tm-dash-share-full-card {
  background: var(--tm-white);
  border: 1.5px solid var(--tm-line);
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: 0 8px 30px rgba(0, 52, 99, 0.04);
}

.tm-dash-share-hero {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 32px;
}

.tm-dash-share-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(248, 117, 58, 0.1);
  color: var(--tm-orange);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.tm-dash-share-badge .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
  line-height: 14px;
}

.tm-dash-share-hero h3 {
  margin: 0 0 10px;
  font-family: var(--tm-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--tm-deep);
  line-height: 1.25;
}

.tm-dash-share-hero p {
  margin: 0;
  font-size: 14px;
  color: var(--tm-muted);
  line-height: 1.6;
}

.tm-dash-share-body {
  max-width: 640px;
  margin: 0 auto 36px;
}

.tm-dash-share-body .tm-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tm-deep);
  margin-bottom: 8px;
}

.tm-dash-share-body .tm-label .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  color: var(--tm-blue);
}

/* Perks Grid */
.tm-dash-share-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  padding-top: 30px;
  border-top: 1px dashed var(--tm-line);
}

.tm-share-perk {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--tm-sand);
  border: 1px solid var(--tm-line);
  border-radius: 16px;
  transition: transform 0.2s ease;
}

.tm-share-perk:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: rgba(0, 100, 193, 0.2);
}

.tm-share-perk-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}

.tm-share-perk strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--tm-deep);
  margin-bottom: 4px;
}

.tm-share-perk p {
  margin: 0;
  font-size: 12px;
  color: var(--tm-muted);
  line-height: 1.45;
}

/* Social Share Components inside Account Dashboard */
.tm-social-share-wrap {
  width: 100%;
}

.tm-share-strip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tm-share-strip-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--tm-muted);
  flex-shrink: 0;
}

.tm-share-strip-label svg {
  width: 15px;
  height: 15px;
  color: var(--tm-blue);
}

.tm-share-strip-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tm-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  border-radius: 9999px;
  border: 1px solid var(--tm-line);
  background: var(--tm-white);
  color: var(--tm-deep);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  position: relative;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tm-share-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.tm-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.tm-share-btn:hover svg {
  transform: scale(1.1);
}

.tm-share-btn-whatsapp {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.25);
  color: #128c7e;
}
.tm-share-btn-whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

.tm-share-btn-facebook {
  background: rgba(24, 119, 242, 0.08);
  border-color: rgba(24, 119, 242, 0.25);
  color: #1877f2;
}
.tm-share-btn-facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
}

.tm-share-btn-twitter {
  background: rgba(15, 20, 25, 0.06);
  border-color: rgba(15, 20, 25, 0.2);
  color: #0f1419;
}
.tm-share-btn-twitter:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

.tm-share-btn-telegram {
  background: rgba(34, 158, 217, 0.08);
  border-color: rgba(34, 158, 217, 0.25);
  color: #229ed9;
}
.tm-share-btn-telegram:hover {
  background: #229ed9;
  border-color: #229ed9;
  color: #ffffff;
}

.tm-share-btn-linkedin {
  background: rgba(10, 102, 194, 0.08);
  border-color: rgba(10, 102, 194, 0.25);
  color: #0a66c2;
}
.tm-share-btn-linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #ffffff;
}

.tm-share-btn-pinterest {
  background: rgba(189, 8, 28, 0.08);
  border-color: rgba(189, 8, 28, 0.25);
  color: #bd081c;
}
.tm-share-btn-pinterest:hover {
  background: #bd081c;
  border-color: #bd081c;
  color: #ffffff;
}

.tm-share-btn-email {
  background: rgba(100, 116, 139, 0.08);
  border-color: rgba(100, 116, 139, 0.25);
  color: #64748b;
}
.tm-share-btn-email:hover {
  background: #64748b;
  border-color: #64748b;
  color: #ffffff;
}

.tm-share-btn-copy {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--tm-deep);
  position: relative;
}
.tm-share-btn-copy:hover {
  background: var(--tm-blue);
  border-color: var(--tm-blue);
  color: #ffffff;
}

.tm-share-copied-tip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #059669;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}
.tm-share-copied-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px 4px 0 4px;
  border-style: solid;
  border-color: #059669 transparent transparent transparent;
}
.tm-share-btn-copy.is-copied {
  background: #059669 !important;
  border-color: #059669 !important;
  color: #ffffff !important;
}
.tm-share-btn-copy.is-copied .tm-share-copied-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.tm-share-btn-native {
  display: none;
  background: linear-gradient(135deg, var(--tm-blue) 0%, var(--tm-deep) 100%);
  border-color: transparent;
  color: #ffffff;
}

/* Card / Dashboard / Sidebar Layout */
.tm-share-card-inner {
  width: 100%;
}

.tm-share-copy-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--tm-sand);
  border: 1.5px solid var(--tm-line);
  border-radius: 12px;
  padding: 5px 6px 5px 14px;
  transition: border-color 0.2s ease;
}

.tm-share-copy-box:focus-within {
  border-color: var(--tm-blue);
  background: var(--tm-white);
  box-shadow: 0 0 0 3px rgba(0, 100, 193, 0.12);
}

.tm-share-url-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  font-size: 13px;
  color: var(--tm-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.tm-share-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tm-blue);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 100, 193, 0.2);
}

.tm-share-copy-btn:hover {
  background: var(--tm-deep);
  transform: translateY(-1px);
}

.tm-share-copy-btn.is-copied {
  background: #059669 !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3) !important;
}

.tm-share-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.tm-share-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  background: var(--tm-white);
  border: 1px solid var(--tm-line);
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.tm-share-tile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.tm-share-tile-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--tm-deep);
  text-align: center;
  line-height: 1.2;
}

.tm-share-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.tm-share-tile:hover .tm-share-tile-icon {
  transform: scale(1.1);
}

.tm-share-tile-whatsapp .tm-share-tile-icon {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
}
.tm-share-tile-whatsapp:hover {
  border-color: #25d366;
}

.tm-share-tile-facebook .tm-share-tile-icon {
  background: rgba(24, 119, 242, 0.12);
  color: #1877f2;
}
.tm-share-tile-facebook:hover {
  border-color: #1877f2;
}

.tm-share-tile-twitter .tm-share-tile-icon {
  background: rgba(15, 20, 25, 0.08);
  color: #0f1419;
}
.tm-share-tile-twitter:hover {
  border-color: #0f1419;
}

.tm-share-tile-telegram .tm-share-tile-icon {
  background: rgba(34, 158, 217, 0.12);
  color: #229ed9;
}
.tm-share-tile-telegram:hover {
  border-color: #229ed9;
}

.tm-share-tile-linkedin .tm-share-tile-icon {
  background: rgba(10, 102, 194, 0.12);
  color: #0a66c2;
}
.tm-share-tile-linkedin:hover {
  border-color: #0a66c2;
}

.tm-share-tile-pinterest .tm-share-tile-icon {
  background: rgba(189, 8, 28, 0.12);
  color: #bd081c;
}
.tm-share-tile-pinterest:hover {
  border-color: #bd081c;
}

.tm-share-tile-email .tm-share-tile-icon {
  background: rgba(100, 116, 139, 0.12);
  color: #64748b;
}
.tm-share-tile-email:hover {
  border-color: #64748b;
}

.tm-share-tile-native .tm-share-tile-icon {
  background: rgba(0, 100, 193, 0.12);
  color: var(--tm-blue);
}
.tm-share-tile-native:hover {
  border-color: var(--tm-blue);
}

@media (max-width: 768px) {
  .tm-dash-share-full-card {
    padding: 24px 20px;
  }
  .tm-dash-share-hero h3 {
    font-size: 22px;
  }
  .tm-share-btn-native {
    display: inline-flex !important;
  }
  .tm-share-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 480px) {
  .tm-dash-share-overview-card {
    padding: 18px 16px;
  }
  .tm-dash-share-full-card {
    padding: 20px 14px;
    border-radius: 18px;
  }
  .tm-share-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .tm-share-tile {
    padding: 10px 4px;
  }
  .tm-share-copy-box {
    flex-direction: column;
    padding: 8px;
  }
  .tm-share-url-input {
    width: 100%;
    text-align: center;
    padding: 4px 0;
  }
  .tm-share-copy-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Customer Dashboard: Coupons & Vouchers System
   ========================================================================== */

/* Nav Tab Pill Badge */
.tm-tab-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 800;
  background: var(--tm-line);
  color: var(--tm-deep);
  margin-left: 6px;
  line-height: 1;
  transition: all 0.2s ease;
}

.tm-tab-pill-badge.is-exclusive {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}

.tm-dash-tab.is-active .tm-tab-pill-badge {
  background: #FFFFFF;
  color: var(--tm-blue);
}

/* Coupons Hero Section */
.tm-dash-coupons-hero {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 32px;
}

.tm-dash-coupons-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 100, 193, 0.1);
  color: var(--tm-blue);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.tm-dash-coupons-badge .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
  line-height: 14px;
}

.tm-dash-coupons-hero h3 {
  margin: 0 0 10px;
  font-family: var(--tm-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--tm-deep);
  line-height: 1.25;
}

.tm-dash-coupons-hero p {
  margin: 0;
  font-size: 14px;
  color: var(--tm-muted);
  line-height: 1.6;
}

/* Vouchers Grid */
.tm-vouchers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 22px;
}

/* Voucher Card */
.tm-voucher-card {
  display: flex;
  background: #FFFFFF;
  border: 1.5px solid var(--tm-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 52, 99, 0.05);
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.tm-voucher-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 52, 99, 0.1);
  border-color: #93C5FD;
}

.tm-voucher-card.is-exclusive {
  border-color: #FCD34D;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFDF5 100%);
  box-shadow: 0 8px 26px rgba(217, 119, 6, 0.1);
}

.tm-voucher-card.is-exclusive:hover {
  box-shadow: 0 16px 36px rgba(217, 119, 6, 0.18);
  border-color: #F59E0B;
}

/* Voucher Left Body */
.tm-voucher-main {
  flex: 1;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.tm-voucher-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tm-voucher-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tm-voucher-badge .dashicons {
  font-size: 13px;
  width: 13px;
  height: 13px;
  line-height: 13px;
}

.tm-voucher-badge.tm-badge-exclusive {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}

.tm-voucher-badge.tm-badge-exclusive .dashicons {
  color: #D97706;
}

.tm-voucher-badge.tm-badge-public {
  background: #E0F2FE;
  color: #0284C7;
  border: 1px solid #BAE6FD;
}

.tm-voucher-badge.tm-badge-public .dashicons {
  color: #0284C7;
}

.tm-voucher-expiry {
  font-size: 11.5px;
  color: var(--tm-muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tm-voucher-expiry .dashicons {
  font-size: 13px;
  width: 13px;
  height: 13px;
  line-height: 13px;
}

.tm-voucher-expiry.is-lifetime {
  color: #059669;
}

.tm-voucher-expiry.is-lifetime .dashicons {
  color: #059669;
}

.tm-voucher-amount-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.tm-voucher-amount {
  font-family: var(--tm-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--tm-deep);
  line-height: 1;
}

.is-exclusive .tm-voucher-amount {
  color: #B45309;
}

.tm-voucher-off {
  font-size: 15px;
  font-weight: 800;
  color: var(--tm-muted);
  letter-spacing: 0.04em;
}

.tm-voucher-desc {
  margin: 6px 0 12px;
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.45;
}

.tm-voucher-conditions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px dashed #E2E8F0;
}

.tm-voucher-cond-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
}

.tm-voucher-cond-item .dashicons {
  font-size: 13px;
  width: 13px;
  height: 13px;
  line-height: 13px;
  color: var(--tm-blue);
}

/* Perforation Divider */
.tm-voucher-perforation {
  position: relative;
  width: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
  flex-shrink: 0;
}

.tm-notch {
  width: 20px;
  height: 20px;
  background: var(--tm-sand);
  border-radius: 50%;
  z-index: 2;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.tm-notch-top {
  margin-top: -10px;
}

.tm-notch-bottom {
  margin-bottom: -10px;
}

.tm-perf-line {
  flex: 1;
  width: 1px;
  border-left: 2px dashed #CBD5E1;
  margin: 6px 0;
}

/* Ticket Stub */
.tm-voucher-stub {
  width: 145px;
  padding: 20px 14px;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  box-sizing: border-box;
  flex-shrink: 0;
}

.is-exclusive .tm-voucher-stub {
  background: #FFFBEB;
}

.tm-voucher-code-wrap {
  width: 100%;
}

.tm-voucher-code-lbl {
  display: block;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.tm-voucher-code-str {
  display: block;
  font-family: monospace;
  font-size: 13.5px;
  font-weight: 800;
  color: #0A2540;
  letter-spacing: 0.05em;
  background: #FFFFFF;
  border: 1.5px dashed #CBD5E1;
  padding: 6px 4px;
  border-radius: 8px;
  word-break: break-all;
  user-select: all;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.is-exclusive .tm-voucher-code-str {
  border-color: #FCD34D;
  background: #FFFFFF;
}

/* Collect Button */
.tm-voucher-collect-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 8px 10px;
  background: var(--tm-blue);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 800;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 100, 193, 0.2);
}

.tm-voucher-collect-btn .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
  line-height: 14px;
}

.tm-voucher-collect-btn:hover {
  background: #004B8D;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 100, 193, 0.28);
}

.tm-voucher-collect-btn.is-collected {
  background: #10B981 !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

/* Book Tour & Apply Link */
.tm-voucher-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--tm-blue);
  text-decoration: none;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.tm-voucher-book-btn .dashicons {
  font-size: 12px;
  width: 12px;
  height: 12px;
  line-height: 12px;
  transition: transform 0.2s ease;
}

.tm-voucher-book-btn:hover {
  color: var(--tm-deep);
  text-decoration: underline;
}

.tm-voucher-book-btn:hover .dashicons {
  transform: translateX(2px);
}

/* Empty State for Coupons */
.tm-empty-coupons {
  text-align: center;
  padding: 44px 24px;
}

.tm-empty-coupons h4 {
  font-family: var(--tm-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--tm-deep);
  margin: 12px 0 8px;
}

.tm-empty-coupons p {
  color: var(--tm-muted);
  font-size: 13.5px;
  max-width: 480px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

/* Responsive Coupons */
@media (max-width: 680px) {
  .tm-vouchers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .tm-voucher-card {
    flex-direction: column;
  }
  .tm-voucher-perforation {
    width: 100%;
    height: 18px;
    flex-direction: row;
  }
  .tm-notch-top {
    margin-top: 0;
    margin-left: -9px;
  }
  .tm-notch-bottom {
    margin-bottom: 0;
    margin-right: -9px;
  }
  .tm-perf-line {
    width: auto;
    height: 1px;
    border-left: none;
    border-top: 2px dashed #CBD5E1;
    margin: 0 4px;
  }
  .tm-voucher-stub {
    width: 100%;
    padding: 16px 20px;
  }
}

