/* --------------------------------------------
   Container & Sections
-------------------------------------------- */
#vx-mid {
  background: #f9f9fb;
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
}

#vx-mid .vx-form-section,
#vx-mid .vx-plan-section {
  background: #fff;
  padding: 40px 50px;
  margin: 60px auto;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  width: 700px;
  text-align: left;
}

/* --------------------------------------------
   Headings
-------------------------------------------- */
#vx-mid .vx-form-section h2,
#vx-mid .vx-plan-section h2 {
  font-size: 2.4rem;
  color: #333;
  text-align: center;
  margin-bottom: 10px;
}

#vx-mid .vx-subhead {
  text-align: center;
  color: #777;
  margin-bottom: 40px;
  font-size: 1.6rem;
}

/* --------------------------------------------
   Form Groups
-------------------------------------------- */
#vx-mid .vx-form-group {
  margin-bottom: 25px;
}

#vx-mid .vx-form-group label {
  display: block;
  font-weight: 500;
  color: #555;
  margin-bottom: 8px;
}

#vx-mid .vx-form-group input,
#vx-mid .vx-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1.6rem;
  transition: border-color 0.2s;
}

#vx-mid .vx-form-group input:focus,
#vx-mid .vx-form-group textarea:focus {
  outline: none;
  border-color: #5a2fc2;
}

/* --------------------------------------------
   Buttons
-------------------------------------------- */
#vx-mid .vx-btn-primary {
  display: block;
  width: 100%;
  background: #5a2fc2;
  color: #fff;
  font-weight: 600;
  font-size: 1.9rem;
  padding: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.3s;
}

#vx-mid .vx-btn-primary:hover {
  background: #4720a8;
  text-decoration: none;
}

/* --------------------------------------------
   Plan Cards
-------------------------------------------- */
/* Plan section container - responsive width */
#vx-mid .vx-plan-section {
  background: #fff;
  padding: 40px 50px;
  margin: 60px auto;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 1200px; /* allows 3 cards side by side */
  text-align: left;
  box-sizing: border-box;
}

/* Plan cards container */
#vx-mid .vx-plan-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* centers cards horizontally */
  gap: 40px;              /* space between cards */
}

/* Individual card styling */
#vx-mid .vx-plan-card {
  flex: 1 1 300px;   /* grow/shrink, min-width 300px */
  max-width: 340px;  /* max width of card */
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  padding: 35px 25px;
  text-align: left;
  transition: all 0.3s ease;
}

#vx-mid .vx-plan-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  background: #f4f0ff;
}

/* Highlight tiers */
#vx-mid .vx-plan-card.pro { border: 2px solid #c084fc; background: #faf5ff; }
#vx-mid .vx-plan-card.featured { border: 2px solid #8b5cf6; }

/* Responsive: keep horizontal on desktop, wrap on smaller screens */
@media (min-width: 1024px) {
#vx-mid   .vx-plan-cards {
    flex-wrap: nowrap; /* force one row on wide screens */
  }
}

@media (max-width: 1023px) {
#vx-mid   .vx-plan-cards {
    flex-wrap: wrap; /* wrap cards on tablets/small screens */
  }
}

/* --------------------------------------------
   Confirmation Message
-------------------------------------------- */
#vx-mid .vx-confirm {
  background: #fff;
  font-family: 'Poppins', sans-serif;
  max-width: 700px;
  margin: 100px auto;
  padding: 60px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

#vx-mid .vx-confirm h2 {
  color: #333;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

#vx-mid .vx-confirm p {
  color: #666;
  font-size: 1.6rem;
  margin-bottom: 30px;
}

