@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Scope all styles strictly inside the shortcode wrapper to prevent theme conflicts */
.apex-pts-container {
 
  background-color: #ffffff; /* White background for the widget area as requested */
  color: #1f2937;

  width: 100%;
 
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.apex-pts-container * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Premium Navigation Tab Switcher */
.apex-pts-container .tabs-outer {
  background: #0d0d12; /* Dark background */
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  padding: 6px;
  border-radius: 9999px;
  display: flex;
  position: relative;
  margin-bottom: 2.5rem;
  width: 100%; /* Spans full width of parent container for alignment */
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
	max-width:50%;
}

.apex-pts-container .tab-btn {
  font-family: 'Outfit', sans-serif;
  flex: 1;
  background: transparent;
  border: none;
  color: #9ca3af; /* Muted gray */
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s ease;
  border-radius: 9999px;
  outline: none;
  text-align: center;
}

.apex-pts-container .tab-btn.active {
	    background:  linear-gradient(90deg, #473368 0%, rgba(222, 251, 2, 0) 100%);
  color: #ffffff;
}

.apex-pts-container .tab-btn:hover:not(.active) {
  color: #ffffff;
  opacity: 0.85;
}

/* Sliding active tab indicator pill */
.apex-pts-container .tab-slider {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 6px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #473368 0%, #6d28d9 100%); /* Purple/Indigo gradient */
  box-shadow: 
    0 4px 12px rgba(139, 92, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), width 0.4s ease;
  z-index: 1;
}

/* Pricing Grid Layout */
.apex-pts-container .pricing-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.apex-pts-container .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  width: 100%; /* Stretches to align perfectly with the tabs switcher */
}

.apex-pts-container .pricing-grid[data-tab-id="60-min"] {
  grid-template-columns: repeat(3, 1fr);
}

/* Pricing Card Box */
.apex-pts-container .pricing-card {
  background: #0d0d12; /* Dark Obsidian Card box */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  text-align: left;
}

.apex-pts-container .pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(139, 92, 246, 0.05);
}

.apex-pts-container .pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.apex-pts-container .pricing-card:hover::before {
  background: linear-gradient(90deg, transparent, #473368, transparent);
}

/* Best Value Badge */
.apex-pts-container .card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.apex-pts-container .pricing-card.popular {
  border-color: rgba(139, 92, 246, 0.4);
  background: #07070a;
}

.apex-pts-container .pricing-card.popular::before {
  background: linear-gradient(90deg, transparent, #473368, transparent);
}

/* Decreased Font Sizes */
.apex-pts-container .card-sessions {
  font-size: 1.15rem; /* Decreased plan name font size */
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.apex-pts-container .card-price-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 1rem;
}

.apex-pts-container .card-currency {
  font-size: 1.25rem; /* Decreased pricing currency font size */
  font-weight: 700;
  color: #ffffff;
  align-self: flex-start;
  margin-top: 0.1rem;
}

.apex-pts-container .card-price {
  font-size: 2.15rem; /* Decreased pricing number font size */
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.apex-pts-container .card-unit {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-left: 0.3rem;
  font-weight: 500;
}

.apex-pts-container .price-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
  margin: 1rem 0;
}

/* Features List */
.apex-pts-container .card-breakdown {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.apex-pts-container .breakdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #9ca3af;
}

.apex-pts-container .breakdown-item.highlight {
  color: #ffffff;
  font-weight: 600;
}

.apex-pts-container .breakdown-item svg {
  color: #473368;
  flex-shrink: 0;
}

/* CTA buttons linked to # */
.apex-pts-container .card-cta {
  font-family: 'Outfit', sans-serif;
  display: block;
  text-align: center;
  text-decoration: none;
  width: 100%;
  padding: 0.75rem;
  background: #473368;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
  outline: none;
}

.apex-pts-container .card-cta:hover {
  background: #473368;
  border-color: #473368;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.apex-pts-container .pricing-card.popular .card-cta {
  background: #473368;
  border-color: #473368;
}

.apex-pts-container .pricing-card.popular .card-cta:hover {
  background: #7c3aed;
  border-color: #7c3aed;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Bottom Policies Note Card & Barbell Graphic */
.apex-pts-container .footer-info {
  width: 100%; /* Spans full container width to align with tabs */
  background: #0d0d12; /* Dark Obsidian container */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.apex-pts-container .policy-note-card {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centered policy layout matching photo */
  gap: 0.875rem;
  text-align: center;
  flex: 1;
}

.apex-pts-container .policy-note-line {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.4;
}

.apex-pts-container .policy-note-line.highlight-red {
  color: #473368; /* Highlight color matches accent purple */
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* Barbell graphic wrapper */
.apex-pts-container .barbell-graphic-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  width: 180px;
  height: 180px;
}

.apex-pts-container .barbell-image {
  max-width: 120%;
  max-height: 120%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7));
  animation: apex_pts_float 6s ease-in-out infinite;
  z-index: 2;
}

.apex-pts-container .barbell-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #473368;
  filter: blur(50px);
  opacity: 0.15;
  z-index: 1;
}

@keyframes apex_pts_float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .apex-pts-container .footer-info {
    flex-direction: column-reverse; /* Align text on bottom, barbell on top for mobile stack */
    padding: 2rem;
    gap: 2rem;
  }
  .apex-pts-container .policy-note-card {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .apex-pts-container {
    padding: 1.5rem 1rem;
  }
  .apex-pts-container .tabs-outer {
    flex-direction: column;
    border-radius: 16px;
    padding: 8px;
    gap: 4px;
	  	max-width:100%;
  }
  .apex-pts-container .tab-btn {
    padding: 10px;
    font-size: 0.9rem;
  }
  .apex-pts-container .tab-slider {
    display: none; /* Hide background indicator on vertical layout */
  }
  .apex-pts-container .tab-btn.active {
  background: linear-gradient(90deg, #473368 0%, rgba(222, 251, 2, 0) 100%) ;
  }
  .apex-pts-container .pricing-grid,
  .apex-pts-container .pricing-grid[data-tab-id="60-min"] {
    grid-template-columns: 1fr;
  }
}
