div#browse-all-pools-grid .plan-details {
  /* height: 80px; */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  white-space: normal;
  min-height: unset;
  text-align: center;
  font-size: 15px;
  line-height: 28px;
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300;
  color: #170e0b;
  width: 250px;
  margin-bottom: 20px;
}
.modal-header h2,.tab-btn,#forgotPasswordLink.forgot-link {
    color:  #36C6F5;
}
#closeModal {
    padding: 0px !important;
    border-radius: 0px !important;
}
.close-btn{
    top: -10px;
    right: 5px;
    font-size: 35px;
}
#loginForm .signInButton {
    border: unset;
    cursor: pointer;
    border-radius: 8px !important;
    color: #fff;
    background: #36C6F5;
    margin: 12px auto 0px auto;
    width: fit-content;
    display: block;
    padding: 10px 16px !important;
}
#forgotPasswordLink.forgot-link:hover{
    text-decoration: underline;
}
#forgotPasswordLink.forgot-link{
  float: unset;
}
#signupUnifiedForm{
    gap: 0;
}
.modal-body{
    margin: 25px;
}


/* wave starts */
.header {
  background: linear-gradient(60deg, rgba(84,58,183,1) 0%, rgba(0,172,193,1) 100%);
  flex: 1;
  padding: 0;
}

.inner-header {
  height:35px;
  width: -webkit-fill-available;
}


.waves {
  width: 100%;
  height:50px;
  margin-bottom:-7px; /*Fix for safari gap*/
}
/* Animation */

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
  .waves {
    height:40px;
    min-height:40px;
  }
}
/* wave end */

.poolplanLogo{
    height: 30px;
    position: absolute;
    top: 47px;
    left: 50%;
    transform: translate(-50%, -50%);
}
.form-multi-select{
    width: 210px;
}
.modal-tabs{
  border-top-right-radius: 13px;
  border-top-left-radius: 13px;
}
#authModal .modal-content{
  max-width: 700px;
}

