.card {
      margin-bottom: 1rem;
      transition: transform 0.2s;
    }
    .card:hover {
      transform: translateY(-5px);
    }
    .question-container {
      border: 1px solid #dee2e6;
      border-radius: 5px;
      padding: 15px;
      margin-bottom: 20px;
      background-color: #f8f9fa;
      position: relative;
    }
    .remove-question {
      position: absolute;
      top: 10px;
      right: 10px;
      color: #dc3545;
      cursor: pointer;
    }
    #loadingDrafts {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .toast-container {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1100;
    }
    .math-toolbar {
      display: flex;
      gap: 5px;
      margin-bottom: 10px;
      flex-wrap: wrap;
    }
    .math-toolbar button {
      font-size: 0.8rem;
      padding: 0.25rem 0.5rem;
    }
    .math-preview {
      background-color: white;
      padding: 10px;
      border-radius: 5px;
      border: 1px solid #dee2e6;
      margin-bottom: 10px;
      min-height: 50px;
    }
        /* Navbar styles */
    .navbar {
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    .navbar-brand {
      font-weight: 600;
    }
    .dropdown-menu {
      min-width: 250px;
    }
    .form-check-input:checked {
      background-color: #0d6efd;
      border-color: #0d6efd;
    }
    
    .user-info {
      display: flex;
      justify-content: flex-end;
      margin-bottom: 1rem;
    }
    .user-info {
      display: flex;
      justify-content: flex-end;
      margin-bottom: 1rem;
    }
    .user-info .badge {
      font-size: 0.9rem;
      padding: 0.5rem;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }
    #verificationModal .modal-header {
      background-color: #ffc107;
      color: #000;
    }
    .option-group {
      border: 1px solid #eee;
      padding: 10px;
      border-radius: 5px;
      margin-bottom: 10px;
    }
    .option-preview {
      background-color: white;
      padding: 8px;
      border-radius: 5px;
      border: 1px solid #dee2e6;
      margin-bottom: 5px;
      min-height: 30px;
      font-size: 0.9rem;
    }
    /* Style untuk toggle switch */
.form-switch .form-check-input {
  width: 3em;
  height: 1.5em;
  margin-left: 0;
}

.dropdown-menu .form-check-input {
  margin-right: 0;
}

   /* Tambahkan ini untuk mencegah getar */
.math-preview, .option-preview {
  overflow: hidden;
  min-height: 50px; /* Sesuaikan dengan kebutuhan */
  contain: content; /* Membatasi area render */
  will-change: contents; /* Optimasi performa */
}

/* Untuk modal preview */
.modal-body {
  overflow-y: auto;
  overscroll-behavior-y: contain;
}
/* Style untuk dropdown subscription */
.dropdown-header {
  font-size: 0.75rem;
  color: #6c757d;
  text-transform: uppercase;
  font-weight: 600;
}

.dropdown-menu .form-check-label small {
  font-size: 0.75rem;
  line-height: 1.2;


  
}