.tdv-elementor-shell {
  width: 100%;
  height: var(--tdv-height, 980px);
  min-height: 650px;
  overflow: hidden;
  position: relative;
  background: #f7f2e8;
  border: 0;
}

.tdv-elementor-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f7f2e8;
}

.tdv-elementor-shell.tdv-has-toolbar .tdv-elementor-frame {
  height: calc(100% - 52px);
}

.tdv-member-toolbar {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(14px, 3vw, 30px);
  color: #e9e1d2;
  background:
    radial-gradient(circle at 10% 50%, rgba(199, 154, 69, 0.13), transparent 34%),
    #07152a;
  border-bottom: 1px solid rgba(199, 154, 69, 0.28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tdv-member-toolbar-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tdv-member-toolbar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d6ad58;
  box-shadow: 0 0 0 4px rgba(214, 173, 88, 0.11);
}

.tdv-member-logout {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 15px;
  border: 1px solid rgba(214, 173, 88, 0.48);
  border-radius: 999px;
  color: #f0d18d;
  background: rgba(199, 154, 69, 0.07);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tdv-member-logout:hover,
.tdv-member-logout:focus-visible {
  color: #07152a;
  background: #d8b05d;
  transform: translateY(-1px);
}

.tdv-password-field {
  position: relative;
  display: block;
  width: 100%;
}

.tdv-password-field input[type="password"],
.tdv-password-field input[type="text"] {
  padding-right: 58px !important;
}

.tdv-password-toggle {
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  right: 8px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #8f6b2b;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 0.2s ease, background 0.2s ease;
}

.tdv-password-toggle:hover,
.tdv-password-toggle:focus-visible {
  color: #d8b05d;
  background: rgba(199, 154, 69, 0.09);
  outline: none;
}

.tdv-password-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tdv-password-toggle .tdv-eye-closed,
.tdv-password-toggle[aria-pressed="true"] .tdv-eye-open {
  display: none;
}

.tdv-password-toggle[aria-pressed="true"] .tdv-eye-closed {
  display: block;
}

.tdv-password-setup {
  width: 100%;
}

.tdv-flow-heading,
.tdv-flow-panel {
  text-align: center;
}

.tdv-flow-heading {
  margin-bottom: 22px;
}

.tdv-flow-heading h2,
.tdv-flow-panel h2 {
  margin: 6px 0 10px;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 4vw, 36px);
  font-weight: 500;
  line-height: 1.12;
}

.tdv-flow-heading > p:not(.tdv-flow-kicker):not(.tdv-account-reference),
.tdv-flow-panel > p:not(.tdv-flow-kicker) {
  margin: 0 auto 18px;
  color: #98a2b3;
  line-height: 1.6;
}

.tdv-flow-kicker {
  margin: 0 !important;
  color: #d8b05d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tdv-flow-icon {
  box-sizing: border-box;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 1px solid rgba(216, 176, 93, 0.5);
  border-radius: 50%;
  color: #f4d99b;
  background: rgba(216, 176, 93, 0.1);
  font-size: 25px;
  font-weight: 800;
}

.tdv-account-reference {
  display: grid;
  gap: 4px;
  margin: 18px 0 0 !important;
  padding: 13px 16px;
  border: 1px solid rgba(216, 176, 93, 0.25);
  border-radius: 12px;
  background: rgba(216, 176, 93, 0.07);
  text-align: left;
}

.tdv-account-reference span {
  color: #98a2b3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tdv-account-reference strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.tdv-flow-panel .tdv-login-feedback {
  margin: 18px 0;
}

.tdv-flow-panel .tdv-member-primary {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.tdv-password-setup form {
  margin-top: 20px;
  text-align: left;
}

.tdv-password-setup form > p {
  margin: 0 0 17px;
}

.tdv-password-setup label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
}

.tdv-password-setup input[type="password"],
.tdv-password-setup input[type="text"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
}

.tdv-password-hint {
  color: #98a2b3;
  font-size: 13px;
  line-height: 1.55;
}

.tdv-password-setup .tdv-member-primary {
  width: 100%;
}

.tdv-password-setup .tdv-member-recover {
  display: block;
  margin-top: 16px;
  text-align: center;
}

/* A proteção contra tentativas permanece ativa; apenas assinaturas visuais de terceiros são ocultadas. */
#tdv_member_login_form .wps-limit-login-protected,
#tdv_member_login_form .wps-limit-login-branding,
#tdv_member_login_form .wps-limit-login-logo,
#tdv_member_login_form [class*="wps-limit-login"][class*="protect"] {
  display: none !important;
}