/* card layout related css starts */
    .popular-plans{padding:3rem 1rem;max-width:1280px;margin:auto}
    .header{text-align:center;margin-bottom:0px}
    .title{font-size:2rem;font-weight:700;margin-bottom:.5rem;
      background:linear-gradient(135deg,#2563eb,#7c3aed);
      -webkit-background-clip:text;-webkit-text-fill-color:transparent}
    .btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;
      border-radius:.5rem;cursor:pointer;font-weight:500;transition:.2s;border:none}
    .btn-hero{background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;
      box-shadow:0 4px 20px rgba(59,130,246,.3)}
    .btn-hero:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(59,130,246,.4)}

    .plans-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem}
    .pool-card{background:#fff;border-radius:1rem;overflow:hidden;
      box-shadow:0 10px 30px -10px rgba(0,0,0,.1);opacity:0;transform:translateY(20px);
      animation:fadeInUp .6s ease forwards}
    .pool-card:hover{transform:translateY(-8px);box-shadow:0 20px 40px -10px rgba(0,0,0,.15)}
    @keyframes fadeInUp{to{opacity:1;transform:translateY(0)}}
    .card-image{position:relative;overflow:hidden}
    #browse-all-pools-grid .card-image{text-align: center;margin: auto;}
    .card-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
    #browse-all-pools-grid .card-image img{    
      height: 210px;
      width: 265px;
      border-radius: 13px;
      margin-top: 1rem;
      cursor: pointer;
  }
    .pool-card:hover .card-image img{transform:scale(1.05)}
    .nav-arrow{position:absolute;top:50%;transform:translateY(-50%);
      background:rgba(255,255,255,.9);border:none;width:2rem;height:2rem;border-radius:50%;
      cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:.3s;z-index:30}
    /* .pool-card:hover .nav-arrow{opacity:1} */
    .nav-arrow.left{left:.5rem}
    .nav-arrow.right{right:.5rem}
    .featured-badge{position:absolute;top:.75rem;left:.75rem;background:#fde047;color:#78350f;
      padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600;z-index:20}
    .rating-badge{position:absolute;top:.75rem;right:.75rem;background:rgba(255,255,255,.9);
      display:flex;align-items:center;gap:.25rem;padding:.25rem .5rem;border-radius:9999px;font-size:.75rem;z-index:20}
    .rating-star{width:1rem;height:1rem;fill:#facc15}
    .image-dots{position:absolute;bottom:.75rem;left:50%;transform:translateX(-50%);
      display:flex;gap:.25rem;z-index:20}
    .dot{width:.5rem;height:.5rem;border-radius:50%;background:rgba(255,255,255,.6);cursor:pointer}
    .dot.active{background:#fff}
    .card-content{padding:1rem}
    .tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem}
    .tag{background:#f1f5f9;color:#64748b;padding:.25rem .5rem;border-radius:.375rem;font-size:.75rem}
    .plan-name{font-size:1.25rem;font-weight:700;margin-bottom:.25rem}
    .plan-details{display:flex;justify-content:space-between;color:#64748b;font-size:.875rem;margin-bottom:.5rem;min-height: 250px;}
    .price-section{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}
    .price{font-size:1.25rem;font-weight:700;color:#36c6f5}
    .category{font-size:.875rem;color:#64748b}
    .card-actions .btn{flex:1;justify-content:center;font-size:.875rem;padding:.5rem}
    #browse-all-pools-grid .card-actions .btn{
      flex: unset;
      width: 100%;
      margin: auto;
      font-size: 16px;
      padding: 12px 24px;
      color: rgba(23, 14, 11, 0.76);
      box-shadow: unset;
      height: fit-content;
      background: linear-gradient(to top, rgba(196,192,192,0.11) 50%, #3dc6ef 50%);
      background-size: 100% 200%;
      background-position: bottom;
    }
    #browse-all-pools-grid .card-actions .btn:hover{
      background-position: top;
      color: #fff;
    }

    #browse-all-pools-grid .pool-card {
    box-shadow: none;
}
    /* card layout related css ends */

.form-multi-select-option:focus{
  border-color: rgb(54 198 245 / 25%);
  box-shadow: 0 0 0 0.25rem rgba(54, 198, 245, 0.25);
}
.form-multi-select-option.form-multi-selected::before{
  background-color: #36c6f5;
  border-color: #36c6f5;
}


/* Ensure all-pools-grid displays 4 pool cards per row */
#all-pools-grid {
  display: flex;
  flex-direction: column;
  gap: 32px 24px;
  margin-top: 24px;
}
.pool-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.pool-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.16);
}
.info-icon {
  position: absolute;
  right: -25px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  color: #6b7280;
}
.password-policy-tooltip {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #333;
  width: 250px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 99999;
}
.password-field-wrapper:hover .password-policy-tooltip {
  display: block;
}
.modal-overlay.active {
    display: block !important;
}
.badge {
    background: #00e6c3;
    padding: 7px;
    border-radius: 10px;
}
.images-section {
    display: flex;
    gap: 5px;
    width: 100%;
    margin-top: 10px;
}
.images-section > div {
    width: 100%;
}
.images-section img {
    width: 100%;
    border-radius: 13px;
}
#authModal .modal-tabs button {
  padding: 10px !important;
  font-size: 20px;
}
#sendSignupOtpBtn {
  width: fit-content;
  margin: auto;
  display: block;
}
#verifySignupOtpBtn{

  border: none;

}

#poolResultsFilter .form-filter:nth-child(1) {
    margin-bottom: 16px;
}

#browse-all-pools-grid {
  display: grid;
  grid-template-columns: repeat(4, 300px);
  gap: 65px 20px;
  justify-content: center;
}
#browse-all-pools-grid .plan-name{
  text-align: center;
  font-size: 25px !important;
  margin: 15px 0px 20px 0px !important;
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 !important;
}
#userDropdown button i {
    width: 18px;
}
#userDropdown button{
  background:none;
  border:none;
  color:#222;
  font-size:16px;
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  padding:6px 0;
  margin-bottom:6px;
}
#userDropdown button:last-child{
  margin-bottom: 0px;
}

