/* Container for Pricing Tabs */
.pricing-tabs {
  display: flex;
  justify-content: center;
  margin: 0 auto 20px auto;
  padding: 10px;
  background: linear-gradient(135deg, #101147, #cfdef3);
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 40%;
  position: relative;
  top: -50px;
  transition: width 0.3s ease;
}

/* Tab Buttons */
.tab-btn {
  padding: 10px 25px;
  font-size: 16px;
  color: #fff;
  background-color: transparent;
  cursor: pointer;
  margin: 0 10px;
  transition: background 0.3s ease, color 0.3s ease;
  border-radius: 5px;
  font-weight: 500;
  position: relative;
}

.tab-btn:hover {
  color: #fff;
  background: #4a4397;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.tab-btn.active {
  background-color: #4a4397;
  color: white;
}

/* Active Underline */
.tab-btn.active::after {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .pricing-tabs {
    width: 40%;
    /* Reduce width on smaller screens */
    padding: 8px;
  }

  .tab-btn {
    font-size: 14px;
    padding: 8px 20px;
    margin: 0 8px;
    /* Adjust padding and margin for smaller screens */
  }
}

@media (max-width: 480px) {
  .pricing-tabs {
    width: 50%;
    /* Full width on small screens */
    padding: 6px;
    flex-direction: column;
    align-items: center;
  }

  .tab-btn {
    font-size: 14px;
    padding: 10px;
    margin: 10px 0;
    /* Make buttons stack vertically */
    width: 100%;
    text-align: center;
  }
}



/* Pricing Table */
.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.col-md-6,
.col-md-12,
.col-lg-4 {
  padding: 10px;
}

.pricing-card-one {
  background-color: white;
  border-radius: 10px;
  padding: 30px 20px;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  margin-bottom: 60px;
}

.discount-ribbon-vertical {
  position: absolute;
  border-radius: 50%;
  top: -20px;
  right: 0px;
  background: #4a4397;
  color: white;
  font-size: 12px;
  padding: 7px 0px;
  font-weight: bold;
  width: 100px;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.max-user h5{
  font-weight: 600;
  text-align:center;
  color: #777;
}

.pricing-card-one-header {
  margin-bottom: 20px;
}

.pricing-card-one-title h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

/* Pricing Card Header */
.pricing-card-one-header {
  margin-bottom: 20px;
  text-align: center; /* Center content for smaller screens */
}

.pricing-card-one-header .header-title {
  font-size: 22px;
  color: #7D8091;
  font-weight: 600;
}

.pricing-card-one-header p {
  font-size: 16px;
  color: #555;
}

.pricing-card-one-header .monthly-price {
  font-size: 24px;
  font-weight: 700;
  color: #7367F0;
  margin: 10px 0;
}

.pricing-card-one-header .discountless-price {
  font-size: 18px;
  font-weight: 500;
  color: #777;
  text-decoration: line-through;
}

/* Save button */
.save-btn-container {
  display: inline-block;
  margin-bottom: 10px;
}



/* Responsive Design */

/* For screens smaller than or equal to 1024px */
@media (max-width: 1024px) {
  .pricing-card-one-header .header-title {
    font-size: 20px;
  }

  .pricing-card-one-header p {
    font-size: 15px;
  }

  .pricing-card-one-header .monthly-price {
    font-size: 22px;
  }

  .pricing-card-one-header .discountless-price {
    font-size: 17px;
  }

  .save-btn {
    font-size: 13px;
    padding: 5px 8px;
  }
  .pricing-card-one-content ul li {
    font-size: 13px;
  }
    .pricing-card-one {
    margin-bottom: 60px;
  }
}

/* For screens smaller than or equal to 992px */
@media (max-width: 992px) {
  .pricing-card-one-header .header-title {
    font-size: 18px;
  }

  .pricing-card-one-header p {
    font-size: 14px;
  }

  .pricing-card-one-header .monthly-price {
    font-size: 20px;
  }

  .pricing-card-one-header .discountless-price {
    font-size: 16px;
  }

  .save-btn {
    font-size: 12px;
    padding: 5px 8px;
  }

  .pricing-card-one-content ul li {
    font-size: 11px;
  }
  .pricing-card-one {
    margin-bottom: 60px;
  }
}

/* For screens smaller than or equal to 768px */
@media (max-width: 768px) {
  .pricing-card-one-header {
    margin-bottom: 15px;
  }

  .pricing-card-one-header .header-title {
    font-size: 18px;
  }

  .pricing-card-one-header p {
    font-size: 13px;
  }

  .pricing-card-one-header .monthly-price {
    font-size: 18px;
  }

  .pricing-card-one-header .discountless-price {
    font-size: 14px;
  }

  .save-btn {
    font-size: 11px;
    padding: 4px 6px;
  }

  .pricing-card-one-content ul li {
    font-size: 10px;
  }

  .pricing-card-one {
    margin-bottom: 50px;
  }
}

/* For screens smaller than or equal to 576px */
@media (max-width: 576px) {
  .pricing-card-one-header .header-title {
    font-size: 16px;
  }

  .pricing-card-one-header p {
    font-size: 12px;
  }

  .pricing-card-one-header .monthly-price {
    font-size: 22px;
  }

  .pricing-card-one-header .discountless-price {
    font-size: 12px;
  }

  .save-btn {
    font-size: 10px;
    padding: 3px 5px;
  }
  .pricing-card-one-content ul li {
    font-size: 9px;
  }

  .pricing-card-one {
    margin-bottom: 40px;
  }
}


.pricing-card-one-title .title {
  font-weight: bold;
}

.pricing-card-one-title .popular {
  background-color: #22b8cf;
  color: white;
  padding: 5px;
  border-radius: 5px;
  font-size: 12px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.pricing-card-one h3 {
  font-size: 30px;
  color: #7367F0;
  margin-bottom: 10px;
}

.pricing-card-one h3 .month {
  font-size: 16px;
  color: #777;
}

.price-subtitle {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

.sc-price-btn {
  margin-bottom: 20px;
}

.sc-price-btn a {
  max-width: 100%;
  width: 100%;
  height: 60px;
  border: 1px solid #0095ff4d;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0095ff;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.sc-price-btn a:hover {
  background-color: #007bbd;
}

.pricing-card-one-content {
  text-align: left;
}

.pricing-card-one-content ul {
  list-style-type: none;
  padding-left: 0;
  text-align: center;
  /* Center the list items */
}

.pricing-card-one-content ul li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #555;
  display: inline-flex;
  /* Adjust to inline-flex to maintain centering */
  justify-content: center;
  /* Center items horizontally */
  align-items: center;
  /* Center items vertically if needed */
}


.pricing-card-one-content ul li:before {
  color: #35a863;
  margin-right: 10px;
  font-size: 14px;
}

.price_list1 .pricing-card-one {
  border-top: 10px solid #35a863;
}

.price_list2 .pricing-card-one {
  border-top: 10px solid #22b8cf;
}

.price_list3 .pricing-card-one {
  border-top: 10px solid #e34f98;
}

.price_list4 .pricing-card-one {
  border-top: 10px solid #7367F0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .col-lg-4 {
    width: 50%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {

  .col-lg-4,
  .col-md-6 {
    width: 100%;
    margin-bottom: 20px;
  }
}


.upgrade-now .upgrade-btn {
  max-width: 100%;
  width: 100%;
  height: 60px;
  border: 1px solid #7367F0;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7367F0;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.upgrade-now .upgrade-btn::before {
  position: absolute;
  z-index: -1;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background-color: #7367F0;
  transform: translateX(-100%);
  transition: 0.3s;
}

.upgrade-now .upgrade-btn:hover {
  background-color: #7367F0;
  color: #fff;
}

/*added new css*/
.title-save {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

/* Styling for the Save percentage as a button */
.save-btn-container {
    margin: 0px 0px 0px 0px;
    padding: 6px 8px 5px 8px;
    background-color: #F9FBFF;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #EFF3FF;
    border-radius: 30px 30px 30px 30px;
    box-shadow: 0px -1px 5px 0px #8FA8FF inset;
}
.save-btn-container .save-btn {
    color: #597DFC;
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
    line-height: 1.2em;
}

.discountless-price{
    color: #7D8091;
    font-size: 16px;
    font-weight: 500;
    text-decoration: line-through;
    line-height: 1.5em;
    letter-spacing: 0px;
    margin-bottom: 5px;
}

.annual-bill .billed-annual{
    color: #597DFC;
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
    line-height: 1.5em;
    letter-spacing: 0px;
}

.annual-bill .billed-annual span{
    color: #7D8091;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
    line-height: 1.5em;
    letter-spacing: 0px;
}

/* 
* popup form css 
*
*/

/* Popup form container (fixed to cover entire screen with scrolling support) */
#popup-form-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
  overflow-y: auto;
  /* Enable scrolling if content overflows */
  margin-top: 0 !important;
}

/* Overlay background */
#popup-form-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Dark overlay */
}

/* Popup form content */
#popup-form-content {
  position: relative;
  margin: 15% auto;
  padding: 30px 20px;
  max-width: 600px;
  /* Limit the maximum width */
  width: 90%;
  /* Make sure form width adjusts to smaller screens */
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  z-index: 10000;
}

/* Form heading */
#popup-form h2 {
  font-size: 25px;
  font-weight: 600;
  color: #223574;
  text-align: center;
  margin-bottom: 20px;
}

/* Form input fields */
#popup-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

#popup-form input[type="text"],
#popup-form input[type="email"],
#popup-form input[type="tel"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

/* Submit button */
#submit-form {
  background-color: #6b4eff;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

#submit-form:hover {
  background-color: #5541d7;
}

