/*--------------------------------------------------------------
Custom styling for MemberPress pricing boxes with 3D branded glow and pulse effect
--------------------------------------------------------------*/
.single .entry-title {
  font-size: 2.4rem;           /* Slightly larger */
  font-weight: 700;            /* Bold */
  text-align: center;          /* Center the title */
  color: #de830d;              /* Brand orange */
  margin-bottom: 30px;         /* More spacing below */
  letter-spacing: -0.02rem;    /* Optional subtle tweak */
}

/* Ensure pricing menu wraps properly and centers */
.mepr-price-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

/* Pricing card styling */
.mepr-price-menu .mepr-price-box {
  flex: 0 0 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  box-sizing: border-box;

  background: #f1f1f1 !important;
  border-radius: 14px !important;
  border: 2px solid rgba(222, 131, 13, 0.5) !important;

  box-shadow:
    0 0 6px rgba(222, 131, 13, 0.25),
    0 0 12px rgba(222, 131, 13, 0.15);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 30px !important;
  position: relative !important;
  z-index: 1;
  min-width: 280px;
}

/* Hover effect */
.mepr-price-menu .mepr-price-box:hover {
  transform: translateY(-10px);
  box-shadow:
    0 0 6px rgba(222, 131, 13, 0.25),
    0 0 12px rgba(222, 131, 13, 0.35),
    0 0 24px rgba(222, 131, 13, 0.4),
    0 0 36px rgba(222, 131, 13, 0.3) !important;
  animation: pulse-glow 1.5s ease-in-out infinite;
  z-index: 10;
}

/* Pulse glow animation */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(222, 131, 13, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(222, 131, 13, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(222, 131, 13, 0);
  }
}

/* Title badge */
.mepr-price-menu .mepr-price-box .mepr-price-box-title {
  display: inline-block;
  font-size: 1.5rem !important;
  font-weight: 700;
  text-align: center;
  background-color: #de830d;
  color: #ffffff !important;
  border-radius: 14px;
  padding: 10px 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  animation: pulseGlow 2.8s infinite;
  margin: 0 auto 20px auto;
}

/* Ensure title wrapper is centered */
.mepr-price-box-head {
  text-align: center;
}

/* Price styling */
.mepr-price-menu .mepr-price-box-price {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #de830d !important;
  margin-bottom: 20px;
  text-align: center !important;
}

.mepr-price-box-price .mepr-price-duration {
  font-size: 12px;
  color: #888;
  display: block;
  margin-top: 4px;
}