button.poolplan-page-btn {
    min-width: 45px;
}
.favorited {
    color: red;
  }
    
.section {
    text-align: center;
}
.section i {
    font-size: 40px;
    color: #36c6f5;
}
#search-results-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
#search-results-grid .pool-card{
  margin-bottom: 0px;
}
#search-results-grid .card-content{
  padding: 10px;
}
.builder-section{
  display: flex;
  margin: 150px 0px 60px 0px;
  padding: 40px 60px;
  gap: 10px;
  background-color: #eaf6fb;
}
.builder-section .card {
    flex: 1;
    border: none;
    background-color: unset;
}
.builder-section .header{
  background: none;
  border: none;
  justify-content: center;
  padding: 5px;
  font-family: 'Poppins';
  font-weight: 400;
  flex: unset;
}
.builder-section .card-content{
  padding: 10px 10px 0px 10px;
  min-height: 235px;
  margin-top: 20px;
  text-align: center;
}
.builder-section .card-content i {
  font-size: 40px;
  color: #36c6f5;
  margin-bottom: 10px;
}
.builder-section .builder-waves {
  max-width: 200px;
  margin: 20px auto 20px;
  display: none;
}
.builder-section .form-filter{
  margin: 10px 0px;
}
.builder-section .form-filter button {
  background-color: #b0daed;
  color: #1a2539;
  padding: 14px 24px;
}
.builder-section .card-content h3 {
    text-align: center;
    font-family: 'Poppins';
    font-weight: 400;
}
.builder-section .card-content p {
  font-family: 'Rubik';
}
#poolResultsFilter{
  padding: 10px;
  border: 1px solid #ccc;
  border-right: none;
}
#poolResultsFilter .form-filter {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
#TCCarouselIndicators canvas {
    height: 100%;
}
#PDCarouselExampleIndicators .carousel-indicators{
  display: none;
}

#TCCarouselIndicators .carousel-item {
  text-align: center;
}
#TCCarouselIndicators .carousel-item iframe{
  width: 620px;
  height: 480px;
}
.whyPoolplansSection{
  margin-top: 75px;
  background: #eaf6fb;
  padding: 40px 60px;
  border-radius: 10px;
}
.whyPoolplansSectionContent{
  display: flex;
  gap: 10px;
  margin-top: 50px;
  padding: 0px 0px 10px 0px;
}
.whyPoolplansSectionContent .main-title{
  text-align: center;
  font-size: 25px !important;
  margin: 15px 0px 15px 0px !important;
  font-family: "Rubik";
  font-style: normal;
  font-weight: 400 !important;
  min-height: 60px;
}
.whyPoolplansSectionContent .description {
    font-family: "Rubik";
    font-style: normal;
    font-weight: 300;
    min-height: 110px;
}
.top-section{
  display: flex;
  justify-content: space-between;
  width: 1248px;
}
.top-menu-section{
  display: flex;
  align-items: center;
  gap: 15px;
  height: fit-content;
  margin-top: 25px;
}
.top-menu-btns{
    z-index: 4;
    border: none;
    border-radius: 50%;
    width: fit-content;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 55px;
    gap: 15px;
}
.top-menu-btns > button {
    z-index: 4;
    background: #3dc6ef;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #fff;
 }
 .features-section{
    margin-top: 75px;
    margin-bottom: 125px;
    padding: 40px 60px;
    max-width: unset;
 }
#resultsPage {
  height: 45px;
  padding: 8px 16px;
}

.sticky_builder {
  position: fixed;
  bottom: 5px;
  right: 5px;
  z-index: 9;
  height: 120px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow:0 2px 8px rgba(0,0,0,0.12)
}
.builderProSection {
  margin-top: 75px !important;
  padding: 40px 60px;
  max-width: unset;
  background-color: rgba(176, 218, 237, 0.14);
  border-radius: 10px;
}
.builderProSection .poppin-header {
  color: #170e0b;
  text-align: center;
}
.builderProSection .builderProSectionContent .section-desc{
  margin-bottom: 10px;
}
.builderProSection .builderProSectionContent .form-filter {
  margin: unset;
}