          <div class="bg-white dark:bg-gray-800 rounded-lg shadow">
            <div class="p-6">
              <h2 class="text-xl font-semibold mb-4">Available Groups</h2>
              {% if study_groups %}
                <div class="space-y-4">
                  {% for group in study_groups %}
                    <div class="border dark:border-gray-700 rounded-lg p-4">
                      <div class="flex justify-between items-start">
                        <div>
                          <h3 class="