/* ============================================================
   TechVizo User Module — Popup Styles v1.0.1
   https://techvizo.com
   ============================================================ */

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --tvum-accent:         #4361ee;
  --tvum-btn-text:       #ffffff;
  --tvum-btn-hover-bg:   #3451d1;
  --tvum-btn-hover-text: #ffffff;
  --tvum-popup-bg:       #ffffff;
  --tvum-overlay-bg:     rgba(10,15,60,0.75);
  --tvum-radius:         20px;
  --tvum-width:          480px;
  --tvum-input-border:   #e8eaf0;
  --tvum-input-focus:    #4361ee;
  --tvum-heading-color:  #0f172a;
  --tvum-text-color:     #64748b;
  --tvum-link-color:     #4361ee;
  --tvum-link-hover-color: #3451d1;
  --tvum-error-color:    #ef4444;
  --tvum-success-color:  #22c55e;
  --tvum-warn-color:     #f59e0b;
}

/* ── Utility ──────────────────────────────────────────────── */
.tvum-hidden { display: none !important; }

/* ── Body scroll lock ─────────────────────────────────────── */
body.tvum-no-scroll { overflow: hidden !important; }

/* ── Overlay ──────────────────────────────────────────────── */
.tvum-overlay {
  position:        fixed;
  top:             0;
  left:            0;
  right:           0;
  bottom:          0;
  z-index:         999999;
  display:         flex;
  align-items:     center;
  justify-content: center;
  padding:         16px;
  background:      var(--tvum-overlay-bg);
  opacity:         0;
  visibility:      hidden;
  pointer-events:  none;
  transition:      opacity .3s ease, visibility .3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-sizing:      border-box;
}
.tvum-overlay.tvum-active {
  opacity:        1;
  visibility:     visible;
  pointer-events: all;
}

/* ── Popup Card ───────────────────────────────────────────── */
.tvum-popup {
  font-family:   var(--tvum-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  position:      relative;
  background:    var(--tvum-popup-bg);
  border-radius: var(--tvum-radius);
  width:         100%;
  max-width:     var(--tvum-width);
  max-height:    90vh;
  overflow-y:    auto;
  padding:       40px 44px 36px;
  box-shadow:    0 24px 60px rgba(0,0,0,.18), 0 8px 24px rgba(0,0,0,.10);
  box-sizing:    border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--tvum-input-border) transparent;
}
.tvum-popup::-webkit-scrollbar { width: 5px; }
.tvum-popup::-webkit-scrollbar-thumb { background: var(--tvum-input-border); border-radius: 4px; }

/* ── Animations ───────────────────────────────────────────── */
.tvum-anim-fadeInScale .tvum-popup {
  transform:  scale(.88) translateY(20px);
  opacity:    0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
}
.tvum-anim-fadeInScale.tvum-active .tvum-popup {
  transform: scale(1) translateY(0);
  opacity:   1;
}
.tvum-anim-slideUp .tvum-popup {
  transform:  translateY(60px);
  opacity:    0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s ease;
}
.tvum-anim-slideUp.tvum-active .tvum-popup { transform: translateY(0); opacity: 1; }
.tvum-anim-slideDown .tvum-popup {
  transform:  translateY(-60px);
  opacity:    0;
  transition: transform .35s ease, opacity .3s ease;
}
.tvum-anim-slideDown.tvum-active .tvum-popup { transform: translateY(0); opacity: 1; }
.tvum-anim-none .tvum-popup { transition: none; }

