  .accordion .card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.2s ease;
  }
  
  .accordion .card + .card {
    margin-top: 0.5rem;
  }
  
  /* Highlight border on hover over the entire card header */
  .accordion .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease, border-bottom-color 0.2s ease;
  }
  
  .accordion .card-header:hover {
    background-color: #e9ecef;
    border-bottom-color: #cfcfcf;
  }
  
  .accordion .btn-link {
    color: #007bff;
    font-weight: 500;
    text-decoration: none;
    width: 100%;
    text-align: left;
  }
  
  .accordion .btn-link:hover {
    text-decoration: none;
    color: #0056b3;
  }
  
  .btn-add-faq {
    background-color: #0069d9;
    border-color: #0062cc;
    color: #fff;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }
  
  .btn-add-faq:hover {
    background-color: #0056b3;
    border-color: #004085;
    color: #fff;
  }
  
  .accordion .btn-outline-secondary,
  .accordion .btn-outline-danger {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
  }
  
  /* Add spacing between the question text and staff buttons */
  .accordion .card-header .btn-sm {
    margin-left: 0.5rem;
  }
  
  /* Style the answer area */
  .accordion .card-body {
    background-color: #fff;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 1rem;
  }
  
  /* Add a subtle line between question and answer */
  .accordion .collapse + .card-body {
    border-top: 1px solid #e0e0e0;
  }
  
  .accordion p.text-muted {
    text-align: center;
    margin: 2rem 0;
    font-style: italic;
  }
  
  .container.mt-5 {
    max-width: 800px;
  }

  /* Style for the delete confirmation card */
.card {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card.shadow-sm {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem;
  text-align: center;
}

.card-header.bg-danger {
  background-color: #dc3545; 
  color: #fff;
}

.card-body {
  background-color: #fff;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 1.5rem;
  text-align: center;
}

.card-body p {
  color: #333; 
}

/* Buttons inside the card */
.card-body .btn {
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  margin: 0.5rem;
}

.card-body .btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
}

.card-body .btn-danger:hover {
  background-color: #c82333;
  border-color: #bd2130;
}

.card-body .btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
}

.card-body .btn-secondary:hover {
  background-color: #5a6268;
  border-color: #545b62;
}
  