.calendar-list {
  padding: 0.5rem 0.75rem;

  &__section {
    margin-bottom: 1rem;
  }

  &__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
  }

  &__section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--c--theme--colors--greyscale-600);
    text-transform: uppercase;
    letter-spacing: 0.025em;
  }

  &__add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    color: var(--c--theme--colors--greyscale-600);
    transition: background-color 0.15s, color 0.15s;

    &:hover {
      background-color: var(--c--theme--colors--greyscale-100);
      color: var(--c--theme--colors--primary-500);
    }

    .material-icons {
      font-size: 1.125rem;
    }
  }

  &__items {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  &__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.25rem;
    border-radius: 4px;
    transition: background-color 0.15s;

    &:hover {
      background-color: var(--c--theme--colors--greyscale-50);
    }

    // Override Cunningham checkbox styles for compact display
    .c__checkbox {
      margin: 0;
    }

    .c__checkbox__multi-wrapper {
      gap: 0;
    }
  }

  &__color {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 2px;
    flex-shrink: 0;
  }

  &__name {
    flex: 1;
    font-size: 0.875rem;
    color: var(--c--theme--colors--greyscale-800);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &__badge {
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
    background-color: var(--c--theme--colors--greyscale-100);
    color: var(--c--theme--colors--greyscale-600);
    border-radius: 0.75rem;
    text-transform: uppercase;
    font-weight: 500;
  }
}