/* ── Close Button ─────────────────────────────────────────── */
.tvum-close {
  position:        absolute;
  top:             16px;
  right:           16px;
  width:           36px;
  height:          36px;
  border:          none;
  background:      #f1f5f9;
  border-radius:   50%;
  display:         flex;
  align-items:     center;
  justify-content: center;
  cursor:          pointer;
  color:           var(--tvum-text-color);
  transition:      background .2s, color .2s, transform .2s;
  z-index:         10;
  flex-shrink:     0;
}
.tvum-close:hover { background: var(--tvum-accent); color: #fff; transform: rotate(90deg); }

/* ── Logo ─────────────────────────────────────────────────── */
.tvum-logo { text-align: center; margin-bottom: 20px; }
.tvum-logo img { height: auto; display: inline-block; }

/* ── Typography ───────────────────────────────────────────── */
.tvum-heading {
  font-size:      1.75rem;
  font-weight:    700;
  color:          var(--tvum-heading-color);
  margin:         0 0 6px;
  line-height:    1.2;
  letter-spacing: 0;
}
.tvum-subtext {
  font-size:   .9rem;
  color:       var(--tvum-text-color);
  margin:      0 0 24px;
  line-height: 1.5;
}
.tvum-footer-text {
  text-align: center;
  font-size:  .875rem;
  color:      var(--tvum-text-color);
  margin-top: 18px;
}
.tvum-link {
  color:           var(--tvum-link-color);
  font-weight:     600;
  text-decoration: none;
  transition:      opacity .2s;
}
.tvum-link:hover { color: var(--tvum-link-hover-color); opacity: .85; text-decoration: underline; }
.tvum-req   { color: var(--tvum-error-color); }
.tvum-hint  { font-size: .78rem; color: var(--tvum-text-color); font-weight: 400; margin-left: 4px; }

/* ── Message Alert ────────────────────────────────────────── */
.tvum-message {
  display:       none;
  padding:       11px 16px;
  border-radius: 10px;
  font-size:     .875rem;
  font-weight:   500;
  margin-bottom: 18px;
  border:        1px solid transparent;
  animation:     tvumSlideIn .25s ease;
}
.tvum-message.tvum-msg-error   { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.tvum-message.tvum-msg-success { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; }
.tvum-message.tvum-msg-info    { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
@keyframes tvumSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Social Buttons ───────────────────────────────────────── */
.tvum-social-row {
  display:       flex;
  gap:           12px;
  margin-bottom: 20px;
}
.tvum-social-btn {
  flex:            1;
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             8px;
  padding:         11px 14px;
  border:          1.5px solid var(--tvum-input-border);
  border-radius:   12px;
  background:      #fff;
  color:           var(--tvum-heading-color);
  font-size:       .875rem;
  font-weight:     600;
  cursor:          pointer;
  transition:      border-color .2s, box-shadow .2s, background .2s;
  white-space:     nowrap;
}
.tvum-social-btn:hover {
  border-color: var(--tvum-accent);
  box-shadow:   0 2px 12px rgba(67,97,238,.12);
  background:   #fafbff;
}
.tvum-social-btn-wrap {
  position: relative;
  flex:     1;
  min-width: 0;
}
.tvum-social-btn-wrap .tvum-social-btn {
  width: 100%;
  pointer-events: none;
}
.tvum-google-host {
  position: absolute;
  inset:    0;
  z-index:  2;
  display:  flex;
  align-items: stretch;
  justify-content: stretch;
  opacity:  0.011;
  overflow: hidden;
  border-radius: 12px;
}
.tvum-google-host > div {
  width: 100% !important;
  height: 100% !important;
}

/* ── Divider ──────────────────────────────────────────────── */
.tvum-divider {
  display:     flex;
  align-items: center;
  gap:         12px;
  margin:      0 0 22px;
  color:       var(--tvum-text-color);
  font-size:   .8rem;
}
.tvum-divider::before,
.tvum-divider::after {
  content:    '';
  flex:       1;
  height:     1px;
  background: var(--tvum-input-border);
}

/* ── Form Fields ──────────────────────────────────────────── */
.tvum-field { margin-bottom: 16px; }
.tvum-field label {
  display:       block;
  font-size:     .875rem;
  font-weight:   600;
  color:         var(--tvum-heading-color);
  margin-bottom: 7px;
}
.tvum-field input[type="text"],
.tvum-field input[type="email"],
.tvum-field input[type="password"] {
  width:         100%;
  padding:       12px 16px;
  border:        1.5px solid var(--tvum-input-border);
  border-radius: 12px;
  font-size:     .9rem;
  color:         var(--tvum-heading-color);
  background:    #f8fafc;
  outline:       none;
  transition:    border-color .2s, box-shadow .2s, background .2s;
  box-sizing:    border-box;
}
.tvum-field input:focus {
  border-color: var(--tvum-input-focus);
  background:   #fff;
  box-shadow:   0 0 0 3.5px rgba(67,97,238,.12);
}
.tvum-field input.tvum-input-error {
  border-color: var(--tvum-error-color);
  box-shadow:   0 0 0 3px rgba(239,68,68,.1);
}
.tvum-field input.tvum-input-ok { border-color: var(--tvum-success-color); }
.tvum-field-error {
  display: none;
  margin-top: 6px;
  color: var(--tvum-error-color);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Two-column row */
.tvum-field-row { display: flex; gap: 12px; }
.tvum-field-row .tvum-field { flex: 1; }

/* ── Password Toggle ──────────────────────────────────────── */
.tvum-pw-wrap { position: relative; }
.tvum-pw-wrap input { padding-right: 46px; }
.tvum-pw-toggle {
  position:    absolute;
  right:       14px;
  top:         50%;
  transform:   translateY(-50%);
  background:  none;
  border:      none;
  padding:     0;
  cursor:      pointer;
  color:       var(--tvum-text-color);
  display:     flex;
  align-items: center;
  transition:  color .2s;
  line-height: 1;
}
.tvum-pw-toggle:hover { color: var(--tvum-accent); }

/* ── Password Strength ────────────────────────────────────── */
.tvum-strength-bar {
  height:        4px;
  background:    var(--tvum-input-border);
  border-radius: 4px;
  margin-top:    8px;
  overflow:      hidden;
}
.tvum-strength-fill {
  height:        100%;
  width:         0%;
  border-radius: 4px;
  transition:    width .35s ease, background .35s ease;
}
.tvum-strength-label { font-size: .75rem; font-weight: 600; margin-top: 4px; display: block; }
.tvum-strength-weak   .tvum-strength-fill { width: 33%;  background: #ef4444; }
.tvum-strength-fair   .tvum-strength-fill { width: 66%;  background: #f59e0b; }
.tvum-strength-strong .tvum-strength-fill { width: 100%; background: #22c55e; }

/* ── Username Status ──────────────────────────────────────── */
.tvum-username-wrap { position: relative; }
.tvum-username-wrap input { padding-right: 80px; }
.tvum-username-status {
  position:   absolute;
  right:      12px;
  top:        50%;
  transform:  translateY(-50%);
  font-size:  .75rem;
  font-weight: 600;
}
.tvum-username-status.ok    { color: var(--tvum-success-color); }
.tvum-username-status.taken { color: var(--tvum-error-color); }

/* ── Password Match ───────────────────────────────────────── */
.tvum-match-indicator { display: block; font-size: .75rem; font-weight: 600; margin-top: 5px; }
.tvum-match-indicator.ok    { color: var(--tvum-success-color); }
.tvum-match-indicator.error { color: var(--tvum-error-color); }

/* ── Row Between ──────────────────────────────────────────── */
.tvum-row-between {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  margin-bottom:   20px;
}

/* ── Checkbox ─────────────────────────────────────────────── */
.tvum-checkbox-label {
  display:     flex;
  align-items: center;
  gap:         8px;
  font-size:   .875rem;
  color:       var(--tvum-text-color);
  cursor:      pointer;
  user-select: none;
}
.tvum-checkbox-label input[type="checkbox"] {
  width:        17px;
  height:       17px;
  accent-color: var(--tvum-accent);
  cursor:       pointer;
  flex-shrink:  0;
}
.tvum-terms { margin-bottom: 18px; }

/* ── Primary Button ───────────────────────────────────────── */
.tvum-btn-primary {
  display:         flex;
  align-items:     center;
  justify-content: center;
  gap:             8px;
  width:           100%;
  padding:         14px;
  background:      var(--tvum-accent);
  color:           var(--tvum-btn-text);
  border:          none;
  border-radius:   12px;
  font-size:       1rem;
  font-weight:     700;
  cursor:          pointer;
  transition:      background .2s, transform .15s, box-shadow .2s;
  box-shadow:      0 4px 16px rgba(67,97,238,.3);
  margin-top:      4px;
  letter-spacing:  .01em;
  box-sizing:      border-box;
}
.tvum-btn-primary:hover {
  background:  var(--tvum-btn-hover-bg);
  color:       var(--tvum-btn-hover-text);
  box-shadow:  0 6px 22px rgba(67,97,238,.38);
  transform:   translateY(-1px);
}
.tvum-btn-primary:active  { transform: translateY(0); }
.tvum-btn-primary:disabled { opacity: .65; cursor: not-allowed; transform: none; }

/* ── Spinner ──────────────────────────────────────────────── */
.tvum-spinner {
  width:         18px;
  height:        18px;
  border:        2.5px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation:     tvumSpin .7s linear infinite;
  flex-shrink:   0;
}
@keyframes tvumSpin { to { transform: rotate(360deg); } }

/* ── Back Button ──────────────────────────────────────────── */
.tvum-back-btn {
  display:      inline-flex;
  align-items:  center;
  gap:          5px;
  background:   none;
  border:       none;
  color:        var(--tvum-text-color);
  font-size:    .85rem;
  font-weight:  600;
  cursor:       pointer;
  padding:      0;
  margin-bottom: 16px;
  transition:   color .2s;
}
.tvum-back-btn:hover { color: var(--tvum-accent); }

/* ── reCAPTCHA ────────────────────────────────────────────── */
.g-recaptcha { margin-bottom: 14px; }

/* ── Auth Shortcodes / Menu Widget ────────────────────────── */
.tvum-auth-block {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}
.tvum-auth-subtitle {
  width: 100%;
  color: var(--tvum-text-color);
  font-size: .86rem;
  line-height: 1.45;
  margin-bottom: 2px;
}
.tvum-auth-buttons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tvum-auth-btn,
.tvum-auth-dashboard-btn,
.tvum-auth-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--tvum-accent);
  color: var(--tvum-btn-text);
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.tvum-auth-btn {
  background: linear-gradient(135deg, var(--tvum-accent), #111827);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 10px 24px rgba(15,23,42,.18);
}
.tvum-auth-btn:hover {
  color: var(--tvum-btn-text);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(67,97,238,.22);
}
.tvum-auth-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15,23,42,.08);
  color: var(--tvum-heading-color);
}
.tvum-auth-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.tvum-auth-user-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
}
.tvum-auth-welcome {
  color: var(--tvum-text-color);
  font-size: .78rem;
  font-weight: 600;
}
.tvum-auth-name {
  color: var(--tvum-heading-color);
  font-size: .95rem;
  font-weight: 800;
}
.tvum-auth-dashboard-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.tvum-auth-dashboard-btn {
  appearance: none;
  min-height: 60px;
  padding: 6px 12px 6px 7px;
  border-radius: 999px;
  gap: 14px;
  overflow: visible;
  background: #fff;
  color: #111827;
  outline:none!important;
  border-color: rgba(17,24,39,.08);
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
}
.tvum-auth-dashboard-btn:hover {
  color: #111827;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15,23,42,.12);
}
.tvum-auth-dashboard-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.72);
  box-shadow: 0 6px 18px rgba(15,23,42,.24);
  flex: 0 0 auto;
}
.tvum-auth-dashboard-label {
  display: block;
  white-space: nowrap;
  color: #111827;
  font-size: 1.05rem;
  font-weight: 800;
}
.tvum-auth-dashboard-copy {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.15;
}
.tvum-auth-dashboard-role {
  display: block;
  color: #7c7f86;
  font-size: .82rem;
  font-weight: 600;
  margin-top: 3px;
}
.tvum-auth-dashboard-chevron {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: #111827;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform .18s ease, background .18s ease;
}
.tvum-auth-dashboard-chevron svg {
  width: 1em;
  height: 1em;
  display: block;
  color: currentColor;
  fill: currentColor;
}
.tvum-auth-dashboard-chevron svg path {
  stroke: currentColor;
}
.tvum-auth-dashboard-menu.tvum-account-open .tvum-auth-dashboard-chevron {
  transform: rotateX(180deg);
  background: #f3f4f6;
}
.tvum-auth-dropdown {
  /* Hidden by default — floats as popup when .tvum-account-open is added */
  display: block !important;  /* override any theme display:none */
  position: absolute !important;
  top: calc(100% + 10px);
  right: 0;
  z-index: 99999 !important;  /* above theme headers/navbars */
  min-width: 320px;
  padding: 8px 0 0;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 16px;
  background: #fff !important;
  box-shadow: 0 20px 60px rgba(15,23,42,.18);
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(8px) scale(.98);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.tvum-auth-dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 34px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-left: 1px solid rgba(17,24,39,.12);
  border-top: 1px solid rgba(17,24,39,.12);
  transform: rotate(45deg);
}
.tvum-auth-dashboard-menu.tvum-account-open .tvum-auth-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1);
}
.tvum-auth-dropdown-head {
  padding: 12px 20px 14px;
  border-bottom: 1px solid rgba(17,24,39,.08);
  margin-bottom: 6px;
}
.tvum-auth-dropdown-head strong {
  display: block;
  color: #111827;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
}
.tvum-auth-dropdown-head span {
  display: block;
  margin-top: 3px;
  color: #8a8d94;
  font-size: .82rem;
  line-height: 1.35;
  word-break: break-word;
}
.tvum-auth-shortcuts {
  display: none; /* deprecated — shortcuts now inline per menu row */
}
/* Inline shortcut badges — right-aligned inside each menu row */
.tvum-auth-menu-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;   /* push to right edge */
  flex-shrink: 0;
}
.tvum-auth-menu-shortcut span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  background: #f9fafb;
  color: #9ca3af;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(15,23,42,.06);
  white-space: nowrap;
}
.tvum-auth-nav,
.tvum-auth-nav-menu {
  width: 100%;
}
.tvum-auth-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0 10px 10px;
}
.tvum-auth-nav-menu li {
  margin: 0;
}
.tvum-auth-nav-menu a {
  display: flex;          /* row so shortcuts stay right-aligned */
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 8px 14px;
  border-radius: 10px;
  color: #2a2d34;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;    /* prevent text wrapping that pushed shortcuts off */
  overflow: hidden;
  transition: background .15s ease, color .15s ease;
}
.tvum-auth-nav-menu a:hover {
  background: #f3f4f6;
  color: #111827;
}
.tvum-auth-menu-item-icon {
  width: 20px;
  height: 20px;
  font-size: 20px;
  color: #374151;
  flex: 0 0 auto;
}
.tvum-auth-menu-item-icon::before {
  font-size: inherit;
  width: inherit;
  height: inherit;
}
.tvum-auth-menu-item-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tvum-auth-menu-item:first-child a {
  background: #f3f4f6;
}
.tvum-auth-logout {
  width: 100%;
  justify-content: flex-start;
  min-height: 50px;
  margin-top: 0;
  padding: 0 24px;
  background: #fff;
  border: 0;
  border-top: 1px solid rgba(17,24,39,.10);
  color: #2a2d34;
  box-shadow: none;
  border-radius: 0 0 18px 18px;
  font-size: .92rem;
  font-weight: 600;
  gap: 10px;
}
.tvum-auth-logout:hover {
  background: #fff5f5;
  color: #dc2626;
}
.tvum-auth-dropdown-footer {
  margin-top: 0;
}
.tvum-user-menu { display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; }
.tvum-user-menu img { border-radius: 50%; }
.tvum-logout-link { color: var(--tvum-link-color); font-weight: 600; text-decoration: none; }

