/* ============================================
   WPTT COMMON CORRECTIONS - Apply to all templates
   ============================================ */

/* 1. Increase paragraph font sizes by 15% (Corrected to be exactly ~15%) */
p:not([class*="text-"]) {
  font-size: 1.15rem !important;
  line-height: 1.6 !important;
}

.text-xs {
  font-size: 0.86rem !important; /* 0.75rem + 15% */
}

.text-sm {
  font-size: 1rem !important; /* 0.875rem + 15% */
}

.text-base {
  font-size: 1.15rem !important; /* 1.0rem + 15% */
}

.text-lg {
  font-size: 1.3rem !important; /* 1.125rem + 15% */
}

.text-xl {
  font-size: 1.44rem !important; /* 1.25rem + 15% */
}

.text-2xl {
  font-size: 1.725rem !important; /* 1.5rem + 15% */
}

.text-3xl {
  font-size: 2.15rem !important; /* 1.875rem + 15% */
}

/* 2. Logo Alignment (Force Left) */
nav .container {
  display: flex !important;
  justify-content: flex-start !important;
  max-width: 100% !important;
  padding-left: 2rem !important;
}

nav > div {
  justify-content: space-between !important;
}

nav .flex {
  justify-content: space-between !important;
}

nav div > div:first-child {
  justify-content: flex-start !important;
  margin-left: 0 !important;
}

nav h1 {
  text-align: left !important;
  font-size: 1rem !important;
  line-height: normal !important;
  margin: 0 !important;
}

/* 3. Remove button animations */
button {
  position: relative !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

button * {
  animation: none !important;
  transform: none !important;
}

button span,
button div {
  animation: none !important;
  transform: none !important;
}

/* 4. Force container max-width */
.container {
  max-width: 1600px !important;
}

/* 5. Fix Score circular marker positioning (SALES TEMPLATE ONLY) */
.wptt-sales-template svg {
  overflow: visible !important;
}

.wptt-sales-template div[class*="absolute"][class*="top-"][class*="right-"] {
  top: 1.5rem !important;
  right: 2rem !important;
  width: 64px !important;
  height: 64px !important;
  display: grid !important;
  place-items: center !important;
  z-index: 50 !important;
}

.wptt-sales-template
  div[class*="absolute"][class*="top-"][class*="right-"]
  > svg {
  width: 64px !important;
  height: 64px !important;
  grid-area: 1 / 1 !important;
}

.wptt-sales-template
  div[class*="absolute"][class*="top-"][class*="right-"]
  > div {
  position: relative !important;
  grid-area: 1 / 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.wptt-sales-template
  div[class*="absolute"][class*="top-"][class*="right-"]
  .text-2xl {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  display: block !important;
  text-align: center !important;
  width: 100% !important;
}

.wptt-sales-template
  div[class*="absolute"][class*="top-"][class*="right-"]
  .text-xs {
  font-size: 0.6rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #00f5ff !important;
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  display: block !important;
  text-align: center !important;
  width: 100% !important;
}

.wptt-sales-template div[class*="relative"][class*="rounded-"] {
  overflow: visible !important;
}

.wptt-sales-template
  div[class*="absolute"][class*="top-"][class*="right-"]:has(svg) {
  top: 1.25rem !important;
  right: 1.5rem !important;
  width: 64px !important;
  height: 64px !important;
  display: grid !important;
  place-items: center !important;
  transform: translateZ(0) !important;
}

.wptt-sales-template
  div[class*="absolute"][class*="top-"][class*="right-"]:has(svg)
  svg {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 64px !important;
  height: 64px !important;
}

.wptt-sales-template
  div[class*="absolute"][class*="top-"][class*="right-"]:has(svg)
  > div {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -52%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.wptt-sales-template
  div[class*="absolute"][class*="top-"][class*="right-"]:has(svg)
  > div
  > * {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  width: 100% !important;
  display: block !important;
}

.wptt-sales-template
  div[class*="absolute"][class*="top-"][class*="right-"]:has(svg)
  > div
  > :first-child {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

.wptt-sales-template
  div[class*="absolute"][class*="top-"][class*="right-"]:has(svg)
  > div
  > :last-child {
  font-size: 0.58rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #00f5ff !important;
  margin-top: 1px !important;
}

.wptt-sales-template
  div[class*="absolute"][class*="top-"][class*="right-"]:has(svg)
  span,
.wptt-sales-template
  div[class*="absolute"][class*="top-"][class*="right-"]:has(svg)
  p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.wptt-sales-template
  div:has(> div[class*="absolute"][class*="top-"][class*="right-"]) {
  overflow: visible !important;
  position: relative !important;
}

.wptt-sales-template [class*="overflow-hidden"] {
  overflow: visible !important;
}