.tdv-elementor-shell.tdv-is-fullscreen {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  left: 50%;
  margin-left: -50vw;
}

.tdv-access-shell {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  overflow: auto;
  padding: clamp(24px, 5vw, 72px) 18px;
  color: #1f2530;
  background:
    radial-gradient(circle at 18% 10%, rgba(188, 143, 54, 0.16), transparent 34%),
    radial-gradient(circle at 86% 90%, rgba(14, 42, 82, 0.12), transparent 34%),
    #f6f0e5;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tdv-access-card {
  box-sizing: border-box;
  width: min(100%, 520px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(159, 111, 29, 0.25);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 28px 80px rgba(26, 34, 47, 0.14);
  text-align: center;
}

.tdv-access-logo {
  display: block;
  width: min(100%, 290px);
  height: auto;
  margin: 0 auto 28px;
}

.tdv-access-kicker {
  margin: 0 0 8px !important;
  color: #9b6b20;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tdv-access-card h2 {
  margin: 0 0 12px;
  color: #14233b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 500;
  line-height: 1.05;
}

.tdv-access-card > p:not(.tdv-access-kicker):not(.tdv-access-help) {
  margin: 0 auto 24px;
  color: #5b6370;
  line-height: 1.65;
}

.tdv-access-card form {
  margin: 26px 0 12px;
  text-align: left;
}

.tdv-access-card form p {
  margin: 0 0 16px;
}

.tdv-access-card label {
  display: block;
  margin-bottom: 6px;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
}

.tdv-access-card input[type="text"],
.tdv-access-card input[type="password"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #d7c8ad;
  border-radius: 12px;
  outline: none;
  background: #fff;
  color: #1f2937;
  font: inherit;
}

.tdv-access-card input[type="text"]:focus,
.tdv-access-card input[type="password"]:focus {
  border-color: #af7923;
  box-shadow: 0 0 0 3px rgba(175, 121, 35, 0.14);
}

.tdv-access-card .login-remember label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.tdv-access-card .login-submit input,
.tdv-access-buy {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #c39137, #8e5e16);
  box-shadow: 0 12px 28px rgba(145, 95, 22, 0.24);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.tdv-access-card .login-submit input:hover,
.tdv-access-buy:hover {
  background: linear-gradient(135deg, #d1a14b, #9c691d);
  color: #fff;
  transform: translateY(-1px);
}

.tdv-access-text-link {
  display: inline-block;
  margin: 4px 0 20px;
  color: #78511b;
  font-size: 14px;
  font-weight: 700;
}

.tdv-access-buy {
  margin-top: 4px;
  background: #14233b;
  box-shadow: none;
}

.tdv-access-buy:hover {
  background: #203554;
}

.tdv-access-help {
  margin: 20px 0 0 !important;
  color: #7d828a;
  font-size: 12px;
  line-height: 1.5;
}

body.admin-bar .tdv-elementor-shell.tdv-is-fullscreen {
  height: calc(100vh - 32px);
  height: calc(100dvh - 32px);
  min-height: calc(100vh - 32px);
  min-height: calc(100dvh - 32px);
}

@media (max-width: 767px) {
  .tdv-elementor-shell {
    height: var(--tdv-height-mobile, 800px);
    min-height: 600px;
  }

  .tdv-elementor-shell.tdv-is-fullscreen {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
  }

  body.admin-bar .tdv-elementor-shell.tdv-is-fullscreen {
    height: calc(100vh - 46px);
    height: calc(100dvh - 46px);
    min-height: calc(100vh - 46px);
    min-height: calc(100dvh - 46px);
  }

  .tdv-member-toolbar {
    height: 48px;
  }

  .tdv-elementor-shell.tdv-has-toolbar .tdv-elementor-frame {
    height: calc(100% - 48px);
  }

  .tdv-member-toolbar-label {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .tdv-member-logout {
    min-height: 32px;
    padding: 6px 13px;
  }
}