/* Benefits list */
.mepr-price-menu .mepr-price-box-benefits-item {
  position: relative !important;
  padding-left: 32px !important;
  font-size: 0.95em !important;
  font-weight: 400 !important;
  color: #666666 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

.mepr-price-box-benefits-item::before {
  content: "\E876";
  font-family: 'bb-icons' !important;
  position: absolute !important;
  left: 0;
  top: 0em;
  font-size: 18px !important;
  color: #b35000 !important;
}

/* Button styling */
.mepr-price-menu .mepr-price-box-button a {
  background: #de830d;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: bold;
  transition: background 0.2s ease;
}

.mepr-price-menu .mepr-price-box-button a:hover {
  background: #666666;
}

/* Heading section */
.mepr-price-box-heading,
.mepr-price-box-heading strong {
  color: #666666 !important;
}

.mepr-price-box-heading {
  font-size: 0.95em;
  font-weight: 400;
  margin-bottom: 4px !important;
  line-height: 1.4 !important;
  text-align: justify;
  white-space: pre-wrap;
  padding-bottom: 0 !important;
}

.mepr-price-box-heading strong {
  font-weight: 700;
}

/* Footer note */
.mepr-price-box-footer {
  font-size: 0.95em !important;
  font-weight: bold !important;
  text-align: justify !important;
  color: #666666 !important;
  white-space: pre-wrap !important;
  margin-top: 10px !important;
}

.mepr-price-box-footer strong {
  font-weight: bold !important;
  color: inherit !important;
}

/* Divider */
.mepr-heading-divider {
  border: none;
  border-top: 1px solid #de830d;
  margin: 16px 0;
}

/* Remove unwanted dark border */
.mepr-price-menu.classic.classic_dark .mepr-price-box-benefits {
  border-top: none !important;
}

.mepr-price-menu.classic .mepr-price-box-head {
  padding: 4px 0 !important;
}

/* Responsive layout for tablets */
@media (max-width: 1024px) {
  .mepr-price-menu .mepr-price-box {
    flex: 0 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
    padding: 25px !important;
    margin: 15px 8px !important;
  }

  .mepr-price-menu .mepr-price-box-price {
    font-size: 1.6rem !important;
  }

  .mepr-price-menu .mepr-price-box-title {
    font-size: 1.4rem !important;
  }

  .mepr-price-box-heading {
    font-size: 0.95em;
  }
}

/* Responsive layout for mobile */
@media (max-width: 768px) {
  .mepr-price-menu .mepr-price-box {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: auto;
    margin: 15px auto !important;
  }

  .mepr-price-menu .mepr-price-box-price {
    font-size: 1.4rem !important;
  }

  .mepr-price-menu .mepr-price-box-title {
    font-size: 1.3rem !important;
  }

  .mepr-price-box-heading {
    font-size: 0.9em;
    line-height: 1.4;
  }

  .mepr-price-box-button a {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
}

.mepr-price-box-price .mepr-price-prefix {
  font-size: 12px;
  color: #888;
  display: block;
  margin-bottom: 4px;
}

/* === SIGN UP FORM ENHANCEMENTS === */

/* Constrain overall form width */
.mepr-signup-form {
  max-width: 600px;
  margin: 0 auto 40px auto;
  padding: 20px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(222, 131, 13, 0.4);
}

/* Ensure consistent spacing and alignment */
.mepr-signup-form .mp-form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 5px;
}

/* Control width of inputs and make them cleaner */
.mepr-signup-form input[type="text"],
.mepr-signup-form input[type="email"],
.mepr-signup-form input[type="password"],
.mepr-signup-form input[type="tel"],
.mepr-signup-form input[type="number"] {
  width: 80%;
  max-width: 80%;
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  background-color: #fefefe;
}

/* Reduce space between label and input */
.mepr-signup-form .mp-form-row label {
  margin-bottom: 4px !important;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Improve error display */
.mepr-signup-form .cc-error {
  font-size: 0.85em;
  color: #cc0000;
  margin-top: 6px;
}

/* Center the submit row */
.mepr-signup-form .mp-form-submit {
  text-align: center;
  margin-top: 25px;
}

// Sign-up Button
.mepr-signup-form input.mepr-submit {
  background-color: #de830d;
  color: #fff;
  font-weight: bold;
  padding: 14px 28px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(222, 131, 13, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.mepr-signup-form input.mepr-submit:hover {
  background-color: #666666;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 102, 102, 0.35);
}

.mepr_price {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px;
}

form.mepr-signup-form .mp-form-row.mepr_bold.mepr_price {
  display: block !important;
  text-align: center !important;
  margin: 10px auto !important;
  padding: 12px 16px;
  background-color: rgba(222, 131, 13, 0.08); /* subtle orange */
  border-radius: 6px;
}

form.mepr-signup-form .mp-form-row.mepr_bold.mepr_price label {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  text-transform: uppercase !important;
  color: #666666 !important;
  margin-bottom: 6px !important;
}

form.mepr-signup-form .mp-form-row.mepr_bold.mepr_price .mepr_price_cell {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

// Password Strenght box
.mp-password-strength-display {
  font-size: 0.85rem !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  background-color: #f1f1f1 !important;
  color: #333 !important;
  display: inline-block !important;
  max-width: 200px;
}

.mp-password-strength-area {
  font-size: 0.85rem !important;
  margin-top: 10px;
}

.mepr-signup-form .mepr_math_captcha input[type="text"] {
  width: 120px;            /* or adjust to your preference */
  padding: 6px 8px;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.mepr-signup-form .mp-form-row.mepr_math_captcha {
  margin-bottom: 24px !important; /* Adjust as needed, e.g., 30px for more space */
}

.mepr-signup-form label {
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: #de830d !important;
  margin-bottom: 4px !important;
}

.custom-blog-banner {
    margin-bottom: 2rem; /* Adjust as needed, e.g., 1rem, 3rem */
}

.post .byline,
.post .author,
.post-author,
.entry-meta .author,
.bb-author-name {
    display: none !important;
}

/* Hide the Create Account and its registration fields, that are auto added by BuddyBoss..the Welcome page is set as the Register page in BuddyBoss Page settings */
/* left justify the CS logo */
body.buddypress.register .register-section-logo {
  text-align: left !important;
  margin: 0 0 1.7rem 0 !important;
}

/* Optionally hide the "Create an Account" heading and subtext */
body.page-id-1057 .entry-header {
  display: none !important;
}
body.page-id-1057 .entry-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Hover state */
#mepr_loginform input.button-primary:hover {
  background-color: #D6D6D6 !important;
  color: #de830d !important;
  border-color: #666666 !important;
}

.bb-header-buttons {
  display: none !important;
}

/* On login page */
.page-id-67 h1,
.page-id-67 .entry-title {
  color: #de830d !important;
  font-weight: 700;
  text-align: center;
}

/* Size of Log In button */
.page-id-67 .mepr-login-submit input[type="submit"],
.page-id-67 input[type="submit"] {
  width: auto !important;
  display: inline-block;
  padding: 10px 24px;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-align: left;
  cursor: pointer;
}

/* Welcome Page Button Styling */
.welcome-button {
  background: #de830d;
  color: white !important;
  padding: 12px 20px;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: bold;
  transition: background 0.2s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.welcome-button:hover {
  background: #666666;
}

//.IN-follow-company .IN-right {
//  display: none !important;
//}

/* This targets empty <p> tags inside the pricing boxes on MemberPress Group pages only */
.entry-content > p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

label.mepr-checkbox-field {
  color: #000 !important;
}
label.mepr-checkbox-field a {
  color: #000 !important;
}

.card-footer .course-author {
  display: none !important;
}