/* Add these styles to your schedule-page.scss or create a new file */

.compact-course-card {
  background-color: var(--colour-neutral-1100);
  border-radius: 0.35rem;
  overflow: hidden;
  margin-bottom: 0.5rem;

  .compact-course-header {
    background-color: var(--colour-neutral-1000);
    padding: 0.3rem 0.5rem;
    border-bottom: 1px solid var(--colour-neutral-900);

    .course-code {
      font-weight: 600;
      // font-size: 0.85rem;
      color: var(--colour-sosy-green-500);
    }
  }

  .compact-section-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0.5rem;
    border-bottom: 1px solid var(--colour-neutral-1000);

    &:last-child {
      border-bottom: none;
    }

    .compact-section-info {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      width: 100%;

      .section-code {
        font-weight: 500;
        min-width: 2.5rem;
        //   font-size: 0.8rem;
      }

      .class-number {
        color: var(--colour-neutral-400);
        //   font-size: 0.75rem;
        min-width: 3rem;
      }

      .section-details {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        //   font-size: 0.75rem;
        color: var(--colour-neutral-300);

        .instructor,
        .location {
          display: flex;
          align-items: center;
          gap: 0.25rem;

          svg {
            color: var(--colour-sosy-green-600);
            //   font-size: 0.85rem;
          }
        }
      }
    }

    .remove-btn {
      background: none;
      border: none;
      color: var(--colour-neutral-600);
      cursor: pointer;
      padding: 0.15rem;
      font-size: 1rem;
      display: flex;
      align-items: center;
      border-radius: 50%;

      &:hover {
        color: var(--colour-neutral-000);
        background-color: var(--colour-neutral-900);
      }
    }
  }
}

/* Update the selected-courses container styles */
.schedule-section .selected-courses {
  .section-title {
    margin-bottom: 0.5rem;
    font-size: 1rem;
  }

  &__items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Reduced gap for more compact layout */
  }
}