/* ── Email verification panel ─────────────────────────────── */
.tvum-ev-panel {
  text-align: center;
  padding-top: 8px;
}
.tvum-ev-lead {
  font-size: 1.05rem;
  color: var(--tvum-heading-color);
  margin: 0 0 20px;
  line-height: 1.5;
}
.tvum-ev-countdown {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #a67c52;
  margin: 0 0 22px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tvum-ev-body {
  font-size: .92rem;
  color: var(--tvum-heading-color);
  line-height: 1.65;
  margin: 0 0 18px;
  text-align: center;
}
.tvum-ev-resend {
  font-size: .88rem;
  color: var(--tvum-text-color);
  margin: 0 0 22px;
}
.tvum-ev-link {
  color: #a67c52 !important;
  font-weight: 600;
  text-decoration: none;
}
.tvum-ev-link:hover {
  text-decoration: underline;
}
.tvum-ev-verified-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--tvum-heading-color);
  margin: 0 0 16px;
  text-align: center;
}
.tvum-ev-footer-hr {
  border: none;
  border-top: 1px solid var(--tvum-input-border);
  margin: 24px 0 16px;
}
.tvum-ev-footer {
  font-size: .85rem;
  color: var(--tvum-text-color);
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 520px) {
  .tvum-popup     { padding: 28px 20px 24px; }
  .tvum-heading   { font-size: 1.4rem; }
  .tvum-social-row { flex-direction: column; }
  .tvum-field-row  { flex-direction: column; gap: 0; }
}

