/* Slider container */
.qb-slider-form {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Slider track */
.qb-slider-track {
    position: relative;
    transition: transform 0.3s ease;
}

/* Individual slides */
.qb-slide {
    width: 100%;
    padding:0 80px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .qb-slide {

      padding:12px;

  }
}

/* Navigation buttons */
.qb-slide-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.qb-prev-btn, .qb-next-btn, .qb-submit-btn {
    padding: 10px 20px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.qb-prev-btn {
    background: #f1f1f1;
    color: #333;
}

/* Navigation dots */
.qb-slider-nav-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.qb-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
}

.qb-nav-dot.active {
    background: #4CAF50;
}

/* Progress bar */
.qb-progress-container {
    margin: 20px 0;
}

.qb-progress-bar {
    height: 6px;
    background: #f1f1f1;
    border-radius: 3px;
    overflow: hidden;
}

.qb-progress-fill {
    height: 100%;
    background: #4CAF50;
    transition: width 0.3s ease;
}

.qb-progress-text {
    text-align: center;
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}

/* Error messages */
.qb-question-error {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
}

.qb-required {
    color: #f44336;
}


  
  /* Animation types */
  

  .qb-fade-in {
    animation: fadeIn;
    opacity: 0;
    animation-fill-mode: forwards;
  }
  
  .qb-slide-up-in {
    animation: slideUp;
    opacity: 0;
    animation-fill-mode: forwards;
  }
  
  .qb-slide-down-in {
    animation: slideDown;
    opacity: 0;
    animation-fill-mode: forwards;
  }
  
  .qb-zoom-in{
    animation: zoomIn;
    opacity: 0;
    animation-fill-mode: forwards;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideUp {
    from { 
      opacity: 0;
      transform: translateY(20px);
    }
    to { 
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes slideDown {
    from { 
      opacity: 0;
      transform: translateY(-20px);
    }
    to { 
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes zoomIn {
    from { 
      opacity: 0;
      transform: scale(0.9);
    }
    to { 
      opacity: 1;
      transform: scale(1);
    }
  }

  /* Vertical layout styles */
  .qb-vertical-questions {
    display: block;
    width: 100%;
  }

  .qb-vertical-questions .qb-question-block:not(:last-child) {
    margin-bottom: 30px;
    padding: 20px;
    border-bottom: 1px dashed #eee;
}

/* Style the last child differently if needed */
.qb-vertical-questions .qb-question-block:last-child {
    margin-bottom: 0;
    padding-bottom: 20px;

}

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .qb-vertical-questions {
        padding: 10px;
    }
    
    .qb-question-block {
        padding: 15px 10px;
    }
  }
  