/*spinninf effect on submit*/
/* Initial button styling */
#submit-form {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-right: 20px; /* Extra space for the spinner */
}

/* Spinner styles */
#submit-form.loading::after {
  content: '';
  position: absolute;
  right: 10px;
  width: 16px;
  height: 16px;
  border: 2px solid #fff; /* White or the color of the button text */
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

/* Spin animation */
@keyframes spin {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

/* Close button */
#popup-form-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

#popup-form-close:hover {
  color: #e74c3c;
}

/* Responsive for tablets */
@media (max-width: 768px) {
  #popup-form-content {
    padding: 20px;
    max-width: 90%;
    /* Further reduce max width for tablet screens */
    width: 90%;
    margin: 10% auto;
  }

  #popup-form h2 {
    font-size: 1.3rem;
  }

  #submit-form {
    width: 100%;
    padding: 15px;
  }
}

/* Mobile specific adjustments */
@media (max-width: 480px) {
  #popup-form-content {
    padding: 15px;
    max-width: 95%;
    width: 95%;
    margin: 15% auto;
    /* More top margin for better view */
  }

  #popup-form h2 {
    font-size: 1.2rem;
  }

  #popup-form input[type="text"],
  #popup-form input[type="email"],
  #popup-form input[type="tel"] {
    font-size: 0.9rem;
    padding: 8px;
  }

  #submit-form {
    padding: 12px;
  }

  /* Adjust close button for mobile */
  #popup-form-close {
    font-size: 20px;
  }
}