/* ── Thank You Content ────────────────────────────────────── */
.tvum-thankyou-content {
  margin: 0 0 16px;
  font-size: .9rem;
  color: var(--tvum-text-color);
  text-align: left;
  line-height: 1.65;
}
.tvum-thankyou-content a { color: var(--tvum-link-color); }

/* ══════════════════════════════════════════════════════════
   LAYOUT STYLES
   ══════════════════════════════════════════════════════════ */

/* ── Full Screen ──────────────────────────────────────────── */
.tvum-layout-fullscreen .tvum-popup {
  width: 100vw !important;
  max-width: 100vw !important;
  min-height: 100vh;
  height: 100vh;
  border-radius: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}
/* Full screen uses the base fadeInScale transform — no override needed */

/* ══════════════════════════════════════════════════════════
   SLIDE / BAR LAYOUTS
   Key principle: set the OFF-SCREEN transform as the default,
   then the ON-SCREEN transform on .tvum-active — same pattern
   as the existing fadeInScale / slideUp / slideDown base anims.
   ══════════════════════════════════════════════════════════ */

/* ── Left Slide Panel ────────────────────────────────────── */
.tvum-layout-slide-left {
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
}
.tvum-layout-slide-left .tvum-popup {
  height: 100vh;
  min-height: 100vh;
  max-width: 420px;
  width: 92vw;
  max-height: 100vh;
  border-radius: 0 var(--tvum-radius) var(--tvum-radius) 0 !important;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* OFF-SCREEN: start left, invisible */
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(.22,1,.36,1),
              opacity   0.28s ease;
}
.tvum-layout-slide-left.tvum-active .tvum-popup {
  transform: translateX(0);
  opacity: 1;
}

