.textarea1 {
    background-color: #383c64;
    resize: none;
  }
  
  .scroll {
    overflow-y: auto;
  }
  
  .vertical-center {
    min-height: 100%;  /* Fallback for browsers do NOT support vh unit */
    min-height: 100vh; /* These two lines are counted as one :-)       */
  
    display: flex;
    align-items: center;
  }
  
  .custom-sticky-offset {
    /* Adjust '56px' to match the actual height of your navbar */
    top: 56px; 
    z-index: 1010; /* Ensures it stays below the navbar dropdowns */
    margin-top: 24px;
  }

  .navbar-custom {
    background-color: #dbdcdc;
  }

  .bg-image {
    background-image: url('./images/bg.jpg');
    
    /* Center the image */
    background-position: center; 
    
    /* Do not repeat the image */
    background-repeat: no-repeat; 
    
    /* Scale the image to cover the entire screen */
    background-size: cover; 
    
    /* Fix the background so it doesn't scroll with the content */
    background-attachment: fixed; 
}

.question-row {
  border-bottom: 3px solid #dee2e6;
  padding-bottom: 1rem;
  padding-top: 1rem;
}

.question-row:nth-child(even) {
  background-color: #f8f8f8;
}

.question-row:nth-child(odd) {
  background-color: #ffffff;
}

.question-row:last-child {
  border-bottom: none;
}

.index-badge {
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  min-width: 2rem;
  text-align: center;
}

.move-up-btn,
.move-down-btn {
  min-width: 2rem;
}

@keyframes fadeInKeyframes {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fadeIn {
  animation: fadeInKeyframes 0.5s ease-out forwards;
}

@media (max-width: 768px) {
  .question-row {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .col-md-1 {
    margin-bottom: 0.5rem;
  }
}