#upgrade-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9900;
}

#surveys-dropdown {
    position: relative;
    background: transparent;
}

.calculator-input label {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
}

.imglogo-modal{
    height: 60px;
    width:300px;
    margin-bottom: 20px;
}

#upgrade-modal-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 60%;
    height: 60%; 
    background: white;
    border-radius: 5px;
    position: center;
    overflow: hidden;
    max-width: 1200px;
    border: none;
}
  
.modal-left-section {
    width: 60%; 
    padding: 24px;
    background-color: white;  
    display: flex;
    flex-direction: column;
    color: black;
}

.modal-right-section {
    width: 40%;
    background-size: cover;
    background-position: center;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    border-radius: 0 5px 5px 0;
}

.modal-left-section h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    color: black;
    margin-bottom: 12px;
}

.feature-stuff h4{
    font-size: 18px;
    margin-bottom: 1px;
}
.feature-item {
    display: flex;
    gap: 12px;
    font-size: 12px;
    margin-bottom: 6px;
}

.feature-icon {
    width: 30px;
    height: 30px;
    background: rgba(28, 156, 208, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
}

.calculator-section {
    margin-top: 20px;
    flex-grow: 1; 
}

.calculator-section h4 {
    font-size: 24px;
    margin-bottom: 1px;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
}

.calculator-input {
    margin: 20px 0;
    
}

.calculator-input select {
    width: 100%;
    padding: 10px;
    border: 1px solid white; 
    border-radius: 5px;
    background-color: transparent; 
    color: white; 
    font-size: 16px;
    cursor: pointer; 
}

.calculator-input::after {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: white; 
    pointer-events: none;
}

.modal-left-section {
    position: relative;
    padding-bottom: 80px;
}

.modal-actions {
    position: absolute;
    bottom: 24px;
    right: 24px;
    display: flex;
    justify-content: flex-end;
    cursor: pointer;
}

.btn-secondary-modal {
    width: 120px;
    height: 36px;
    background: var(--lightgrey);
    border-radius: 5px;
    border: none;
    margin-right: 8px;
}

.btn-primary-modal {
    width: 120px;
    height: 36px;
    background: var(--blue);
    border-radius: 5px;
    border: none;
    color: white;
}
.pro-plan-price {
    position: absolute;
    text-align: right;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: white;
    bottom: 10px;
    right: 10px;

}

.pro-plan-price .price {
    font-size: 16px;
    
}

.pages-container {
    position: relative;
    overflow: hidden;
    height: 500px; 
  }
  
.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.page.active {
    opacity: 1;
    visibility: visible;
}
  
  .scrollable-content {
    height: 100%;
    overflow-y: auto;
    padding-right: 10px;
    margin-top:10px;
  }

   #upgrade-modal .progress {
    height: 10px;
  }

  .progress-bar {
    height: 10px;
    background-color: var(--blue);
    border-radius: 5px;
    text-align: center;
    line-height: 20px;
    color: white;
}

  .page-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -5px;
  }
  
  .nav-arrow {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0 10px;
    align-items: center;
    display: flex;
  }
  
  .page-dots {
    display: flex;
    margin: 0 10px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color:var(--grey);
    margin: 0 5px;
    cursor: pointer;
  }
  
  .dot.active {
    background-color: var(--blue);
  }

.collapsed-left-tab,
.collapsed-right-tab {
  display: none;
}

@media (max-width:1024px) {

    .imglogo-modal{
        width:200px;
        height: 60px;
        margin-bottom: 10px;
    }

}

@media (min-width:2000px) {

    #upgrade-modal-content {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: 60%;
        height: 50%; 
        background: white;
        border-radius: 5px;
        position: center;
        overflow: hidden;
        max-width: 1200px;
    }

}
@media (min-width: 500px) and (max-width: 768px) {

    .calculator-section {
        margin-left: 20px;
    }

    .btn-primary-modal {
        margin-right: 50px;
    }  

}

@media (max-width: 500px) {

    .modal-left-section{
        padding-left: 30px;
    }

    .btn-primary-modal {
        margin-right: 25px;
    }  

}

@media (max-width: 768px) {

    #upgrade-modal-content {
        position: relative;
        display: flex;
        overflow: hidden;
        width:90%;
        height:60%;
  
      }
    
      .modal-left-section, .modal-right-section {
        position: absolute;
        height: 100%;
        transition: transform 0.3s ease-in-out;
      }
    
      .modal-left-section {
        width: 100%;
        padding-right:80px;
        transform: translateX(-90%);
        z-index: 2;
      }
    
      .modal-right-section {
        width: 100%;
        padding-left: 60px;
        transform: translateX(0);
        z-index: 1;
      }
    
      .collapsed-left-tab, .collapsed-right-tab {
        position: absolute;
        top: 0;
        width: 10%;
        max-width: 15%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding: 20px 5px;
        background: white;
        overflow: hidden;
      }
      
      .collapsed-left-tab {
        right: 0;
      }

      .collapsed-right-tab {
        left: 0;
      }
    
      .vertical-text {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(180deg);
        font-weight: bold;
        margin: 20px 0;
        font-size: 20px;
        color: var(--blue);
      }
    
      .expand-button-left {
        width: 100%;
        background: var(--blue);
        border: none;
        cursor: pointer;
        text-align: center;
        padding: 10px 0;
        color: white;
        border-radius: 5px;
      }
  
      .expand-button-right {
          display: flex;
          background: var(--white);
          border: none;
          font-size: 24px;
          cursor: pointer;
          padding: 10px;
          color: var(--blue);
          border-radius: 2px;
        }
      .left-expanded .modal-left-section {
        transform: translateX(0);
      }
    
      .left-expanded .modal-right-section {
        transform: translateX(90%);
      }    
  
      /* Expanded state */
      .modal-left-section.expanded {
          height: 100%; 
          transform: translateX(0);
      }
  
      .modal-right-section.expanded {
          height: 100%; 
          transform: translateX(90%);
      }

    .btn-secondary-modal {
        width: 100px;
        height: 24px;
        font-size: 12px;
        background: var(--lightgrey);
        border-radius: 5px;
        border: none;
        margin-right: 10px;
    }
    
    .btn-primary-modal {
        width: 100px;
        height: 24px;
        font-size: 12px;
        background: var(--blue);
        border-radius: 5px;
        border: none;
        color: white;
    }

    .modal-left-section h2 {
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        font-size: 20px;
        line-height: 29px;
        color:black;
        margin-bottom: 4px;
    }
    
    h4{
        font-size: 14px;
        margin-bottom: 1px;
    }
    #upgrade-modal-content p{
        font-size: 12px;

    }

    .feature-item {
        display: flex;
        gap: 12px;
        font-size: 12px;
        margin-bottom: 3px;
    }
    
    .feature-icon {
        width: 30px;
        height: 30px;
        background: rgba(28, 156, 208, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--blue);
    }

    .calculator-input {
        align-items: flex-start;
        position: absolute;
    }
    #surveys-dropdown {
        max-width: 100%;
        display: flex;
        position: relative;
    }

}
      
@media (max-width: 375px) and (max-height: 667px) {
    .progress-bar {
        height: 5px; 
    }

    .page-navigation{
        margin-bottom: -20px;
    }

    #upgrade-modal-content {
        position: relative;
        display: flex;
        overflow: hidden;
        width:90%;
        height:80%;
  
      }
}
    