/* ── Right Slide Panel ───────────────────────────────────── */
.tvum-layout-slide-right {
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
}
.tvum-layout-slide-right .tvum-popup {
  height: 100vh;
  min-height: 100vh;
  max-width: 420px;
  width: 92vw;
  max-height: 100vh;
  border-radius: var(--tvum-radius) 0 0 var(--tvum-radius) !important;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* OFF-SCREEN: start right, invisible */
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(.22,1,.36,1),
              opacity   0.28s ease;
}
.tvum-layout-slide-right.tvum-active .tvum-popup {
  transform: translateX(0);
  opacity: 1;
}

/* ── Bottom Bar ──────────────────────────────────────────── */
.tvum-layout-bottom-bar {
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.tvum-layout-bottom-bar .tvum-popup {
  width: 100vw !important;
  max-width: 100vw !important;
  border-radius: var(--tvum-radius) var(--tvum-radius) 0 0 !important;
  padding: 28px 32px 32px;
  max-height: 85vh;
  overflow-y: auto;
  /* OFF-SCREEN: start below viewport */
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(.22,1,.36,1),
              opacity   0.28s ease;
}
.tvum-layout-bottom-bar.tvum-active .tvum-popup {
  transform: translateY(0);
  opacity: 1;
}

/* ── Top Bar ─────────────────────────────────────────────── */
.tvum-layout-top-bar {
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}
.tvum-layout-top-bar .tvum-popup {
  width: 100vw !important;
  max-width: 100vw !important;
  border-radius: 0 0 var(--tvum-radius) var(--tvum-radius) !important;
  padding: 32px 32px 28px;
  max-height: 85vh;
  overflow-y: auto;
  /* OFF-SCREEN: start above viewport */
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.42s cubic-bezier(.22,1,.36,1),
              opacity   0.28s ease;
}
.tvum-layout-top-bar.tvum-active .tvum-popup {
  transform: translateY(0);
  opacity: 1;
}

/* ── Corner Layouts ──────────────────────────────────────── */
.tvum-layout-corner-br,
.tvum-layout-corner-bl,
.tvum-layout-corner-tr,
.tvum-layout-corner-tl {
  background: transparent !important;
  pointer-events: none;
}
.tvum-layout-corner-br.tvum-active,
.tvum-layout-corner-bl.tvum-active,
.tvum-layout-corner-tr.tvum-active,
.tvum-layout-corner-tl.tvum-active {
  background: rgba(15,23,42,0.25) !important;
  pointer-events: auto;
}
.tvum-layout-corner-br .tvum-popup,
.tvum-layout-corner-bl .tvum-popup,
.tvum-layout-corner-tr .tvum-popup,
.tvum-layout-corner-tl .tvum-popup {
  pointer-events: auto;
  max-width: 380px;
  width: 92vw;
  max-height: 90vh;
  overflow-y: auto;
  position: absolute;
  /* OFF-SCREEN: start scaled down + invisible */
  transform: scale(0.88) translateY(12px);
  opacity: 0;
  transition: transform 0.36s cubic-bezier(.34,1.56,.64,1),
              opacity   0.25s ease;
}
/* Active: pop in */
.tvum-layout-corner-br.tvum-active .tvum-popup,
.tvum-layout-corner-bl.tvum-active .tvum-popup,
.tvum-layout-corner-tr.tvum-active .tvum-popup,
.tvum-layout-corner-tl.tvum-active .tvum-popup {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Positioning */
.tvum-layout-corner-br { justify-content: flex-end; align-items: flex-end; }
.tvum-layout-corner-br .tvum-popup { bottom: 24px; right: 24px; border-radius: var(--tvum-radius) !important; }

.tvum-layout-corner-bl { justify-content: flex-start; align-items: flex-end; }
.tvum-layout-corner-bl .tvum-popup { bottom: 24px; left: 24px; border-radius: var(--tvum-radius) !important; }

.tvum-layout-corner-tr { justify-content: flex-end; align-items: flex-start; }
.tvum-layout-corner-tr .tvum-popup { top: 24px; right: 24px; border-radius: var(--tvum-radius) !important; }

.tvum-layout-corner-tl { justify-content: flex-start; align-items: flex-start; }
.tvum-layout-corner-tl .tvum-popup { top: 24px; left: 24px; border-radius: var(--tvum-radius) !important; }


/* ── Override base animation rules for slide/bar/corner layouts ──
   The base rules (.tvum-anim-*) set transform+transition on .tvum-popup.
   For layout-specific slides we already define the correct
   transform+transition above, so we null out the base anim transform
   to avoid conflicts (opacity transition still applies from base). */
.tvum-layout-slide-left .tvum-popup,
.tvum-layout-slide-right .tvum-popup,
.tvum-layout-bottom-bar .tvum-popup,
.tvum-layout-top-bar .tvum-popup {
  /* Ensure layout-specific transition always wins */
  transition: transform 0.42s cubic-bezier(.22,1,.36,1),
              opacity   0.28s ease !important;
}

.tvum-auth-nav-menu li, .tvum-auth-dropdown-head {
    margin-bottom: 0!important;
}
